{
  "resourceType": "StructureDefinition",
  "id": "pl-lab-location-intakePoint",
  "url": "http://hl7.org.pl/fhir/ig/pl-lab/StructureDefinition/pl-lab-location-intakePoint",
  "name": "PLLabLocationIntakePoint",
  "title": "Location: Intake Point (PL)",
  "status": "draft",
  "description": "Punkt pobrań",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "pl-lab-intakePoint-to-catalogServiceModel-mapping",
      "name": "Mapowanie Punktu pobrań na model usługi katalogowej",
      "uri": "http://hl7.org.pl/fhir/model/pl-lab-catalogServiceModel"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Location",
  "baseDefinition": "http://hl7.org.pl/fhir/ig/pl-lab/StructureDefinition/pl-base-location",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Location",
        "path": "Location",
        "mapping": [
          {
            "identity": "pl-lab-intakePoint-to-catalogServiceModel-mapping",
            "map": "PunktPobran"
          }
        ]
      },
      {
        "id": "Location.identifier",
        "path": "Location.identifier",
        "min": 1,
        "max": "1",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "pl-lab-intakePoint-to-catalogServiceModel-mapping",
            "map": "PunktPobran.identyfikator"
          }
        ]
      },
      {
        "id": "Location.identifier.use",
        "path": "Location.identifier.use",
        "max": "0"
      },
      {
        "id": "Location.identifier.type",
        "path": "Location.identifier.type",
        "max": "0"
      },
      {
        "id": "Location.identifier.system",
        "path": "Location.identifier.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.identifier.value",
        "path": "Location.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.identifier.period",
        "path": "Location.identifier.period",
        "max": "0"
      },
      {
        "id": "Location.identifier.assigner",
        "path": "Location.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Location.status",
        "path": "Location.status",
        "max": "0"
      },
      {
        "id": "Location.operationalStatus",
        "path": "Location.operationalStatus",
        "max": "0"
      },
      {
        "id": "Location.name",
        "path": "Location.name",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "pl-lab-intakePoint-to-catalogServiceModel-mapping",
            "map": "PunktPobran.nazwa"
          }
        ]
      },
      {
        "id": "Location.description",
        "path": "Location.description",
        "max": "0"
      },
      {
        "id": "Location.mode",
        "path": "Location.mode",
        "min": 1,
        "patternCode": "instance",
        "mustSupport": true
      },
      {
        "id": "Location.type",
        "path": "Location.type",
        "min": 1,
        "max": "1",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org.pl/fhir/ig/pl-lab/ValueSet/pl-lab-intakePointType-VS"
        },
        "mapping": [
          {
            "identity": "pl-lab-intakePoint-to-catalogServiceModel-mapping",
            "map": "PunktPobran.rodzajPunktuPobran"
          }
        ]
      },
      {
        "id": "Location.type.coding",
        "path": "Location.type.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Location.type.coding.system",
        "path": "Location.type.coding.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.type.coding.version",
        "path": "Location.type.coding.version",
        "max": "0"
      },
      {
        "id": "Location.type.coding.code",
        "path": "Location.type.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.type.coding.display",
        "path": "Location.type.coding.display",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.type.coding.userSelected",
        "path": "Location.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Location.type.text",
        "path": "Location.type.text",
        "max": "0"
      },
      {
        "id": "Location.contact",
        "path": "Location.contact",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Location.contact.telecom",
        "path": "Location.contact.telecom",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "closed",
          "description": "Rodzaj danych teleadresowych",
          "ordered": false
        },
        "mustSupport": true
      },
      {
        "id": "Location.contact.telecom:phone",
        "path": "Location.contact.telecom",
        "sliceName": "phone",
        "min": 0,
        "max": "*",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "pl-lab-intakePoint-to-catalogServiceModel-mapping",
            "map": "PunktPobran.telefon"
          }
        ]
      },
      {
        "id": "Location.contact.telecom:phone.system",
        "path": "Location.contact.telecom.system",
        "min": 1,
        "patternCode": "phone",
        "mustSupport": true
      },
      {
        "id": "Location.contact.telecom:phone.value",
        "path": "Location.contact.telecom.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.contact.telecom:phone.use",
        "path": "Location.contact.telecom.use",
        "max": "0"
      },
      {
        "id": "Location.contact.telecom:phone.rank",
        "path": "Location.contact.telecom.rank",
        "max": "0"
      },
      {
        "id": "Location.contact.telecom:phone.period",
        "path": "Location.contact.telecom.period",
        "max": "0"
      },
      {
        "id": "Location.contact.telecom:email",
        "path": "Location.contact.telecom",
        "sliceName": "email",
        "min": 0,
        "max": "*",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "pl-lab-intakePoint-to-catalogServiceModel-mapping",
            "map": "PunktPobran.email"
          }
        ]
      },
      {
        "id": "Location.contact.telecom:email.system",
        "path": "Location.contact.telecom.system",
        "min": 1,
        "patternCode": "email",
        "mustSupport": true
      },
      {
        "id": "Location.contact.telecom:email.value",
        "path": "Location.contact.telecom.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.contact.telecom:email.use",
        "path": "Location.contact.telecom.use",
        "max": "0"
      },
      {
        "id": "Location.contact.telecom:email.rank",
        "path": "Location.contact.telecom.rank",
        "max": "0"
      },
      {
        "id": "Location.contact.telecom:email.period",
        "path": "Location.contact.telecom.period",
        "max": "0"
      },
      {
        "id": "Location.address",
        "path": "Location.address",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "pl-lab-intakePoint-to-catalogServiceModel-mapping",
            "map": "PunktPobran.adres"
          }
        ]
      },
      {
        "id": "Location.form",
        "path": "Location.form",
        "max": "0"
      },
      {
        "id": "Location.position",
        "path": "Location.position",
        "max": "0"
      },
      {
        "id": "Location.managingOrganization",
        "path": "Location.managingOrganization",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org.pl/fhir/ig/pl-lab/StructureDefinition/pl-lab-organization-diagnosticEntity"
            ]
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "pl-lab-intakePoint-to-catalogServiceModel-mapping",
            "map": "PunktPobran.podmiotZarzadzajacy"
          }
        ]
      },
      {
        "id": "Location.partOf",
        "path": "Location.partOf",
        "max": "0"
      },
      {
        "id": "Location.characteristic",
        "path": "Location.characteristic",
        "max": "0"
      },
      {
        "id": "Location.virtualService",
        "path": "Location.virtualService",
        "max": "0"
      },
      {
        "id": "Location.endpoint",
        "path": "Location.endpoint",
        "max": "0"
      }
    ]
  }
}