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 workflow | FHIR operation | Result |
|---|---|---|
| Verify a recorded national identifier | POST /fhir/Patient/$verify-national-identity | Governed verification Parameters |
| Read an existing verification | POST /fhir/Patient/$verification-status | The original scoped result |
| Report a birth or death | POST /fhir/$submit-civil-event | FHIR Task receipt |
| Submit an authorised correction, invalidation or reversal | POST /fhir/$submit-civil-event | FHIR Task linked to the original event |
| Read civil-event status | GET /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.
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 state | AMCDR behaviour | Operator action |
|---|---|---|
| ACTIVE | Requests may be prepared and dispatched when local delivery is enabled. | Monitor scope, certificate and token validity. |
| SUSPENDED | New dispatch fails closed for that facility; other active facility assignments remain available. | Investigate the reason and wait for reviewed reactivation. |
| REVOKED | The assignment is not usable and must not be selected for new work. | Disable the corresponding local configuration and rotate or remove its credentials. |
| EXPIRED | The 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
- Register the application and each required facility through the Health Connector onboarding process.
- Receive the assigned HTTPS gateway, application identifier, organisation and facility identifiers, region, issuer, scopes, mTLS trust material and credential references through the protected channel.
- Create one AMCDR connector configuration in the intended tenant, organisation, environment and facility context.
- Map each accountable AMCDR operator to the registered operator identifier. Do not use a shared credential to impersonate different users.
- Validate TLS, token audience and claims, FHIR conformance, denial paths, idempotent replay and recovery from an unknown outcome.
- 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
- AMCDR commits the exact request, digest, correlation identifier and stable idempotency key before network transmission.
- A timeout or interrupted response is an unknown outcome. Preserve the original key and payload and reconcile that transaction.
- Do not rotate keys, switch facilities or create another verification merely to obtain a response.
- Repeated preparation of the same source action resolves to the same submission. A changed frozen payload is rejected for review.
- A connector receipt proves processing only; it is not itself an identity match or civil certificate.
Security and data protection
- TLS is mandatory and mutual TLS authenticates the registered application connection.
- OAuth 2.0/OIDC tokens are short lived, audience restricted and limited to approved scopes.
- Application, organisation, facility, region, purpose, lawful basis and operator claims are checked against the request.
- Secrets remain in mounted secret files or the approved secret store; they are never returned to the browser or written to audit detail.
- Redirects, ambient proxies and arbitrary destination URLs are disabled. Response origin, media type, region, correlation and owned status routes are validated.
- Audit records contain accountable actors, scoped actions and safe result codes without copying credentials, national identifiers, biometrics or payload bodies.
- Retention, access review, incident response, backup protection and secure disposal follow the approved data-protection policy.
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.