Healthcare Financial Services IG Edition 1 - Local Development build (v0.3.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
There are four patterns of message exchange used within this guide:
Where multiple constraints apply, such as claim batches where the contain message count and overall message length both apply, all constraints must be met.
The above exchange is initiated by the Provider where the key business activity occurs at the HIC/TPA.
Steps:
Exchanges Using the Full Cycle Pattern
Request Message | Response Message |
---|---|
Cancel Request | Cancel Response |
Claim Request | Claim Response |
Communication | Acknowledgement |
Eligibility Request | Eligibility Response |
Prior Authorization Request | Prior Authorization Response |
Status Request | Status Response |
The above exchange is initiated by the Provider where the key business activity occurs within nphies.
Steps:
Exchanges Using the HCP to nphies Pattern
Request Message | Response Message |
---|---|
Batch Claim Request | Batch Claim Response |
Payment Notice | Acknowledgement |
Poll Request | Poll Response |
The above exchange is initiated by the Insurer where the key business activity occurs within nphies.
Steps:
Exchanges Using the HIC to nphies Pattern
Request Message | Response Message |
---|---|
Advanced Authorization | Acknowledgement |
Claim Response (deferred) | Acknowledgement |
Communication Request | Acknowledgement |
Payment Reconciliation | Acknowledgement |
Prior Authorization Response (deferred) | Acknowledgement |
The above exchange is initiated by the Insurer where the key business activity occurs within HIC.
Steps:
Exchanges Using the HIC to nphies Pattern
Request Message | Response Message |
---|---|
Error Notice | Acknowledgement |
When an HCP has a message to send to nphies or to an HIC then the HCP shall initiate a message exchange by calling nphies’ $process-request endpoint with the message to be sent to nphies and nphies SHALL respond with a response message indicating the successful receipt of the message or a processing response or the existence of errors.
Where appropriate the HIC SHALL respond in realtime with an appropriate business response indicating errors, request message receipt or with the complete business response. When the HIC is unable to respond, if appropriate, nphies SHALL issue a message on their behalf and store and forward the request message to the HIC later.
When a HIC has a message to send to nphies or HCP that is not in immediate response to a request from nphies, e.g. deferred response to a prior authorization; deferred adjudication to a claim; or communication request; payment reconciliation, then the HIC shall initiate a message exchange by calling nphies’ $process-request end-point with the message (for example: claim-response, priorauth-response, advanced-authorization) to be sent to nphies and nphies SHALL respond with a response message indicating the successful receipt of the message or the existence of errors. If valid then nphies SHALL queue the message for later retrieval by the HCP via polling.
HICs SHALL expose a static endpoint to receive nphies messages. HICs SHALL expose one RESTful API endpoint and service to receive nphies FHIR R4 messages, for example at ‘https://InsuranceCompany.sa/api/fs/fhir/$process-message’. HICs SHALL expose another RESTful API endpoint to enable nphies to validate the HICs online availability. The HIC API SHALL do the following:
nphies provides a messaging endpoint, for example at ‘https://nphies.sa/api/fs/fhir/$process-message’. nphies API SHALL do the following:
Message Transmission in case an HCP’s connection receives a timeout or the HIC is offline:
Upon the receipt of a message, the receiving system SHALL check whether the transaction has been previously received. And if so, then the receiver SHALL send a response to the sender and in the case of nphies does not send the message on to the intended recipient. The type of the response sent by the receiver, or nphies, depends on whether the nphies system already has a response stored from either the internal message validation system or the payer-intended recipient.
Each transaction has a unique identifier on the main resource in the transaction. For example, the main or focal resource for prior authorizations and claims is the Claim resource and each Claim.identifier is required to be a unique combination of the Claim.identifier.system and the Claim.identifier.value which are both provided by the provider.
If the receiver receives a message which is an exact duplicate of a previously sent message excluding the Bundle.id, that is, the message contains the same MessageHeader.id, focal resource identifier and exact copy of the body of the message, then the message is considered a duplicate.
Bundle.id | MessageHeader.id | Resource.identifier | Outcome |
---|---|---|---|
New | New | New | OK New message |
New | New | Existing | Error Duplicate Resource.identifier |
New | Existing | New | Error Duplicate MessageHeader.id |
New | Existing | Existing | OK Duplicate message |
Existing | New | New | Error Duplicate Bundle.id |
Existing | New | Existing | Error Duplicate Bundle.id & Resource.identifer |
Existing | Existing | New | Error Duplicate Bundle.id & Messageherder.id |
Existing | Existing | Existing | OK Duplicate message |
Type of response returned:,
All participants in the exchange of messages following this guide SHALL obtain an X.509 Public Key Encryption (PKI) certificate from nphies, and renew or replace that certificate upon expiration, and all message exchanges SHALL use mutually authentication HTTPS message exchange to the nphies endpoint.
All parties SHALL safeguard the contents of messages exchanged when those messages contain Personal Identifiable Information (PII) and/or Personal Health Information (PHI). Parties SHALL also protect and secure their X.509 Certificate(s) and if a breach is suspected then to immediately report the breach and obtain and use a replacement X.509 certificate.
The nphies clearinghouse SHALL provide store and forward of messages for both HCPs and HICs to minimize the transmission management load on message senders and to support codintions where the message receiver is not directly available when a message intended for them is received by the nphies system. Not all messages are subject to store and forward. Real-time only messages such as Polling, Eligibility Check and Status Check SHALL not be stored if the responder is not currently online and an error indicating such SHALL be returned to the sender.
The nphies queue is provided for messages from and for both providers and insurers to instantiate a loosely-coupled exchange environment where senders need only confirm that they have delivered a message to nphies which SHALL then take responsibility for holding and delivering the message to the intended recipient.