{
  "resourceType": "NamingSystem",
  "id": "CareElementTargetNS",
  "name": "CareElementTarget",
  "status": "draft",
  "kind": "identifier",
  "date": "2026-09-04",
  "publisher": "WELLSTAR Technologies Corp.",
  "responsible": "Chronic-care package content -- element ids and merge keys are declared by the packages, not by this specification",
  "description": "Identifies the chronic-care element whose target a `Goal` individualises, on `Goal.identifier`. The value is the element's MERGE KEY: the shared key an element declares when more than one condition package asks for it, and otherwise the element's own id. Keys are declared by the packages and never inferred -- two packages share an element because both declare the same key, not because their names read alike -- so a reader must resolve the key against the packages rather than parse it. WHY AN IDENTIFIER AND NOT JUST THE MEASURED CODE: an attestation element and a compound one have no single code to name, and two conditions asking for the same element share one merge key but not one code, so a reader resolving only by code cannot tell that one goal covers both. A goal written without this identifier is still that element's goal if `Goal.target.measure` names its code; read the identifier first and fall back to the code. THIS IS NOT THE MEASURE VOCABULARY: the code system https://fhir.apps.health/CodeSystem/nexus-care-element names an element on `Goal.target.measure` where it has no standard code, which is a different question in a different element -- do not substitute one for the other. Only a goal whose lifecycle status is `active` states a target in force; a proposed or accepted goal is a target under discussion and a stopped, completed, cancelled or rejected one has been released, returning the element to its guideline default. Compare the system exactly: a different system whose url merely contains this one would otherwise claim a patient's target. MIGRATION: Nexus EMR writes this system today as https://nexus.awaremd.com/care-element-target (FHIR-381), an address this specification does not publish. It is live in stored `Goal.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/care-element-target",
      "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://nexus.awaremd.com/care-element-target",
      "preferred": false,
      "comment": "The pre-migration address. It is live in stored `Goal.identifier.system` values and in code, and is under migration to the preferred URI above. Match it literally when reading; do not write it."
    }
  ]
}
