{
  "resourceType": "StructureDefinition",
  "id": "HdBe-MedicationDispense",
  "language": "en-US",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod",
      "valuePeriod": {
        "start": "2020-08-31T22:00:00+00:00"
      }
    }
  ],
  "url": "https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-MedicationDispense",
  "name": "HdBeMedicationDispense",
  "_name": {
    "extension": [
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "nl-NL"
          },
          {
            "url": "content",
            "valueMarkdown": "HdBeMedicatieverstrekking"
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/translation"
      }
    ]
  },
  "title": "HdBe MedicationDispense",
  "status": "draft",
  "date": "2022-07-07T15:04:03.2592055+00:00",
  "publisher": "Healthdata.be (Sciensano)",
  "contact": [
    {
      "name": "Service portal – healthdata.be",
      "telecom": [
        {
          "system": "url",
          "value": "https://sciensano.service-now.com/sp",
          "use": "work"
        }
      ]
    }
  ],
  "description": "A dispense is the delivery of an amount of medicine to the patient, their administrator or their representative.\r\n#### Purpose\r\nThe goal of the dispense is to provide insight into which products are delivered by the pharmacist to the patient (or their representative).",
  "_description": {
    "extension": [
      {
        "extension": [
          {
            "url": "lang",
            "valueCode": "nl-NL"
          },
          {
            "url": "content",
            "valueMarkdown": "Een verstrekking is de terhandstelling van een hoeveelheid van een geneesmiddel aan de patiënt, zijn toediener of zijn vertegenwoordiger.\r\n#### Purpose\r\nHet doel van de verstrekking is inzicht te geven in welke producten ter hand gesteld zijn door de apotheker aan de patiënt (of zijn vertegenwoordiger)."
          }
        ],
        "url": "http://hl7.org/fhir/StructureDefinition/translation"
      }
    ]
  },
  "copyright": "Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise.",
  "fhirVersion": "4.0.1",
  "kind": "logical",
  "abstract": true,
  "type": "https://fhir.healthdata.be/StructureDefinition/LogicalModel/MedicationDispense",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "derivation": "specialization",
  "snapshot": {
    "element": [
      {
        "id": "MedicationDispense",
        "path": "MedicationDispense",
        "short": "MedicationDispense",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Medicatieverstrekking"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Root concept of the MedicationDispense information model. This root concept contains all data elements of the MedicationDispense information model.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Rootconcept van de bouwsteen Medicatieverstrekking. Dit rootconcept bevat alle gegevenselementen van de bouwsteen Medicatieverstrekking."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "*",
        "base": {
          "path": "MedicationDispense",
          "min": 0,
          "max": "*"
        },
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicationDispense.id",
        "path": "MedicationDispense.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicationDispense.extension",
        "path": "MedicationDispense.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "MedicationDispense.Supplier",
        "path": "MedicationDispense.Supplier",
        "short": "Supplier",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Verstrekker"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "In almost all cases, the supplier will be a pharmacist. It could also be supplied by a webshop (in case of an online order), a drug store or a foreign pharmacist.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "De verstrekker is in vrijwel alle gevallen een apotheker. Het kan ook gaan om een webwinkel (online bestelling), een drogisterij of een buitenlandse apotheker."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicationDispense.Supplier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-HealthcareOrganization"
            ]
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          }
        ]
      },
      {
        "id": "MedicationDispense.DispenseRequest",
        "path": "MedicationDispense.DispenseRequest",
        "short": "DispenseRequest",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Verstrekkingsverzoek"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Relationship to the dispense request.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Relatie naar verstrekkingsverzoek."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicationDispense.DispenseRequest",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-DispenseRequest"
            ]
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          }
        ]
      },
      {
        "id": "MedicationDispense.DispensedMedicine",
        "path": "MedicationDispense.DispensedMedicine",
        "short": "DispensedMedicine",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "VerstrektGeneesmiddel"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The dispensed medicine.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Verstrekt geneesmiddel."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicationDispense.DispensedMedicine",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-PharmaceuticalProduct"
            ]
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          }
        ]
      },
      {
        "id": "MedicationDispense.MedicationDispenseDateTime",
        "path": "MedicationDispense.MedicationDispenseDateTime",
        "short": "MedicationDispenseDateTime",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "MedicatieverstrekkingsDatumTijd"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The time at which the medicine was supplied. The date and time at which the medicine is delivered. \r\nNote: this is the time at which the medicine was delivered to the patient (or their administrator/representative) and not the request date.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Het tijdstip van uitgifte. De datumtijd waarop het geneesmiddel ter hand gesteld wordt. \r\nNoot: het gaat dus om het tijdstip waarop het geneesmiddel aan de patiënt (of diens toediener/vertegenwoordiger) is uitgegeven en niet om de aanschrijfdatum."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicationDispense.MedicationDispenseDateTime",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicationDispense.RequestDate",
        "path": "MedicationDispense.RequestDate",
        "short": "RequestDate",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "AanschrijfDatum"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The request date is the time at which a pharmacist records an intended dispense.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "De aanschrijfdatum is het tijdstip waarop een apotheker een voorgenomen uitgifte vastlegt."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicationDispense.RequestDate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicationDispense.DistributionForm",
        "path": "MedicationDispense.DistributionForm",
        "short": "DistributionForm",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Distributievorm"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Distribution form",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Distributievorm"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "comment": "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicationDispense.DistributionForm",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "DistributionForm codes",
          "valueSet": "https://fhir.healthdata.be/ValueSet/MedicatieverstrekkingDistributievorm"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "CE/CNE/CWE"
          },
          {
            "identity": "rim",
            "map": "CD"
          },
          {
            "identity": "orim",
            "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD"
          }
        ]
      },
      {
        "id": "MedicationDispense.DurationOfUse",
        "path": "MedicationDispense.DurationOfUse",
        "short": "DurationOfUse",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Verbruiksduur"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The period in which the medication is expected to be used. The value depends on the dose and the dispensed amount.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "De verwachte periode, dat het medicament gebruikt zal worden. De waarde hangt samen met de dosering en de verstrekte hoeveelheid."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "comment": "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicationDispense.DurationOfUse",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "qty-3",
            "severity": "error",
            "human": "If a code for the unit is present, the system SHALL also be present",
            "expression": "code.empty() or system.exists()",
            "xpath": "not(exists(f:code)) or exists(f:system)",
            "source": "http://hl7.org/fhir/StructureDefinition/Quantity"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "SN (see also Range) or CQ"
          },
          {
            "identity": "rim",
            "map": "PQ, IVL<PQ>, MO, CO, depending on the values"
          }
        ]
      },
      {
        "id": "MedicationDispense.MedicationDispenseAdditionalInformation",
        "path": "MedicationDispense.MedicationDispenseAdditionalInformation",
        "short": "MedicationDispenseAdditionalInformation",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "MedicatieverstrekkingAanvullendeInformatie"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Additional information includes details on the structure of the medical dispense. This can be e.g. a reason for deviating from the dispense request. \r\nFor now, this list is used. This list will be replaced by a thesaurus in the G standard at a later stage.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Aanvullende informatie bevat bijzonderheden over de invulling van de medicatieverstrekking. Dit kan bijvoorbeeld een reden zijn om af te wijken van het verstrekkingsverzoek.\r\nVooralsnog wordt deze lijst gebruikt. In een later stadium zal deze lijst vervangen worden door een thesaurus in de G-standaard."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "comment": "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "MedicationDispense.MedicationDispenseAdditionalInformation",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "MedicationDispenseAdditionalInformation codes",
          "valueSet": "https://fhir.healthdata.be/ValueSet/MedicatieverstrekkingAanvullendeInformatie"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "CE/CNE/CWE"
          },
          {
            "identity": "rim",
            "map": "CD"
          },
          {
            "identity": "orim",
            "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD"
          }
        ]
      },
      {
        "id": "MedicationDispense.DispensedAmount",
        "path": "MedicationDispense.DispensedAmount",
        "short": "DispensedAmount",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "VerstrekteHoeveelheid"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Number of units of the product (measured based on the relevant product code) supplied. Optionally a translation to NHG table Gebruiksvoorschriften(Table 25) is also allowed.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Aantal eenheden van het product (gemeten op basis van de relevante productcode) dat is afgeleverd. Optioneel is voor de eenheid in plaats van gebruik van UCUM eenheden ook een vertaling toegestaan naar NHG tabel Gebruiksvoorschriften (tabel 25)"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "comment": "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicationDispense.DispensedAmount",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "qty-3",
            "severity": "error",
            "human": "If a code for the unit is present, the system SHALL also be present",
            "expression": "code.empty() or system.exists()",
            "xpath": "not(exists(f:code)) or exists(f:system)",
            "source": "http://hl7.org/fhir/StructureDefinition/Quantity"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "SN (see also Range) or CQ"
          },
          {
            "identity": "rim",
            "map": "PQ, IVL<PQ>, MO, CO, depending on the values"
          }
        ]
      },
      {
        "id": "MedicationDispense.DispenseLocation",
        "path": "MedicationDispense.DispenseLocation",
        "short": "DispenseLocation",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Afleverlocatie"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Dispense location",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Afleverlocatie"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicationDispense.DispenseLocation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicationDispense.Comment",
        "path": "MedicationDispense.Comment",
        "short": "Comment",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Toelichting"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Comments on the dispense.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Opmerkingen met betrekking tot de verstrekking."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicationDispense.Comment",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "MedicationDispense",
        "path": "MedicationDispense",
        "short": "MedicationDispense",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Medicatieverstrekking"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Root concept of the MedicationDispense information model. This root concept contains all data elements of the MedicationDispense information model.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Rootconcept van de bouwsteen Medicatieverstrekking. Dit rootconcept bevat alle gegevenselementen van de bouwsteen Medicatieverstrekking."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "*"
      },
      {
        "id": "MedicationDispense.Supplier",
        "path": "MedicationDispense.Supplier",
        "short": "Supplier",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Verstrekker"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "In almost all cases, the supplier will be a pharmacist. It could also be supplied by a webshop (in case of an online order), a drug store or a foreign pharmacist.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "De verstrekker is in vrijwel alle gevallen een apotheker. Het kan ook gaan om een webwinkel (online bestelling), een drogisterij of een buitenlandse apotheker."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-HealthcareOrganization"
            ]
          }
        ]
      },
      {
        "id": "MedicationDispense.DispenseRequest",
        "path": "MedicationDispense.DispenseRequest",
        "short": "DispenseRequest",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Verstrekkingsverzoek"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Relationship to the dispense request.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Relatie naar verstrekkingsverzoek."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-DispenseRequest"
            ]
          }
        ]
      },
      {
        "id": "MedicationDispense.DispensedMedicine",
        "path": "MedicationDispense.DispensedMedicine",
        "short": "DispensedMedicine",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "VerstrektGeneesmiddel"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The dispensed medicine.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Verstrekt geneesmiddel."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-PharmaceuticalProduct"
            ]
          }
        ]
      },
      {
        "id": "MedicationDispense.MedicationDispenseDateTime",
        "path": "MedicationDispense.MedicationDispenseDateTime",
        "short": "MedicationDispenseDateTime",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "MedicatieverstrekkingsDatumTijd"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The time at which the medicine was supplied. The date and time at which the medicine is delivered. \r\nNote: this is the time at which the medicine was delivered to the patient (or their administrator/representative) and not the request date.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Het tijdstip van uitgifte. De datumtijd waarop het geneesmiddel ter hand gesteld wordt. \r\nNoot: het gaat dus om het tijdstip waarop het geneesmiddel aan de patiënt (of diens toediener/vertegenwoordiger) is uitgegeven en niet om de aanschrijfdatum."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "MedicationDispense.RequestDate",
        "path": "MedicationDispense.RequestDate",
        "short": "RequestDate",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "AanschrijfDatum"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The request date is the time at which a pharmacist records an intended dispense.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "De aanschrijfdatum is het tijdstip waarop een apotheker een voorgenomen uitgifte vastlegt."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "MedicationDispense.DistributionForm",
        "path": "MedicationDispense.DistributionForm",
        "short": "DistributionForm",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Distributievorm"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Distribution form",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Distributievorm"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "DistributionForm codes",
          "valueSet": "https://fhir.healthdata.be/ValueSet/MedicatieverstrekkingDistributievorm"
        }
      },
      {
        "id": "MedicationDispense.DurationOfUse",
        "path": "MedicationDispense.DurationOfUse",
        "short": "DurationOfUse",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Verbruiksduur"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "The period in which the medication is expected to be used. The value depends on the dose and the dispensed amount.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "De verwachte periode, dat het medicament gebruikt zal worden. De waarde hangt samen met de dosering en de verstrekte hoeveelheid."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "MedicationDispense.MedicationDispenseAdditionalInformation",
        "path": "MedicationDispense.MedicationDispenseAdditionalInformation",
        "short": "MedicationDispenseAdditionalInformation",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "MedicatieverstrekkingAanvullendeInformatie"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Additional information includes details on the structure of the medical dispense. This can be e.g. a reason for deviating from the dispense request. \r\nFor now, this list is used. This list will be replaced by a thesaurus in the G standard at a later stage.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Aanvullende informatie bevat bijzonderheden over de invulling van de medicatieverstrekking. Dit kan bijvoorbeeld een reden zijn om af te wijken van het verstrekkingsverzoek.\r\nVooralsnog wordt deze lijst gebruikt. In een later stadium zal deze lijst vervangen worden door een thesaurus in de G-standaard."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "MedicationDispenseAdditionalInformation codes",
          "valueSet": "https://fhir.healthdata.be/ValueSet/MedicatieverstrekkingAanvullendeInformatie"
        }
      },
      {
        "id": "MedicationDispense.DispensedAmount",
        "path": "MedicationDispense.DispensedAmount",
        "short": "DispensedAmount",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "VerstrekteHoeveelheid"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Number of units of the product (measured based on the relevant product code) supplied. Optionally a translation to NHG table Gebruiksvoorschriften(Table 25) is also allowed.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Aantal eenheden van het product (gemeten op basis van de relevante productcode) dat is afgeleverd. Optioneel is voor de eenheid in plaats van gebruik van UCUM eenheden ook een vertaling toegestaan naar NHG tabel Gebruiksvoorschriften (tabel 25)"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "MedicationDispense.DispenseLocation",
        "path": "MedicationDispense.DispenseLocation",
        "short": "DispenseLocation",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Afleverlocatie"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Dispense location",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Afleverlocatie"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "MedicationDispense.Comment",
        "path": "MedicationDispense.Comment",
        "short": "Comment",
        "_short": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Toelichting"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "definition": "Comments on the dispense.",
        "_definition": {
          "extension": [
            {
              "extension": [
                {
                  "url": "lang",
                  "valueCode": "nl-NL"
                },
                {
                  "url": "content",
                  "valueMarkdown": "Opmerkingen met betrekking tot de verstrekking."
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/translation"
            }
          ]
        },
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  }
}