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
When nphies receives a response message back in the same communication session as it sends a request message to an insurer or TPA, if the response message fails validation then nphies will queue an Error Notice for the insurer or TPA to advise them of the error(s) and provide message identifiers (MessageHeader.id) to assist the insurer or TPA in determining the issue(s).
This is a REAL TIME use case. If nphies is unable to connect with or exchange the message with the insurer or TPA then it will try again later.
The key resources for the message are provided below and all require nphies-profiled resources as provided in the Artifacts. Note: the MessageHeader resource must be the first .entry in the bundle and any other resources may follow in any order.
The Message-Header Error-Notice profile contains one or both of two key extensions:
These message identifers are provided to aid the insurer, or TPA, in identifying which message response was invalid so that they may amend their system and send a new valid response to the request message to nphies.
An Error Notice identifies the exchange in which an invalid response was provided by the insurer or TPA through the provision of one or more of the originalRequest or originalResponse extensions containing the identifiers (MessageHeader.id) for the respective message bundles. Upon receipt the insurer or TPA SHALL evaluate the notice and return an Acknowledgement Message with a MessageHeader.response.identifier containing the id of the Error-Notice Message and either:
Example | Description |
---|---|
Example #1 Error Notice | Error Notice regarding errors found in a response message. |
Example #1 Acknowledgement | An Acknowledgement response responding to Error Notice #1 indicating the error notice was received and understood. |
Example | Description |
---|---|
originalRequest | Contains the identifier (MessageHeader.id)of the request message. |
originalResponse | Contains the identifier (MessageHeader.id) of the response message. |
If nphies detects errors in the request message such that the request cannot be processed then the response message will contain an OperationOutcome resource rather than a business-level Status Response resource. Otherwise if nphies detects errors within the request it will return a Status Response with errors (Task.output.type = ‘error’) and an extension indicating where the error occurred.
Like all other response messages the provider receives from nphies, if there are other messages queued at nphies which have not been delivered to the provider then this will be reflected in the presence of a MessageHeader.meta.tag.