{
  "resourceType": "NamingSystem",
  "id": "HrmMessageUniqueIdNS",
  "name": "HrmMessageUniqueId",
  "status": "draft",
  "kind": "identifier",
  "date": "2026-09-04",
  "publisher": "WELLSTAR Technologies Corp.",
  "responsible": "Nexus EMR (WELL Health) -- identifier system for the transport message identifier of an inbound HRM delivery",
  "description": "Identifies the Health Report Manager DELIVERY that brought a report, carried on DiagnosticReport.identifier. THIS IS A TRANSPORT IDENTIFIER, NOT A CLINICAL ONE: it names the message, not the report and not the study the report describes. The value is the message identifier stored exactly as received -- a caret-delimited composite of the shape 20190908164034725^MR12170630C^4756^MR^HREC20190908-0274^201909081640^P^^F^AT014119/19^1, stored whole, with no segment extracted and nothing normalised. EQUALITY ON THE WHOLE STRING IS NOT HOW THE INGEST COMPARES TWO OF THESE: it compares only the sixth caret-delimited segment (201909081640 in the shape above), falling back to a whole-string comparison when either value has fewer than six segments, so two deliveries differing in any other segment count as the same message. A consumer reproducing that judgement must reproduce that rule. MIGRATION: Nexus EMR writes this system today as http://services.well.com/fhir/identifier/hrm-message-unique-id (FHIR-372), an address this specification does not publish; it is live in stored Identifier.system values and in code, and is under migration to the URI declared here. Write the URI declared here; expect both until the migration completes.",
  "uniqueId": [
    {
      "type": "uri",
      "value": "https://fhir.apps.health/NamingSystem/hrm-message-unique-id",
      "preferred": true,
      "comment": "The canonical address this specification declares. Author against this one. The writer has not moved yet, so a reader must also match the address below."
    },
    {
      "type": "uri",
      "value": "http://services.well.com/fhir/identifier/hrm-message-unique-id",
      "preferred": false,
      "comment": "The pre-migration address. It is live in stored `Identifier.system` values and in code, and is under migration to the preferred URI above. Match it literally when reading; do not write it."
    }
  ]
}
