Integration

National Health Connector

Configure AMCDR as a registered Hospital Information System for national-identifier verification and governed civil-event reporting through the Ministry FHIR R4 interface.

Connection rule

AMCDR does not connect directly to an identity authority. It sends the approved minimum FHIR payload to the assigned Health Connector gateway. Authority-specific protocols, credentials and routing remain inside the connector.

Supported workflows

HIS workflowFHIR operationResult
Verify a recorded national identifierPOST /fhir/Patient/$verify-national-identityGoverned verification Parameters
Read an existing verificationPOST /fhir/Patient/$verification-statusThe original scoped result
Report a birth or deathPOST /fhir/$submit-civil-eventFHIR Task receipt
Submit an authorised correction, invalidation or reversalPOST /fhir/$submit-civil-eventFHIR Task linked to the original event
Read civil-event statusGET /fhir/Task/{requestId}Current processing state and business status

A successful HTTP response is not enough to declare a match or legal registration. AMCDR reads the FHIR status, business status, authoritative indicator, result code, assurance, evidence source and validity period returned by the connector.

Connection and facility model

Each application identifier, organisation and facility must be registered. The identifier is an assigned registry value; no vendor prefix is imposed. One application may be authorised for several facilities, but every request carries one facility context and the signed token must contain the matching assignment.

Controlled request path
AMCDR facility contextAuthorised user and patient workflow
->
Durable outboxFrozen payload and idempotency key
->
Health ConnectorOIDC, mTLS, scope and FHIR validation
->
Approved authority routePrivate adapter and registered MISP

AMCDR stores a connector configuration within its full tenant, organisation, environment and facility scope. To use the same application registration at another authorised facility, create a separately scoped configuration using that facility's registered identifier and credential assignment.

Facility access lifecycle

Registry stateAMCDR behaviourOperator action
ACTIVERequests may be prepared and dispatched when local delivery is enabled.Monitor scope, certificate and token validity.
SUSPENDEDNew dispatch fails closed for that facility; other active facility assignments remain available.Investigate the reason and wait for reviewed reactivation.
REVOKEDThe assignment is not usable and must not be selected for new work.Disable the corresponding local configuration and rotate or remove its credentials.
EXPIREDThe time-bounded assignment is treated as inactive.Complete renewal and receive an updated assignment before re-enabling.

Suspension or revocation is enforced by the Health Connector even if a local setting remains enabled. Administrators should also disable the matching AMCDR configuration through POST /health-connector/configurations/{id}/activation so staff receive a clear local status and no unnecessary dispatch is attempted.

Configure AMCDR

  1. Register the application and each required facility through the Health Connector onboarding process.
  2. Receive the assigned HTTPS gateway, application identifier, organisation and facility identifiers, region, issuer, scopes, mTLS trust material and credential references through the protected channel.
  3. Create one AMCDR connector configuration in the intended tenant, organisation, environment and facility context.
  4. Map each accountable AMCDR operator to the registered operator identifier. Do not use a shared credential to impersonate different users.
  5. Validate TLS, token audience and claims, FHIR conformance, denial paths, idempotent replay and recovery from an unknown outcome.
  6. Enable local delivery only after the matching application and facility assignment is active.
{
  "gateway": "https://assigned-health-connector.example",
  "organization": "registered-organisation-id",
  "facility": "registered-facility-id",
  "region": "assigned-region",
  "patient_identifier_system": "urn:assigned:his:patient",
  "nin_system": "urn:assigned:national-identifier",
  "lawful_basis": "PUBLIC_TASK",
  "operators": {
    "00000000-0000-4000-8000-000000000001": "registered-operator-id"
  },
  "auth_secret_ref": "file:///run/secrets/health_connector_auth.json",
  "tls_profile_ref": "file:///run/secrets/health_connector_tls.json",
  "enabled": false
}

FHIR payload and minimisation

AMCDR exports only the fields required by the pinned consumer contract. Identity verification carries the recorded identifier and governed request context. A civil event carries an opaque local patient reference, assigned namespace, recorded name, birth date, administrative gender, event time and required relationship or change fields. It does not export clinical notes, raw biometric material, secrets or complete patient records.

{
  "resourceType": "Parameters",
  "meta": {"profile": ["urn:healthconnector:fhir:StructureDefinition:verification-request|0.1.0"]},
  "parameter": [
    {"name": "identifier", "valueIdentifier": {"system": "urn:assigned:national-identifier", "value": "<recorded identifier>"}},
    {"name": "organization", "valueIdentifier": {"system": "urn:healthconnector:organization", "value": "registered-organisation-id"}},
    {"name": "facility", "valueIdentifier": {"system": "urn:healthconnector:facility", "value": "registered-facility-id"}},
    {"name": "purpose", "valueCode": "TREATMENT"},
    {"name": "operator", "valueString": "registered-operator-id"},
    {"name": "lawful-basis", "valueCode": "PUBLIC_TASK"}
  ]
}

The application validates payloads against the pinned FHIR R4 package before transmission. Never place a national identifier in a URL, log, correlation identifier or idempotency key.

Idempotency and recovery

Security and data protection

Operational acceptance

Before enabling a facility, verify DNS and certificate names, trust chain, certificate rotation and revocation, token issuer and audience, registered identifiers, firewall egress, time synchronisation, FHIR validation, safe replay, audit export, alerting, backup restoration and failure-mode behaviour. Acceptance evidence must include success, policy denial, malformed input, authentication failure, suspension, revocation, timeout or unknown outcome, and reconciliation of the original request.

For AMCDR's broader exchange model, see Interoperability and Integration, FHIR Capability Governance, Audits and Security, and Disaster Recovery and Evidence.