{
  "resourceType": "StructureDefinition",
  "id": "pl-lab-list-panel",
  "url": "http://hl7.org.pl/fhir/ig/pl-lab/StructureDefinition/pl-lab-list-panel",
  "name": "PLLabListPanel",
  "title": "List: Panel (PL)",
  "status": "draft",
  "description": "Panel definicji badań laboratoryjnych",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "pl-lab-reasonForTest-to-catalogServiceModel-mapping",
      "name": "Mapowanie panelu definicji badań laboratoryjnych na model usługi katalogowej",
      "uri": "http://hl7.org.pl/fhir/model/pl-lab-catalogServiceModel"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "List",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/List",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "List",
        "path": "List",
        "mapping": [
          {
            "identity": "pl-lab-reasonForTest-to-catalogServiceModel-mapping",
            "map": "Panel"
          }
        ]
      },
      {
        "id": "List.identifier",
        "path": "List.identifier",
        "max": "0"
      },
      {
        "id": "List.status",
        "path": "List.status",
        "patternCode": "current",
        "mustSupport": true
      },
      {
        "id": "List.mode",
        "path": "List.mode",
        "patternCode": "working",
        "mustSupport": true
      },
      {
        "id": "List.title",
        "path": "List.title",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "pl-lab-reasonForTest-to-catalogServiceModel-mapping",
            "map": "Panel.nazwa"
          }
        ]
      },
      {
        "id": "List.code",
        "path": "List.code",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org.pl/fhir/ig/pl-lab/ValueSet/pl-lab-loincServiceCodeVS"
        }
      },
      {
        "id": "List.code.coding",
        "path": "List.code.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "pl-lab-reasonForTest-to-catalogServiceModel-mapping",
            "map": "Panel.kod"
          }
        ]
      },
      {
        "id": "List.code.coding.system",
        "path": "List.code.coding.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "List.code.coding.version",
        "path": "List.code.coding.version",
        "max": "0"
      },
      {
        "id": "List.code.coding.code",
        "path": "List.code.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "List.code.coding.display",
        "path": "List.code.coding.display",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "List.code.coding.userSelected",
        "path": "List.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "List.code.text",
        "path": "List.code.text",
        "max": "0"
      },
      {
        "id": "List.subject",
        "path": "List.subject",
        "max": "0"
      },
      {
        "id": "List.encounter",
        "path": "List.encounter",
        "max": "0"
      },
      {
        "id": "List.date",
        "path": "List.date",
        "max": "0"
      },
      {
        "id": "List.source",
        "path": "List.source",
        "max": "0"
      },
      {
        "id": "List.orderedBy",
        "path": "List.orderedBy",
        "max": "0"
      },
      {
        "id": "List.note",
        "path": "List.note",
        "max": "0"
      },
      {
        "id": "List.entry",
        "path": "List.entry",
        "mustSupport": true
      },
      {
        "id": "List.entry.flag",
        "path": "List.entry.flag",
        "max": "0"
      },
      {
        "id": "List.entry.deleted",
        "path": "List.entry.deleted",
        "max": "0"
      },
      {
        "id": "List.entry.date",
        "path": "List.entry.date",
        "max": "0"
      },
      {
        "id": "List.entry.item",
        "path": "List.entry.item",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org.pl/fhir/ig/pl-lab/StructureDefinition/pl-lab-observationDefinition-laboratoryTestDefinition"
            ]
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "pl-lab-reasonForTest-to-catalogServiceModel-mapping",
            "map": "Panel.definicjaBadania"
          }
        ]
      }
    ]
  }
}