{
  "resourceType": "StructureDefinition",
  "id": "d1c626b8-6ca0-4aed-ae5b-91a88acccc74",
  "meta": {
    "versionId": "9",
    "lastUpdated": "2017-09-26T15:04:21.354+00:00"
  },
  "url": "http://nictiz.nl/fhir/StructureDefinition/zib-DispenseRequest",
  "version": "1.0",
  "name": "ZIB-DispenseRequest",
  "title": "HCIM DispenseRequest",
  "status": "draft",
  "date": "2016-12-12T16:41:50.247+00:00",
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "email",
          "value": "info@nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "This profile is based the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB)  nl.zorg.VerstrekkingVerzoek version 1.0, year 2017.",
  "copyright": "CC0",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "hcim-dispenserequest-v1.0-2017EN",
      "uri": "https://zibs.nl/wiki/DispenseRequest-v1.0(2017EN)",
      "name": "HCIM DispenseRequest-v1.0(2017EN)"
    },
    {
      "identity": "hcim-timeinterval-v1.0-2017EN",
      "uri": "https://zibs.nl/wiki/TimeInterval-v1.0(2017EN)",
      "name": "HCIM Part TimeInterval-v1.0(2017EN)"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "MedicationRequest",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationRequest",
        "path": "MedicationRequest",
        "short": "MedicationDispenseRequest",
        "alias": [
          "Medicatieverstrekkingsverzoek"
        ],
        "mapping": [
          {
            "identity": "hcim-dispenserequest-v1.0-2017EN",
            "map": "NL-CM:9.10.19963"
          }
        ]
      },
      {
        "id": "MedicationRequest.extension",
        "path": "MedicationRequest.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "MedicationRequest.extension:additionalWishes",
        "path": "MedicationRequest.extension",
        "sliceName": "additionalWishes",
        "short": "AdditionalWishes",
        "definition": "Logistics and other instructions such as: do not enter in GDS, urgent, purposeful deviation, etc",
        "alias": [
          "AanvullendeWensen"
        ],
        "type": [
          {
            "code": "Extension",
            "profile": "http://nictiz.nl/fhir/StructureDefinition/zib-Medication-AdditionalInformation"
          }
        ],
        "mapping": [
          {
            "identity": "hcim-dispenserequest-v1.0-2017EN",
            "map": "NL-CM:9.10.22759"
          }
        ]
      },
      {
        "id": "MedicationRequest.extension:additionalWishes.valueCodeableConcept:valueCodeableConcept",
        "path": "MedicationRequest.extension.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "binding": {
          "strength": "extensible",
          "description": "AanvullendeWensenCodelijst",
          "valueSetReference": {
            "reference": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.10.1--20170904000000",
            "display": "AanvullendeWensenCodelijst"
          }
        }
      },
      {
        "id": "MedicationRequest.extension:relatedMedicationAgreement",
        "path": "MedicationRequest.extension",
        "sliceName": "relatedMedicationAgreement",
        "short": "RelatedMedicationAgreement",
        "definition": "Medication agreement related to this dispense request",
        "alias": [
          "GerelateerdeMedicatieAfspraak"
        ],
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://nictiz.nl/fhir/StructureDefinition/zib-DispenseRequest-RelatedMedicationAgreement"
          }
        ],
        "mapping": [
          {
            "identity": "hcim-dispenserequest-v1.0-2017EN",
            "map": "23286"
          }
        ]
      },
      {
        "id": "MedicationRequest.category",
        "path": "MedicationRequest.category",
        "min": 1
      },
      {
        "id": "MedicationRequest.category.coding",
        "path": "MedicationRequest.category.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "MedicationRequest.category.coding:DispenseRequestCode",
        "path": "MedicationRequest.category.coding",
        "sliceName": "DispenseRequestCode",
        "short": "DispenseRequestCode",
        "definition": "Category code used for indexing/retrieval of the ZIB DispenseRequest. The system and code are stated in the Medication Process v09."
      },
      {
        "id": "MedicationRequest.category.coding:DispenseRequestCode.system",
        "path": "MedicationRequest.category.coding.system",
        "fixedUri": "urn:oid:2.16.840.1.113883.2.4.3.11.60.20.77.5.3"
      },
      {
        "id": "MedicationRequest.category.coding:DispenseRequestCode.code",
        "path": "MedicationRequest.category.coding.code",
        "fixedCode": "3"
      },
      {
        "id": "MedicationRequest.medication[x]",
        "path": "MedicationRequest.medication[x]",
        "short": "MedicineToBeDispensed",
        "definition": "The medicine to be dispensed.",
        "alias": [
          "Geneesmiddel",
          "Product",
          "Medicatie",
          "TeVerstrekkenGeneesmiddel"
        ],
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/zib-Product"
          }
        ],
        "mapping": [
          {
            "identity": "hcim-dispenserequest-v1.0-2017EN",
            "map": "NL-CM:9.10.22249"
          }
        ]
      },
      {
        "id": "MedicationRequest.subject",
        "path": "MedicationRequest.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group"
          }
        ]
      },
      {
        "id": "MedicationRequest.context",
        "path": "MedicationRequest.context",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/zib-Contact"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-episodeofcare"
          }
        ]
      },
      {
        "id": "MedicationRequest.authoredOn",
        "path": "MedicationRequest.authoredOn",
        "short": "DispenseRequestDate",
        "definition": "Time at which the dispense request is entered.",
        "alias": [
          "VerstrekkingsverzoekDatum"
        ],
        "mapping": [
          {
            "identity": "hcim-dispenserequest-v1.0-2017EN",
            "map": "NL-CM:9.10.20060"
          }
        ]
      },
      {
        "id": "MedicationRequest.requester.agent",
        "path": "MedicationRequest.requester.agent",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-organization"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
          }
        ]
      },
      {
        "id": "MedicationRequest.requester.onBehalfOf",
        "path": "MedicationRequest.requester.onBehalfOf",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-organization"
          }
        ]
      },
      {
        "id": "MedicationRequest.recorder",
        "path": "MedicationRequest.recorder",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner"
          }
        ]
      },
      {
        "id": "MedicationRequest.note",
        "path": "MedicationRequest.note",
        "short": "Comment",
        "definition": "Explanation for the dispense request. This explanation can contain e.g. information on why a prescriber submits a dispense request that deviates from the norm, e.g. an extra dispense request needed because the patient has lost the medication",
        "alias": [
          "Toelichting"
        ],
        "mapping": [
          {
            "identity": "hcim-dispenserequest-v1.0-2017EN",
            "map": "NL-CM:9.10.22274"
          }
        ]
      },
      {
        "id": "MedicationRequest.dosageInstruction",
        "path": "MedicationRequest.dosageInstruction",
        "type": [
          {
            "code": "Dosage",
            "profile": "http://nictiz.nl/fhir/StructureDefinition/zib-InstructionsForUse"
          }
        ]
      },
      {
        "id": "MedicationRequest.dispenseRequest",
        "path": "MedicationRequest.dispenseRequest",
        "short": "DisenseRequest",
        "alias": [
          "Verstrekkingsverzoek"
        ]
      },
      {
        "id": "MedicationRequest.dispenseRequest.extension",
        "path": "MedicationRequest.dispenseRequest.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "MedicationRequest.dispenseRequest.extension:dispenseLocation",
        "path": "MedicationRequest.dispenseRequest.extension",
        "sliceName": "dispenseLocation",
        "short": "DispenseLocation",
        "definition": "Dispense location.",
        "alias": [
          "Afleverlocatie"
        ],
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://nictiz.nl/fhir/StructureDefinition/zib-Dispense-Location"
          }
        ],
        "mapping": [
          {
            "identity": "hcim-dispenserequest-v1.0-2017EN",
            "map": "NL-CM:9.10.20068"
          }
        ]
      },
      {
        "id": "MedicationRequest.dispenseRequest.validityPeriod",
        "path": "MedicationRequest.dispenseRequest.validityPeriod",
        "short": "PeriodOfUse",
        "definition": "During the approved period of use, the pharmacist has permission to dispense medicine so that the patient has a sufficient amount of medication. \r\nIn many cases, the approved period of use can be described by only an end date: the approved end date of use.",
        "alias": [
          "Verbruiksperiode"
        ],
        "mapping": [
          {
            "identity": "hcim-dispenserequest-v1.0-2017EN",
            "map": "NL-CM:9.10.20062"
          }
        ]
      },
      {
        "id": "MedicationRequest.dispenseRequest.validityPeriod.start",
        "path": "MedicationRequest.dispenseRequest.validityPeriod.start",
        "short": "StartDate",
        "alias": [
          "Ingangsdatum"
        ],
        "mapping": [
          {
            "identity": "hcim-timeinterval-v1.0-2017EN",
            "map": "NL-CM:20.3.2"
          }
        ]
      },
      {
        "id": "MedicationRequest.dispenseRequest.validityPeriod.end",
        "path": "MedicationRequest.dispenseRequest.validityPeriod.end",
        "short": "EndDate",
        "alias": [
          "Einddatum"
        ],
        "mapping": [
          {
            "identity": "hcim-timeinterval-v1.0-2017EN",
            "map": "NL-CM:20.3.3"
          }
        ]
      },
      {
        "id": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed",
        "path": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed",
        "short": "NumberOfRefills",
        "definition": "The number of additional times the medication may be dispensed after the first time.  The total amount that may be dispensed is: (Number of refills + 1) x amount to be dispensed",
        "alias": [
          "AantalHerhalingen"
        ],
        "mapping": [
          {
            "identity": "hcim-dispenserequest-v1.0-2017EN",
            "map": "NL-CM:9.10.22120"
          }
        ]
      },
      {
        "id": "MedicationRequest.dispenseRequest.quantity:SimpleQuantity",
        "path": "MedicationRequest.dispenseRequest.quantity",
        "sliceName": "SimpleQuantity",
        "short": "Amount",
        "definition": "This is the number of units of the ordered product per dispense. \r\nThe number of refills indicates how often this amount is allowed to be dispensed.",
        "alias": [
          "TeVerstrekkenHoeveelheid"
        ],
        "mapping": [
          {
            "identity": "hcim-dispenserequest-v1.0-2017EN",
            "map": "NL-CM:9.10.19964"
          }
        ]
      },
      {
        "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration",
        "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration",
        "short": "Duration",
        "alias": [
          "Duur"
        ],
        "mapping": [
          {
            "identity": "hcim-dispenserequest-v1.0-2017EN",
            "map": "NL-CM:9.10.20062"
          }
        ]
      },
      {
        "id": "MedicationRequest.dispenseRequest.performer",
        "path": "MedicationRequest.dispenseRequest.performer",
        "short": "IntendedSupplier",
        "definition": "The intended supplier is a pharmacist.",
        "alias": [
          "BeoogdVerstrekker"
        ],
        "mapping": [
          {
            "identity": "hcim-dispenserequest-v1.0-2017EN",
            "map": "NL-CM:9.10.19966"
          }
        ]
      }
    ]
  }
}