{
  "resourceType": "StructureDefinition",
  "id": "e2d91ca9-07e0-440a-bc19-baab66ff4185",
  "meta": {
    "lastUpdated": "2018-09-26T09:45:31.327+00:00"
  },
  "url": "https://ezdrowie.wielkopolskie.pl/fhir/StructureDefinition/PlWlkpSchedule",
  "name": "PlWlkpSchedule",
  "status": "active",
  "date": "2018-09-26T09:45:30.651+00:00",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Schedule",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Schedule",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Schedule.extension",
        "path": "Schedule.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Schedule.extension:patientProfile",
        "path": "Schedule.extension",
        "sliceName": "patientProfile",
        "short": "Profil pacjenta",
        "definition": "Profil pacjenta",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "https://ezdrowie.wielkopolskie.pl/fhir/StructureDefinition/ExtPatientProfile"
          }
        ]
      },
      {
        "id": "Schedule.extension:reimbursementType",
        "path": "Schedule.extension",
        "sliceName": "reimbursementType",
        "short": "Optional Extensions Element",
        "definition": "Optional Extension Element - found in all resources.",
        "type": [
          {
            "code": "Extension",
            "profile": "https://ezdrowie.wielkopolskie.pl/fhir/StructureDefinition/PlWlkpExtReimbursementType"
          }
        ]
      },
      {
        "id": "Schedule.identifier",
        "path": "Schedule.identifier",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Schedule.active",
        "path": "Schedule.active",
        "min": 1
      },
      {
        "id": "Schedule.serviceCategory",
        "path": "Schedule.serviceCategory",
        "max": "0"
      },
      {
        "id": "Schedule.serviceType",
        "path": "Schedule.serviceType",
        "short": "Typ usługi realizowanej w danym grafiku",
        "definition": "Typ usługi realizowanej w danym grafiku",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "service-type"
            }
          ],
          "strength": "required",
          "description": "Zbiór wartości zawierający wszystkie pozycje słownika ICD-9 PL",
          "valueSetUri": "https://ezdrowie.wielkopolskie.pl/fhir/ValueSet/icd-9-pl"
        }
      },
      {
        "id": "Schedule.serviceType.coding",
        "path": "Schedule.serviceType.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Schedule.serviceType.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Schedule.serviceType.text",
        "max": "0"
      },
      {
        "id": "Schedule.specialty",
        "path": "Schedule.specialty",
        "short": "Specjalność komórki organizacyjnej",
        "definition": "Specjalność komórki organizacyjnej",
        "min": 1,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "specialty"
            }
          ],
          "strength": "required",
          "description": "Zbiór wartości zawierający wszystkie pozycje słownika części VIII kodu resortowego",
          "valueSetUri": "https://ezdrowie.wielkopolskie.pl/fhir/ValueSet/czesc-8-kodu-resortowego"
        }
      },
      {
        "id": "Schedule.specialty.coding",
        "path": "Schedule.specialty.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Schedule.actor",
        "path": "Schedule.actor",
        "slicing": {
          "discriminator": [
            {
              "type": "profile",
              "path": "reference"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Schedule.actor:locationActor",
        "path": "Schedule.actor",
        "sliceName": "locationActor",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://ezdrowie.wielkopolskie.pl/fhir/StructureDefinition/PlWlkpLocation",
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "Schedule.actor:deviceActor",
        "path": "Schedule.actor",
        "sliceName": "deviceActor",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://ezdrowie.wielkopolskie.pl/fhir/StructureDefinition/PlWlkpDevice",
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "Schedule.actor:practitionerRoleActor",
        "path": "Schedule.actor",
        "sliceName": "practitionerRoleActor",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://ezdrowie.wielkopolskie.pl/fhir/StructureDefinition/PlWlkpPractitionerRole",
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "Schedule.planningHorizon",
        "path": "Schedule.planningHorizon",
        "min": 1
      },
      {
        "id": "Schedule.planningHorizon.start",
        "path": "Schedule.planningHorizon.start",
        "short": "Data i godzina od której grafik obowiązuje",
        "definition": "Data i godzina od której grafik obowiązuje",
        "min": 1
      },
      {
        "id": "Schedule.planningHorizon.end",
        "path": "Schedule.planningHorizon.end",
        "min": 1
      },
      {
        "id": "Schedule.comment",
        "path": "Schedule.comment",
        "short": "Komentarz zawierający dodatkowe informacje dotyczące grafiku",
        "definition": "Komentarz zawierający dodatkowe informacje dotyczące grafiku"
      }
    ]
  }
}