<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="pt-lm-Endpoint" />
  <text>
    <status value="empty" />
    <div xmlns="http://www.w3.org/1999/xhtml">No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.</div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
    <valueCode value="can-be-target" />
  </extension>
  <url value="http://medmij.nl/fhir/StructureDefinition/pt-lm-Endpoint" />
  <name value="PtLmEndpoint" />
  <title value="Endpoint" />
  <status value="draft" />
  <publisher value="MedMij" />
  <contact>
    <name value="MedMij" />
    <telecom>
      <system value="email" />
      <value value="info@medmij.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Technical FHIR REST endpoint of a source system (XIS), used by a Task to retrieve and update task data and the required context for the Provider Tasks use case." />
  <purpose value="This LogicalModel represents the Endpoint building block for patient use cases in the context of the data service Provider Tasks (Aanbiedertaken)." />
  <copyright value="Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="pt-dataset-100-alpha1-20260511" />
    <name value="Dataset Aanbiedertaken MedMij 1.0.0-alpha.2 20260511" />
  </mapping>
  <kind value="logical" />
  <abstract value="false" />
  <type value="http://medmij.nl/fhir/StructureDefinition/pt-lm-Endpoint" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <differential>
    <element id="pt-lm-Endpoint">
      <path value="pt-lm-Endpoint" />
      <short value="Endpoint" />
      <definition value="Technical FHIR REST endpoint of a source system (XIS), used by a Task to retrieve and update task data and the required context for the Provider Tasks use case." />
      <alias value="Endpoint" />
      <mapping>
        <identity value="pt-dataset-100-alpha1-20260511" />
        <map value="pt-dataelement-25" />
        <comment value="Endpoint" />
      </mapping>
    </element>
    <element id="pt-lm-Endpoint.ClientID">
      <path value="pt-lm-Endpoint.ClientID" />
      <short value="Client ID" />
      <definition value="The client ID used as the audience input parameter in the token exchange request between PHR and the DVA authorisation server." />
      <alias value="ClientID" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="pt-dataset-100-alpha1-20260511" />
        <map value="pt-dataelement-26" />
        <comment value="ClientID" />
      </mapping>
    </element>
    <element id="pt-lm-Endpoint.Status">
      <path value="pt-lm-Endpoint.Status" />
      <short value="Status" />
      <definition value="The operational status of the endpoint (e.g., active, suspended, error, off, entered-in-error)." />
      <alias value="Status" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="http://hl7.org/fhir/ValueSet/endpoint-status" />
      </binding>
      <mapping>
        <identity value="pt-dataset-100-alpha1-20260511" />
        <map value="pt-dataelement-27" />
        <comment value="Status" />
      </mapping>
    </element>
    <element id="pt-lm-Endpoint.ConnectionType">
      <path value="pt-lm-Endpoint.ConnectionType" />
      <short value="Connection type" />
      <definition value="Protocol/profile used to communicate with the endpoint." />
      <alias value="Verbindingstype" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Coding" />
      </type>
      <binding>
        <strength value="extensible" />
        <valueSet value="http://vzvz.nl/fhir/ValueSet/endpoint-connection-type" />
      </binding>
      <mapping>
        <identity value="pt-dataset-100-alpha1-20260511" />
        <map value="pt-dataelement-28" />
        <comment value="ConnectionType" />
      </mapping>
    </element>
    <element id="pt-lm-Endpoint.ManagingOrganization">
      <path value="pt-lm-Endpoint.ManagingOrganization" />
      <short value="Managing organization" />
      <definition value="Organization that manages this endpoint (and not necessarily the technical infrastructure hosting it)." />
      <alias value="BeherendeOrganisatie" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
        <targetProfile value="http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthcareProvider-Organization" />
      </type>
      <mapping>
        <identity value="pt-dataset-100-alpha1-20260511" />
        <map value="pt-dataelement-29" />
        <comment value="ManagingOrganization" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>