{
  "resourceType": "StructureDefinition",
  "id": "HiisDeviceDataRecorderEndpoint",
  "url": "https://fhir.bfarm.de/StructureDefinition/HiisDeviceDataRecorderEndpoint",
  "version": "3.1.0-TEST",
  "name": "HiisDeviceDataRecorderEndpoint",
  "title": "HiisDeviceDataRecorderEndpoint",
  "status": "draft",
  "description": "Definition of an endpoint for a medical aid interface (DeviceDataRecorder) in HIIS.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Endpoint",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Endpoint",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Endpoint",
        "path": "Endpoint",
        "short": "Medical Aid Interface Endpoint",
        "definition": "Defines an endpoint for communication with a medical aid interface.",
        "mustSupport": true
      },
      {
        "id": "Endpoint.status",
        "path": "Endpoint.status",
        "short": "Status",
        "definition": "The status of the endpoint (always active).",
        "fixedCode": "active",
        "mustSupport": true
      },
      {
        "id": "Endpoint.connectionType",
        "path": "Endpoint.connectionType",
        "short": "Connection Type",
        "definition": "The type of connection (hl7-fhir-rest or oauth-authz-server).",
        "type": [
          {
            "code": "Coding",
            "profile": [
              "https://fhir.bfarm.de/StructureDefinition/CodingHiisEndpointConnectionType"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Endpoint.name",
        "path": "Endpoint.name",
        "short": "Domain Name",
        "definition": "The domain name of the endpoint.",
        "mustSupport": true
      },
      {
        "id": "Endpoint.payloadType",
        "path": "Endpoint.payloadType",
        "short": "Data Type",
        "definition": "The data type transmitted over this endpoint.",
        "mustSupport": true
      },
      {
        "id": "Endpoint.payloadType.coding",
        "path": "Endpoint.payloadType.coding",
        "mustSupport": true
      },
      {
        "id": "Endpoint.payloadType.coding.system",
        "path": "Endpoint.payloadType.coding.system",
        "fixedUri": "http://terminology.hl7.org/CodeSystem/endpoint-payload-type",
        "mustSupport": true
      },
      {
        "id": "Endpoint.payloadType.coding.code",
        "path": "Endpoint.payloadType.coding.code",
        "fixedCode": "any",
        "mustSupport": true
      },
      {
        "id": "Endpoint.address",
        "path": "Endpoint.address",
        "short": "Base URL",
        "definition": "The base URL of the endpoint.",
        "mustSupport": true
      }
    ]
  }
}