Integrations
Connect Referral & Prior Auth Gateway to your systems
Each integration Referral & Prior Auth Gateway supports: what flows, how fields map, and the steps to set it up.
Applies to Referral & Prior Auth Gateway as it works today. Moraph updates the platform continuously, and this page is reviewed when it changes.
On this page
How Referral & Prior Auth Gateway connects to your other systems. Every connection is confirmed during discovery and specified in the design before it is built.
EHR orders and referrals
Referrals posted through the Work API by your interface engine, which does any HL7 v2 or FHIR translation; Moraph has no HL7 or FHIR interface of its own.
- What flows: In: patient identifier, payer, service and diagnosis codes, and referring provider.
- Mapping: Patient identifier, referring provider and practice, specialty, service and diagnosis codes, urgency, payer and plan map to Referral fields. Moraph has no HL7 v2 or FHIR interface of its own; your interface engine does the translation. Send referring_provider_npi and appointment_provider_npi where your EHR has them: they are checked for a valid check digit and matched against exemptions a payer rule lists by NPI.
Steps to set it up
Agree with your EHR or interface team which referrals are sent.
Create a Work API key with records:write.
Post each referral as a Referral record with the patient identifier, referring provider, specialty, service code, urgency and payer.
Check referrals appear on the worklist with the right payer rule.
EHR documentation
Clinical notes and results attached to the request by staff or the clinician's team; nothing is retrieved from the EHR.
- What flows: In: files attached for the documents named in the payer's requirements.
- Mapping: Through the Work API, CSV import or the product’s exports, as agreed during implementation; the product doesn’t connect to the other system itself.
Steps to set it up
Agree with Moraph which records and fields move, and in which direction.
Create a Work API key with only the scopes needed, or prepare the CSV layout.
Test with sample records before go-live.
EHR write-back
Your interface engine reads authorization numbers, dates and status from the referral through the Work API and copies them to the EHR.
- What flows: Out: authorization status, number, dates and units.
- Mapping: When a request is approved, Moraph writes Authorization number, Authorized from and Authorized to on the referral, so your systems read one record. Moraph doesn’t write into the EHR itself.
Steps to set it up
Have your interface engine read referrals through the Work API (GET /records?updated_since=).
Copy the authorization number and authorized dates to the EHR referral or order.
Clearinghouse
Your clearinghouse integration can post eligibility results and payer decisions through the Work API; Moraph doesn't send X12 transactions.
- What flows: In: eligibility results and payer statuses, through the Work API.
- Mapping: Through the Work API, CSV import or the product’s exports, as agreed during implementation; the product doesn’t connect to the other system itself.
Steps to set it up
Agree with Moraph which records and fields move, and in which direction.
Create a Work API key with only the scopes needed, or prepare the CSV layout.
Test with sample records before go-live.
Payer APIs
Where your systems use a payer's prior authorization API, its decisions can be posted to the request through the Work API; Moraph doesn't call payer APIs.
- What flows: In: payer status, authorization number, dates and denial reason.
- Mapping: Through the Work API, CSV import or the product’s exports, as agreed during implementation; the product doesn’t connect to the other system itself.
Steps to set it up
Agree with Moraph which records and fields move, and in which direction.
Create a Work API key with only the scopes needed, or prepare the CSV layout.
Test with sample records before go-live.
Scheduling
Appointment dates entered by staff or sent through the Work API from your scheduling system, so work is sorted by when the patient is due.
- What flows: In: appointment date, location and provider.
- Mapping: Appointment date, location and provider and Service performed on map to Referral fields; a referral can be marked Scheduled only inside an approved authorization’s valid dates (and at its approved site and provider, by default), and a performed date outside them raises a task.
Steps to set it up
Agree how appointment dates reach the referral: staff entry or a Work API update from your scheduling system.
Update the referral’s appointment date, location and provider.
Send the service performed date from your EHR once the service is given.
Sign-in
Staff sign in with their Moraph account, using email and password and, optionally, two-step verification. Sign-in through your own identity provider (SAML or OpenID Connect) is not offered.
- What flows: None: accounts are kept in Moraph
- Mapping: Agreed in the integration design.
Steps to set it up
Agree the scope of the connection with Moraph during design.
Provide access to the system being connected.
Test the connection in a non-production environment before go-live.
Work API
Worklist and outcome data available to your reporting and analytics tools through the Moraph Work API.
- What flows: Out: referral, request and decision records.
- Mapping: Through the Work API, CSV import or the product’s exports, as agreed during implementation; the product doesn’t connect to the other system itself.
Steps to set it up
Agree with Moraph which records and fields move, and in which direction.
Create a Work API key with only the scopes needed, or prepare the CSV layout.
Test with sample records before go-live.
Using the Work API
Systems that aren't covered above can read and write Referral & Prior Auth Gateway records through the Sign in to read Work API. For example, to create a referral:
POST https://apps.moraph.com/api/v1/records
Authorization: Bearer mrph_…
Content-Type: application/json
Idempotency-Key: 7f3c2a90-example
{ "type": "referral", "title": "Example title", "fields": { "patient_identifier": "…" } }Field keys are listed in the Sign in to read workspace reference. Request formats, paging and errors are in the Sign in to read Work API reference.
Was this page helpful?
Report a problem with this page
Need help with your own setup rather than this page? Raise a support ticket.