{
  "resourceType": "StructureDefinition",
  "id": "PLWlkpSchedulingEndpoint",
  "meta": {
    "lastUpdated": "2019-09-17T07:21:58.188+00:00"
  },
  "url": "http://ezdrowie.wielkopolskie.pl/fhir/StructureDefinition/PLWlkpSchedulingEndpoint",
  "name": "PLWlkpSchedulingEndpoint",
  "fhirVersion": "4.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Endpoint",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Endpoint",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Endpoint.identifier",
        "path": "Endpoint.identifier",
        "short": "Identyfikator punktu końcowego nadany przez system zarządzający",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Endpoint.identifier.use",
        "path": "Endpoint.identifier.use",
        "max": "0"
      },
      {
        "id": "Endpoint.identifier.type",
        "path": "Endpoint.identifier.type",
        "max": "0"
      },
      {
        "id": "Endpoint.identifier.system",
        "path": "Endpoint.identifier.system",
        "min": 1
      },
      {
        "id": "Endpoint.identifier.value",
        "path": "Endpoint.identifier.value",
        "min": 1
      },
      {
        "id": "Endpoint.identifier.period",
        "path": "Endpoint.identifier.period",
        "max": "0"
      },
      {
        "id": "Endpoint.identifier.assigner",
        "path": "Endpoint.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Endpoint.status",
        "path": "Endpoint.status",
        "short": "Status punktu końcowego",
        "definition": "active | off | test",
        "min": 1,
        "max": "1",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "EndpointStatus"
            }
          ],
          "strength": "required",
          "description": "The status of an endpoint.",
          "valueSet": "http://hl7.org/fhir/ValueSet/endpoint-status"
        }
      },
      {
        "id": "Endpoint.connectionType",
        "path": "Endpoint.connectionType",
        "short": "Protokół / profil / standard do połączenia z punktem końcowym.",
        "min": 1,
        "max": "1",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "connectionType"
            }
          ],
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/endpoint-connection-type"
        }
      },
      {
        "id": "Endpoint.connectionType.system",
        "path": "Endpoint.connectionType.system",
        "min": 1,
        "max": "1",
        "fixedUri": "http://hl7.org/fhir/ValueSet/endpoint-connection-type"
      },
      {
        "id": "Endpoint.connectionType.version",
        "path": "Endpoint.connectionType.version",
        "max": "0"
      },
      {
        "id": "Endpoint.connectionType.code",
        "path": "Endpoint.connectionType.code",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Endpoint.connectionType.display",
        "path": "Endpoint.connectionType.display",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Endpoint.connectionType.userSelected",
        "path": "Endpoint.connectionType.userSelected",
        "max": "0"
      },
      {
        "id": "Endpoint.name",
        "path": "Endpoint.name",
        "max": "0"
      },
      {
        "id": "Endpoint.managingOrganization",
        "path": "Endpoint.managingOrganization",
        "short": "W elemencie Reference wskazuje na identyfikator zasobu typu Organization. Jest to jednostka organizacyjna, która wystawia punkt końcowy.",
        "min": "1",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://ezdrowie.wielkopolskie.pl/fhir/StructureDefinition/PLWlkpSchedulingOrganization"
            ],
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "Endpoint.managingOrganization.reference",
        "path": "Endpoint.managingOrganization.reference",
        "min": 1,
        "max": 1
      },
      {
        "id": "Endpoint.managingOrganization.type",
        "path": "Endpoint.managingOrganization.type",
        "max": "0"
      },
      {
        "id": "Endpoint.managingOrganization.identifier",
        "path": "Endpoint.managingOrganization.identifier",
        "max": "0"
      },
      {
        "id": "Endpoint.managingOrganization.display",
        "path": "Endpoint.managingOrganization.display",
        "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": "Lista definiująca zasoby FHIR, które mogą być użyte w punkcie końcowym ",
        "min": "1"
      },
      {
        "id": "Endpoint.payloadType.coding",
        "path": "Endpoint.payloadType.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Endpoint.payloadType.coding.system",
        "path": "Endpoint.payloadType.coding.system",
        "min": 1,
        "max": "1",
        "fixedUrl": "http://hl7.org/fhir/ValueSet/PlWlkp-endpoint-payload-type"
      },
      {
        "id": "Endpoint.payloadType.coding.version",
        "path": "Endpoint.payloadType.coding.version",
        "max": "0"
      },
      {
        "id": "Endpoint.payloadType.coding.code",
        "path": "Endpoint.payloadType.coding.code",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Endpoint.payloadType.coding.display",
        "path": "Endpoint.payloadType.coding.display",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Endpoint.payloadType.coding.userSelected",
        "path": "Endpoint.payloadType.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Endpoint.payloadType.text",
        "path": "Endpoint.payloadType.text",
        "max": "0"
      },
      {
        "id": "Endpoint.payloadMimeType",
        "path": "Endpoint.payloadMimeType",
        "max": "0"
      },
      {
        "id": "Endpoint.address",
        "path": "Endpoint.address",
        "short": "bazowy url do API systemu domenowego",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Endpoint.header",
        "path": "Endpoint.header",
        "max": "0"
      }
    ]
  }
}