{
  "resourceType": "StructureDefinition",
  "id": "patientnamespace-ext",
  "url": "http://fhir.xt.dev/StructureDefinition/PatientNamespace",
  "version": "1.0.0",
  "name": "PatientNamespace",
  "title": "Patient Namespace",
  "status": "active",
  "date": "2025-07-08T13:02:52.8647302+00:00",
  "publisher": "x-tention Informationstechnologie GmbH",
  "contact": [
    {
      "telecom": [
        {
          "system": "email",
          "value": "fhir.profiling@x-tention.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "When sending data to an endpoint, it might be necessary to know the target system's patient id namespace, to send it with the correct patient id. This extension carries the namespace information for a target Endpoint.",
  "copyright": "x-tention Informationstechnologie GmbH",
  "fhirVersion": "4.0.1",
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Endpoint"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://fhir.xt.dev/StructureDefinition/PatientNamespace"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "short": "Encounter Namespace OID",
        "type": [
          {
            "code": "oid"
          }
        ]
      }
    ]
  }
}