{
  "resourceType": "NamingSystem",
  "id": "NexusNoteDraftIdNS",
  "name": "NexusNoteDraftId",
  "status": "draft",
  "kind": "identifier",
  "date": "2026-09-04",
  "publisher": "WELLSTAR Technologies Corp.",
  "responsible": "Nexus AI Harness -- the draft-note handoff owns the value shape",
  "description": "Identifies one AI-drafted encounter-note handoff. The preliminary Composition carrying the draft and the Task asking a clinician to review and sign it both carry an identifier under this system with the same value, which is what makes them a pair to a reader; the transaction that writes them uses it as the conditional-create precondition, so a retried write converges on the pair a prior attempt already created rather than duplicating it. The value names the DICTATION, not what the note is about, and a fresh value is minted per handoff because a new note per dictation is intended behaviour rather than a duplicate to be suppressed. That is why these identifiers are NOT in NamingSystem/nexus-harness-key, whose contract requires a value derived from what the resource is about so that re-running the producing capability converges on the same resource: a per-dictation value there would defeat the duplicate suppression that namespace exists to provide. Values are opaque and MUST NOT be parsed. MIGRATION: Nexus EMR writes this system today at https://fhir.apps.health/nexus-harness/business-id -- the correct host, but with no artifact-type segment, so it is not resolvable as a declared artifact. It is live in code and in the stored identifier.system values that surface has written, and is under migration to the URI declared here. Write the URI declared here; expect both until the migration completes. An earlier revision of this description named https://nexus.awaremd.com/note-draft-id instead; that address was superseded the same day this namespace was declared and nothing has written it since.",
  "uniqueId": [
    {
      "type": "uri",
      "value": "https://fhir.apps.health/NamingSystem/nexus-note-draft-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": "https://fhir.apps.health/nexus-harness/business-id",
      "preferred": false,
      "comment": "The pre-migration address: the correct host with no artifact-type segment, so it resolves to no declared artifact. It is live in code and in the stored `identifier.system` values that surface has written, and is under migration to the preferred URI above. Match it literally when reading; do not write it."
    }
  ]
}
