{
  "resourceType": "NamingSystem",
  "id": "HrmFileVersionNS",
  "name": "HrmFileVersion",
  "status": "draft",
  "kind": "identifier",
  "date": "2026-09-04",
  "publisher": "WELLSTAR Technologies Corp.",
  "responsible": "Nexus EMR (WELL Health) -- source file-format-and-version string of a report ingested from HRM",
  "description": "The file-format-and-version string of the source message, copied verbatim onto DiagnosticReport.identifier for a report ingested from Health Report Manager. THE VALUE IS OPAQUE AND MUST NOT BE PARSED: despite the name it is free text, and observed values include descriptive phrases naming neither a format nor a version. IT DOES NOT VERSION THE REPORT -- a later revision of the same report can carry the identical string; use DiagnosticReport.issued for revision order and NamingSystem/hrm-content-checksum to ask whether the content changed. It sits on identifier because it is one component of the compound test the ingest uses to recognise a report it has already filed, alongside the sending facility's report number, the effective date, the patient and the message identifier; it is not an identifier of the report and MUST NOT be used as one. Where the report content is binary and its leading bytes identify no known format, the same string is also consulted as a content-type hint -- the resulting Attachment.contentType is the reliable statement of what the attachment is, and this string is not. MIGRATION: Nexus EMR writes this system today as http://services.well.com/fhir/identifier/hrm-file-version (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-file-version",
      "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-file-version",
      "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."
    }
  ]
}
