{
  "resourceType": "StructureDefinition",
  "id": "PLMsimEndpoint",
  "url": "https://msim.malopolska.pl/fhir/StructureDefinition/PLMSIMEndpoint",
  "version": "0.0.1",
  "name": "PLMsimEndpoint",
  "status": "draft",
  "date": "2022-03-22",
  "fhirVersion": "4.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Endpoint",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Endpoint",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Endpoint",
        "path": "Endpoint",
        "short": "Punkt dostępowy"
      },
      {
        "id": "Endpoint.identifier",
        "path": "Endpoint.identifier",
        "short": "Zewnętrzne identyfikatory zasobu",
        "min": 1
      },
      {
        "id": "Endpoint.identifier.use",
        "path": "Endpoint.identifier.use",
        "max": "0"
      },
      {
        "id": "Endpoint.identifier.code",
        "path": "Endpoint.identifier.code",
        "max": "0"
      },
      {
        "id": "Endpoint.identifier.type",
        "path": "Endpoint.identifier.type",
        "max": "0"
      },
      {
        "id": "Endpoint.identifier.period",
        "path": "Endpoint.identifier.period",
        "max": "0"
      },
      {
        "id": "Endpoint.identifier.assigner",
        "path": "Endpoint.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Endpoint.identifier.system",
        "path": "Endpoint.identifier.system",
        "short": "System identyfikacji",
        "min": 1
      },
      {
        "id": "Endpoint.identifier.value",
        "path": "Endpoint.identifier.value",
        "short": "Id",
        "min": 1
      },
      {
        "id": "Endpoint.connectionType",
        "path": "Endpoint.connectionType",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            },
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open"
        },
        "short": "Typ połączenia",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Endpoint.connectionType:iheXds",
        "path": "Endpoint.connectionType",
        "sliceName": "iheXds",
        "short": "IHE XDS Endpoint",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Endpoint.connectionType:iheXds.system",
        "path": "Endpoint.connectionType.system",
        "short": "Stała: http://terminology.hl7.org/CodeSystem/endpoint-connection-type",
        "min": 1,
        "fixedUri": "http://terminology.hl7.org/CodeSystem/endpoint-connection-type"
      },
      {
        "id": "Endpoint.connectionType:iheXds.version",
        "path": "Endpoint.connectionType.version",
        "max": "0"
      },
      {
        "id": "Endpoint.connectionType:iheXds.code",
        "path": "Endpoint.connectionType.code",
        "short": "Stała: ihe-xds",
        "min": 1,
        "fixedCode": "ihe-xds"
      },
      {
        "id": "Endpoint.connectionType:iheXds.display",
        "path": "Endpoint.connectionType.display",
        "max": "0"
      },
      {
        "id": "Endpoint.connectionType:iheXds.userSelected",
        "path": "Endpoint.connectionType.userSelected",
        "max": "0"
      },
      {
        "id": "Endpoint.connectionType:dicomWadoRs",
        "path": "Endpoint.connectionType",
        "sliceName": "dicomWadoRs",
        "short": "DICOM WADO-RS Endpoint",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Endpoint.connectionType:dicomWadoRs.system",
        "path": "Endpoint.connectionType.system",
        "short": "Stała: http://terminology.hl7.org/CodeSystem/endpoint-connection-type",
        "min": 1,
        "fixedUri": "http://terminology.hl7.org/CodeSystem/endpoint-connection-type"
      },
      {
        "id": "Endpoint.connectionType:dicomWadoRs.version",
        "path": "Endpoint.connectionType.version",
        "max": "0"
      },
      {
        "id": "Endpoint.connectionType:dicomWadoRs.code",
        "path": "Endpoint.connectionType.code",
        "short": "Stała: dicom-wado-rs",
        "min": 1,
        "fixedCode": "dicom-wado-rs"
      },
      {
        "id": "Endpoint.connectionType:dicomWadoRs.userSelected",
        "path": "Endpoint.connectionType.userSelected",
        "max": "0"
      },
      {
        "id": "Endpoint.connectionType:dicomWadoRs.display",
        "path": "Endpoint.connectionType.display",
        "max": "0"
      },
      {
        "id": "Endpoint.connectionType:dicomWadoUri",
        "path": "Endpoint.connectionType",
        "sliceName": "dicomWadoUri",
        "short": "DICOM WADO-URI Endpoint",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Endpoint.connectionType:dicomWadoUri.system",
        "path": "Endpoint.connectionType.system",
        "short": "Stała: http://terminology.hl7.org/CodeSystem/endpoint-connection-type",
        "min": 1,
        "fixedUri": "http://terminology.hl7.org/CodeSystem/endpoint-connection-type"
      },
      {
        "id": "Endpoint.connectionType:dicomWadoUri.version",
        "path": "Endpoint.connectionType.version",
        "max": "0"
      },
      {
        "id": "Endpoint.connectionType:dicomWadoUri.code",
        "path": "Endpoint.connectionType.code",
        "short": "Stała: dicom-wado-uri",
        "min": 1,
        "fixedCode": "dicom-wado-uri"
      },
      {
        "id": "Endpoint.connectionType:dicomWadoUri.userSelected",
        "path": "Endpoint.connectionType.userSelected",
        "max": "0"
      },
      {
        "id": "Endpoint.connectionType:dicomWadoUri.display",
        "path": "Endpoint.connectionType.display",
        "max": "0"
      },
      {
        "id": "Endpoint.name",
        "path": "Endpoint.name",
        "short": "Nazwa",
        "min": 1
      },
      {
        "id": "Endpoint.managingOrganization",
        "path": "Endpoint.managingOrganization",
        "max": "0"
      },
      {
        "id": "Endpoint.contact",
        "path": "Endpoint.contact",
        "max": "0"
      },
      {
        "id": "Endpoint.period",
        "path": "Endpoint.period",
        "max": "0"
      },
      {
        "id": "Endpoint.payloadType",
        "path": "Endpoint.payloadType",
        "short": "Typ zawartości",
        "binding": {
          "strength": "required",
          "valueSetUnknownType_StructureDefinition.differential.element[32].binding.valueSet": "https://msim.malopolska.pl/fhir/ValueSet/EndpointPayloadType"
        }
      },
      {
        "id": "Endpoint.payloadMimeType",
        "path": "Endpoint.payloadMimeType",
        "short": "MIME type",
        "max": "1"
      },
      {
        "id": "Endpoint.address",
        "path": "Endpoint.address",
        "short": "Bazowy adres usługi"
      },
      {
        "id": "Endpoint.header",
        "path": "Endpoint.header",
        "max": "0"
      }
    ]
  }
}