National Health AuthorityNHA Docs

Command Palette

Search for a command to run...

Provider Use Cases

Cover the NHCX sandbox exit flows that a provider system must support.

A provider system must cover the flows in this page for NHCX sandbox exit. Use the FHIR bundle rules in Requests and Responses. Use Payload Code Snippets for JWE payload preparation.

Callback rule

A provider must implement each callback endpoint that receives a payer response. Decrypt a JWE payload with the provider private key. Accept a ProtocolResponse when the payer cannot process the request.

Common validation rules

RuleProvider action
FHIR profileValidate each payload against the NRCES profile.
Correlation IDUse the request API call ID as the callback correlation ID.
Receiver codeMatch the callback receiver code to the request sender code.
Error responseAccept ProtocolResponse for decryption, validation, and protocol failures.

Use cases

1. Get Participant List

ItemRequirement
API to callPOST /fetch/participants/list
API to implementNone
API ownerNHCX
BundleNone
StatusNone
Callback logicNone

2. Get Policy

ItemRequirement
API to callPOST /participant/get/policies
API to implementNone
API ownerNHCX
BundleNone
StatusNone
Callback logicNone

3. Get Public Key

ItemRequirement
API to callPOST /fetch/certs
API to implementNone
API ownerNHCX
BundleNone
StatusNone
Callback logicNone

4. Get Auth Token

ItemRequirement
API to callPOST /get/session
API to implementNone
API ownerNHCX
BundleNone
StatusNone
Callback logicNone

5. Check Coverage Eligibility

ItemRequirement
API to callPOST /v1/coverageeligibility/check
Callback API to implementPOST /v1/coverageeligibility/on_check
API ownerPayer
Request bundleCoverageEligibilityRequestBundle
Success bundleCoverageEligibilityResponseBundle
Request statusrequest.initiated
Success statusresponse.completed
Callback logicDecrypt CoverageEligibilityResponseBundle or process ProtocolResponse.

6. Request Insurance Plan Details

ItemRequirement
API to callPOST /v1/insuranceplan/request
Callback API to implementPOST /v1/insuranceplan/on_request
API ownerPayer
Request bundleTaskBundle
Success bundleInsurancePlanBundle in TaskBundle output
Request statusrequest.initiated
Success statusresponse.complete
Callback logicDecrypt the insurance plan response or process ProtocolResponse.

7. Submit Preauthorization

ItemRequirement
API to callPOST /v1/preauth/submit
Callback API to implementPOST /v1/preauth/on_submit
API ownerPayer
Request bundleClaimBundle
Success bundleClaimResponseBundle
Request statusrequest.initiated
Success statusresponse.complete
Callback logicDecrypt the adjudicated preauthorization response or process ProtocolResponse.

8. Respond to a Communication Request

ItemRequirement
API to receivePOST /v1/communication/request
Callback API to callPOST /v1/communication/on_request
Callback API ownerPayer
Response bundleTaskBundle with Communication
Success statusresponse.complete
Callback logicSend the requested attachment or send a protocol error.

9. Submit a Claim

ItemRequirement
API to callPOST /v1/claim/submit
Callback API to implementPOST /v1/claim/on_submit
API ownerPayer
Request bundleClaimBundle
Success bundleClaimResponseBundle
Request statusrequest.initiated
Success statusresponse.partial or response.complete
Callback logicDecrypt the adjudicated claim response or process ProtocolResponse.

10. Search Claim Data

ItemRequirement
API to callPOST /v1/search/submit
Callback API to implementPOST /v1/search/on_submit
API ownerPayer
Request bundleTaskBundle with task code search
Success bundleTaskBundle with ClaimResponse output
Request statusrequest.initiated
Success statusresponse.partial or response.complete
Callback logicDecrypt the search result bundle or process ProtocolResponse.

11. Acknowledge a Payment Notice

ItemRequirement
API to receivePOST /v1/paymentnotice/request
Callback API to callPOST /v1/paymentnotice/on_request
Callback API ownerPayer
Response bundleTaskBundle with Task output
Success statusresponse.complete
Callback logicSend ACKNOWLEDGED or RECEIVED in the task output.

12. Request Reprocess or Cancel

ItemRequirement
API to callPOST /v1/task/submit
Callback API to implementPOST /v1/task/on_submit
API ownerPayer
Request bundleTaskBundle
Success bundleTaskBundle with ClaimResponse output
Request statusrequest.initiated
Task codereprocess, cancel, release, or nullify
Callback logicDecrypt the task response or process ProtocolResponse.

13. Get Status

ItemRequirement
API to callPOST /v1/status
Callback API to implementPOST /v1/on_status
API ownerNHCX
Request bundleEmpty payload
Success bundleProtocol header only
Request statusrequest.initiated
Callback statusrequest.dispatched
Callback logicAccept the status callback with all protocol header attributes.

Sources

  • provider-side-use-cases.md (NHCX sandbox portal)