{
  "resourceType": "StructureDefinition",
  "id": "pt-Endpoint",
  "url": "http://medmij.nl/fhir/StructureDefinition/pt-Endpoint",
  "name": "PtEndpoint",
  "title": "pt Endpoint",
  "status": "draft",
  "publisher": "MedMij",
  "contact": [
    {
      "name": "MedMij",
      "telecom": [
        {
          "system": "email",
          "value": "info@medmij.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "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": "This Endpoint resource represents the Endpoint building block for patient use cases in the context of the data service Provider Tasks (Aanbiedertaken).",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Endpoint",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Endpoint",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Endpoint.extension",
        "path": "Endpoint.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Endpoint.extension:clientId",
        "path": "Endpoint.extension",
        "sliceName": "clientId",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://medmij.nl/fhir/StructureDefinition/ext-Endpoint.ClientID"
            ]
          }
        ]
      },
      {
        "id": "Endpoint.status",
        "path": "Endpoint.status",
        "short": "Status",
        "definition": "The operational status of the endpoint (e.g., active, suspended, error, off, entered-in-error)."
      },
      {
        "id": "Endpoint.connectionType",
        "path": "Endpoint.connectionType",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://vzvz.nl/fhir/ValueSet/endpoint-connection-type"
        }
      },
      {
        "id": "Endpoint.managingOrganization",
        "path": "Endpoint.managingOrganization",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization",
              "http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthcareProvider-Organization"
            ]
          }
        ]
      }
    ]
  }
}