<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="patientnamespace-ext" />
  <url value="http://fhir.xt.dev/StructureDefinition/PatientNamespace" />
  <version value="1.0.0" />
  <name value="PatientNamespace" />
  <title value="Patient Namespace" />
  <status value="active" />
  <date value="2025-07-08T13:02:52.8647302+00:00" />
  <publisher value="x-tention Informationstechnologie GmbH" />
  <contact>
    <telecom>
      <system value="email" />
      <value value="fhir.profiling@x-tention.com" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="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 value="x-tention Informationstechnologie GmbH" />
  <fhirVersion value="4.0.1" />
  <kind value="complex-type" />
  <abstract value="false" />
  <context>
    <type value="element" />
    <expression value="Endpoint" />
  </context>
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension.url">
      <path value="Extension.url" />
      <fixedUri value="http://fhir.xt.dev/StructureDefinition/PatientNamespace" />
    </element>
    <element id="Extension.value[x]">
      <path value="Extension.value[x]" />
      <short value="Encounter Namespace OID" />
      <type>
        <code value="oid" />
      </type>
    </element>
  </differential>
</StructureDefinition>