{
  "resourceType": "StructureDefinition",
  "url": "https://www.pacmed.nl/fhir/StructureDefinition/ZIB2020_based_ICU_advancedirective",
  "version": "0.1.1",
  "name": "ZIB2020_based_ICU_advancedirective",
  "status": "active",
  "description": "FHIR profile based on AdvanceDirective Zib (2020)\r\nUsage: to specify what hospital and ICU-specific treatments are permitted or denied by patient or representative",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Consent",
  "baseDefinition": "http://nictiz.nl/fhir/StructureDefinition/zib-AdvanceDirective",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Consent.id",
        "path": "Consent.id",
        "min": 1
      },
      {
        "id": "Consent.category:advanceDirectiveCode",
        "path": "Consent.category",
        "sliceName": "advanceDirectiveCode",
        "fixedCodeableConcept": {
          "text": "Treatment"
        }
      },
      {
        "id": "Consent.category:HospitalAdvanceDirectiveCategory",
        "path": "Consent.category",
        "sliceName": "HospitalAdvanceDirectiveCategory",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "extensible",
          "description": "Category of hospital advance care directive",
          "valueSet": "https://www.pacmed.nl/fhir/ValueSet/hospital_advance_directive_category_valueset"
        }
      },
      {
        "id": "Consent.category:HospitalAdvanceDirectiveCategory.coding.system",
        "path": "Consent.category.coding.system",
        "fixedUri": "https://www.pacmed.nl/fhir/CodeSystem/hospital_advance_directive_category"
      },
      {
        "id": "Consent.category:HospitalAdvanceDirectiveCategory.coding.code",
        "path": "Consent.category.coding.code",
        "binding": {
          "strength": "required",
          "valueSet": "https://www.pacmed.nl/fhir/ValueSet/hospital_advance_directive_category_valueset"
        }
      },
      {
        "id": "Consent.category:HospitalAdvanceDirectiveCategory.coding.display",
        "path": "Consent.category.coding.display",
        "binding": {
          "strength": "required",
          "valueSet": "https://www.pacmed.nl/fhir/ValueSet/hospital_advance_directive_category_valueset"
        }
      },
      {
        "id": "Consent.category:HospitalAdvanceDirectiveCategory.text",
        "path": "Consent.category.text",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSet": "https://www.pacmed.nl/fhir/ValueSet/hospital_advance_directive_category_valueset"
        }
      },
      {
        "id": "Consent.patient",
        "path": "Consent.patient",
        "min": 1
      },
      {
        "id": "Consent.patient.reference",
        "path": "Consent.patient.reference",
        "short": "ID of the patient resource",
        "min": 1
      },
      {
        "id": "Consent.dateTime",
        "path": "Consent.dateTime",
        "min": 1
      },
      {
        "id": "Consent.provision",
        "path": "Consent.provision",
        "min": 1
      },
      {
        "id": "Consent.provision.type",
        "path": "Consent.provision.type",
        "min": 1
      },
      {
        "id": "Consent.provision.code",
        "path": "Consent.provision.code",
        "binding": {
          "strength": "required",
          "valueSet": "https://www.pacmed.nl/fhir/CodeSystem/hospital_advance_directive_treatment_specification"
        }
      },
      {
        "id": "Consent.provision.code.coding.system",
        "path": "Consent.provision.code.coding.system",
        "fixedUri": "https://www.pacmed.nl/fhir/CodeSystem/hospital_advance_directive_treatment_specification"
      },
      {
        "id": "Consent.provision.code.coding.code",
        "path": "Consent.provision.code.coding.code",
        "binding": {
          "strength": "extensible",
          "valueSet": "https://www.pacmed.nl/fhir/ValueSet/hospital_advance_directive_treatment_specification_valueset"
        }
      },
      {
        "id": "Consent.provision.code.coding.display",
        "path": "Consent.provision.code.coding.display",
        "binding": {
          "strength": "extensible",
          "valueSet": "https://www.pacmed.nl/fhir/ValueSet/hospital_advance_directive_treatment_specification_valueset"
        }
      },
      {
        "id": "Consent.provision.code.text",
        "path": "Consent.provision.code.text",
        "binding": {
          "strength": "extensible",
          "valueSet": "https://www.pacmed.nl/fhir/ValueSet/hospital_advance_directive_treatment_specification_valueset"
        }
      }
    ]
  }
}