PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.nl.zorgviewer@1.12.0
    http://fhir.hl7.nl/zorgviewer/StructureDefinition/Medicatiegegevens
{
  "description": "Medicatiegegevens abstract samenstelling voor het documenteren van de combinatie van Medicatieafspraak en Medicatie Gebruik",
  "_filename": "StructureDefinition-Medicatiegegevens.json",
  "package_name": "hl7.fhir.nl.zorgviewer",
  "date": "2025-03-18T10:30:39+00:00",
  "derivation": "constraint",
  "publisher": "RIVO-NN HL7NL",
  "fhirVersion": "3.0.2",
  "jurisdiction": [ {
    "coding": [ {
      "code": "NL",
      "system": "urn:iso:std:iso:3166"
    } ]
  } ],
  "name": "Medicatiegegevens",
  "mapping": [ {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/fhir/w5",
    "name": "W5 Mapping",
    "identity": "w5"
  } ],
  "abstract": true,
  "type": "Bundle",
  "experimental": "false",
  "resourceType": "StructureDefinition",
  "title": "Medicatiegegevens",
  "package_version": "1.12.0",
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "bdl-7",
        "human": "FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId",
        "xpath": "count(for $entry in f:entry[f:resource] return $entry[count(parent::f:Bundle/f:entry[f:fullUrl/@value=$entry/f:fullUrl/@value and ((not(f:resource/*/f:meta/f:versionId/@value) and not($entry/f:resource/*/f:meta/f:versionId/@value)) or f:resource/*/f:meta/f:versionId/@value=$entry/f:resource/*/f:meta/f:versionId/@value)])!=1])=0",
        "source": "http://hl7.org/fhir/StructureDefinition/Bundle",
        "severity": "error",
        "expression": "entry.where(fullUrl).select(fullUrl&resource.meta.versionId).isDistinct()"
      }, {
        "key": "bdl-9",
        "human": "A document must have an identifier with a system and a value",
        "xpath": "not(f:type/@value = 'document') or exists(f:identifier/f:system) or exists(f:identifier/f:value)",
        "source": "http://hl7.org/fhir/StructureDefinition/Bundle",
        "severity": "error",
        "expression": "type = 'document' implies (identifier.system.exists() and identifier.value.exists())"
      }, {
        "key": "bdl-3",
        "human": "entry.request only for some types of bundles",
        "xpath": "not(f:entry/f:request) or (f:type/@value = 'batch') or (f:type/@value = 'transaction') or (f:type/@value = 'history')",
        "source": "http://hl7.org/fhir/StructureDefinition/Bundle",
        "severity": "error",
        "expression": "entry.request.empty() or type = 'batch' or type = 'transaction' or type = 'history'"
      }, {
        "key": "bdl-4",
        "human": "entry.response only for some types of bundles",
        "xpath": "not(f:entry/f:response) or (f:type/@value = 'batch-response') or (f:type/@value = 'transaction-response')",
        "source": "http://hl7.org/fhir/StructureDefinition/Bundle",
        "severity": "error",
        "expression": "entry.response.empty() or type = 'batch-response' or type = 'transaction-response'"
      }, {
        "key": "bdl-1",
        "human": "total only when a search or history",
        "xpath": "not(f:total) or (f:type/@value = 'searchset') or (f:type/@value = 'history')",
        "source": "http://hl7.org/fhir/StructureDefinition/Bundle",
        "severity": "error",
        "expression": "total.empty() or (type = 'searchset') or (type = 'history')"
      }, {
        "key": "bdl-2",
        "human": "entry.search only when a search",
        "xpath": "not(f:entry/f:search) or (f:type/@value = 'searchset')",
        "source": "http://hl7.org/fhir/StructureDefinition/Bundle",
        "severity": "error",
        "expression": "entry.search.empty() or (type = 'searchset')"
      } ],
      "path": "Bundle",
      "min": 0,
      "definition": "A container for a collection of resources.",
      "short": "Contains a collection of resources",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "v2"
      }, {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "infrastructure.structure",
        "identity": "w5"
      } ],
      "max": "*",
      "id": "Bundle",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Bundle"
      }
    }, {
      "path": "Bundle.id",
      "min": 0,
      "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "short": "Logical id of this artifact",
      "type": [ {
        "code": "id"
      } ],
      "max": "1",
      "id": "Bundle.id",
      "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.id"
      },
      "isSummary": true
    }, {
      "path": "Bundle.meta",
      "min": 0,
      "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
      "short": "Metadata about the resource",
      "type": [ {
        "code": "Meta"
      } ],
      "max": "1",
      "id": "Bundle.meta",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.meta"
      },
      "isSummary": true
    }, {
      "path": "Bundle.implicitRules",
      "min": 0,
      "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
      "isModifier": true,
      "short": "A set of rules under which this content was created",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Bundle.implicitRules",
      "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.implicitRules"
      },
      "isSummary": true
    }, {
      "path": "Bundle.language",
      "min": 0,
      "definition": "The base language in which the resource is written.",
      "short": "Language of the resource content",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueReference": {
            "reference": "http://hl7.org/fhir/ValueSet/all-languages"
          }
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Language"
        } ],
        "description": "A human language.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/languages"
        }
      },
      "max": "1",
      "id": "Bundle.language",
      "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.language"
      }
    }, {
      "path": "Bundle.identifier",
      "min": 0,
      "definition": "A persistent identifier for the batch that won't change as a batch is copied from server to server.",
      "short": "Persistent identifier for the bundle",
      "mapping": [ {
        "map": "id",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "1",
      "id": "Bundle.identifier",
      "comment": "Persistent identity generally only matters for batches of type Document, Message, and Collection. It would not normally be populated for search and history results, and servers ignore Bundle.identifier when processing batches and transactions. For Documents  the .identifier SHALL be populated such that the .identifier is globally unique.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.identifier"
      },
      "isSummary": true
    }, {
      "path": "Bundle.type",
      "fixedCode": "searchset",
      "min": 1,
      "definition": "Indicates the purpose of this bundle - how it was intended to be used.",
      "short": "searchset",
      "mapping": [ {
        "map": "class",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "BundleType"
        } ],
        "description": "Indicates the purpose of a bundle - how it was intended to be used.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/bundle-type"
        }
      },
      "max": "1",
      "id": "Bundle.type",
      "comment": "It's possible to use a bundle for other purposes (e.g. a document can be accepted as a transaction). This is primarily defined so that there can be specific rules for some of the bundle types.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Bundle.type"
      },
      "isSummary": true
    }, {
      "path": "Bundle.total",
      "min": 0,
      "definition": "If a set of search matches, this is the total number of matches for the search (as opposed to the number of results in this bundle).",
      "short": "If search, the total number of matches",
      "type": [ {
        "code": "unsignedInt"
      } ],
      "max": "1",
      "id": "Bundle.total",
      "condition": [ "bdl-1" ],
      "comment": "Only used if the bundle is a search result set. The total does not include resources such as OperationOutcome and included resources, only the total number of matching resources.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.total"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "Bundle.link",
      "min": 0,
      "definition": "A series of links that provide context to this bundle.",
      "short": "Links related to this Bundle",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "Bundle.link",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Bundle.link"
      },
      "isSummary": true
    }, {
      "path": "Bundle.link.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Bundle.link.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Bundle.link.extension",
      "min": 0,
      "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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Bundle.link.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Bundle.link.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Bundle.link.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "Bundle.link.relation",
      "min": 1,
      "definition": "A name which details the functional use for this link - see [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1).",
      "short": "See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Bundle.link.relation",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Bundle.link.relation"
      },
      "isSummary": true
    }, {
      "path": "Bundle.link.url",
      "min": 1,
      "definition": "The reference details for the link.",
      "short": "Reference details for the link",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Bundle.link.url",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Bundle.link.url"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "bdl-8",
        "human": "fullUrl cannot be a version specific reference",
        "xpath": "not(exists(f:fullUrl[contains(string(@value), '/_history/')]))",
        "source": "http://hl7.org/fhir/StructureDefinition/Bundle",
        "severity": "error",
        "expression": "fullUrl.contains('/_history/').not()"
      }, {
        "key": "bdl-5",
        "human": "must be a resource unless there's a request or response",
        "xpath": "exists(f:resource) or exists(f:request) or exists(f:response)",
        "source": "http://hl7.org/fhir/StructureDefinition/Bundle",
        "severity": "error",
        "expression": "resource.exists() or request.exists() or response.exists()"
      } ],
      "path": "Bundle.entry",
      "min": 0,
      "definition": "An entry in a bundle resource - will either contain a resource, or information about a resource (transactions and history only).",
      "short": "Entry in the bundle - will have a resource, or information",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "resource",
          "type": "type"
        } ]
      },
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "Bundle.entry",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Bundle.entry"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Bundle.entry.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Bundle.entry.extension",
      "min": 0,
      "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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Bundle.entry.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Bundle.entry.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Bundle.entry.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.link",
      "min": 0,
      "definition": "A series of links that provide context to this entry.",
      "short": "Links related to this entry",
      "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
      "max": "*",
      "id": "Bundle.entry.link",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Bundle.entry.link"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.fullUrl",
      "min": 0,
      "definition": "The Absolute URL for the resource.  The fullUrl SHALL not disagree with the id in the resource. The fullUrl is a version independent reference to the resource. The fullUrl element SHALL have a value except that: \n* fullUrl can be empty on a POST (although it does not need to when specifying a temporary id for reference in the bundle)\n* Results from operations might involve resources that are not identified.",
      "short": "Absolute URL for resource (server address, or UUID/OID)",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Bundle.entry.fullUrl",
      "comment": "fullUrl may not be [unique in the context of a resource](http://hl7.org/fhir/STU3/bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](http://hl7.org/fhir/STU3/references.html), the absolute URL may not end with the logical id of the resource (Resource.id), but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](http://hl7.org/fhir/STU3/references.html#regex), then it SHALL end with the Resource.id.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.fullUrl"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.resource",
      "min": 0,
      "definition": "The Resources for the entry.",
      "short": "A resource in the bundle",
      "type": [ {
        "code": "Resource"
      } ],
      "max": "1",
      "id": "Bundle.entry.resource",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.resource"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "Bundle.entry.search",
      "min": 0,
      "definition": "Information about the search process that lead to the creation of this entry.",
      "short": "Search related information",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "Bundle.entry.search",
      "condition": [ "bdl-2" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.search"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.search.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Bundle.entry.search.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Bundle.entry.search.extension",
      "min": 0,
      "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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Bundle.entry.search.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Bundle.entry.search.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Bundle.entry.search.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.search.mode",
      "min": 0,
      "definition": "Why this entry is in the result set - whether it's included as a match or because of an _include requirement.",
      "short": "match | include | outcome - why this is in the result set",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SearchEntryMode"
        } ],
        "description": "Why an entry is in the result set - whether it's included as a match or because of an _include requirement.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/search-entry-mode"
        }
      },
      "max": "1",
      "id": "Bundle.entry.search.mode",
      "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.search.mode"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.search.score",
      "min": 0,
      "definition": "When searching, the server's search ranking score for the entry.",
      "short": "Search ranking (between 0 and 1)",
      "type": [ {
        "code": "decimal"
      } ],
      "max": "1",
      "id": "Bundle.entry.search.score",
      "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.search.score"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "Bundle.entry.request",
      "min": 0,
      "definition": "Additional information about how this entry should be processed as part of a transaction.",
      "short": "Transaction Related Information",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "Bundle.entry.request",
      "condition": [ "bdl-3" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.request"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.request.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Bundle.entry.request.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Bundle.entry.request.extension",
      "min": 0,
      "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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Bundle.entry.request.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Bundle.entry.request.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Bundle.entry.request.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.request.method",
      "min": 1,
      "definition": "The HTTP verb for this entry in either a change history, or a transaction/ transaction response.",
      "short": "GET | POST | PUT | DELETE",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "HTTPVerb"
        } ],
        "description": "HTTP verbs (in the HTTP command line).",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/http-verb"
        }
      },
      "max": "1",
      "id": "Bundle.entry.request.method",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Bundle.entry.request.method"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.request.url",
      "min": 1,
      "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
      "short": "URL for HTTP equivalent of this entry",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Bundle.entry.request.url",
      "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT, and the URL would be \"Patient/[id]\".",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Bundle.entry.request.url"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.request.ifNoneMatch",
      "min": 0,
      "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http://hl7.org/fhir/STU3/http.html#cread).",
      "short": "For managing cache currency",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Bundle.entry.request.ifNoneMatch",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.request.ifNoneMatch"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.request.ifModifiedSince",
      "min": 0,
      "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http://hl7.org/fhir/STU3/http.html#cread).",
      "short": "For managing update contention",
      "type": [ {
        "code": "instant"
      } ],
      "max": "1",
      "id": "Bundle.entry.request.ifModifiedSince",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.request.ifModifiedSince"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.request.ifMatch",
      "min": 0,
      "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http://hl7.org/fhir/STU3/http.html#concurrency).",
      "short": "For managing update contention",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Bundle.entry.request.ifMatch",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.request.ifMatch"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.request.ifNoneExist",
      "min": 0,
      "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http://hl7.org/fhir/STU3/http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
      "short": "For conditional creates",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Bundle.entry.request.ifNoneExist",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.request.ifNoneExist"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "Bundle.entry.response",
      "min": 0,
      "definition": "Additional information about how this entry should be processed as part of a transaction.",
      "short": "Transaction Related Information",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "Bundle.entry.response",
      "condition": [ "bdl-4" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.response"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.response.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Bundle.entry.response.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Bundle.entry.response.extension",
      "min": 0,
      "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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Bundle.entry.response.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Bundle.entry.response.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Bundle.entry.response.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.response.status",
      "min": 1,
      "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
      "short": "Status response code (text optional)",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Bundle.entry.response.status",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Bundle.entry.response.status"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.response.location",
      "min": 0,
      "definition": "The location header created by processing this operation.",
      "short": "The location, if the operation returns a location",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Bundle.entry.response.location",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.response.location"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.response.etag",
      "min": 0,
      "definition": "The etag for the resource, it the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http://hl7.org/fhir/STU3/http.html#versioning) and [Managing Resource Contention](http://hl7.org/fhir/STU3/http.html#concurrency)).",
      "short": "The etag for the resource (if relevant)",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Bundle.entry.response.etag",
      "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.response.etag"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.response.lastModified",
      "min": 0,
      "definition": "The date/time that the resource was modified on the server.",
      "short": "Server's date time modified",
      "type": [ {
        "code": "instant"
      } ],
      "max": "1",
      "id": "Bundle.entry.response.lastModified",
      "comment": "This has to match the same time in the meta header if a resource is included.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.response.lastModified"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.response.outcome",
      "min": 0,
      "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
      "short": "OperationOutcome with hints and warnings (for batch/transaction)",
      "type": [ {
        "code": "Resource"
      } ],
      "max": "1",
      "id": "Bundle.entry.response.outcome",
      "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.response.outcome"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "bdl-8",
        "human": "fullUrl cannot be a version specific reference",
        "xpath": "not(exists(f:fullUrl[contains(string(@value), '/_history/')]))",
        "source": "http://hl7.org/fhir/StructureDefinition/Bundle",
        "severity": "error",
        "expression": "fullUrl.contains('/_history/').not()"
      }, {
        "key": "bdl-5",
        "human": "must be a resource unless there's a request or response",
        "xpath": "exists(f:resource) or exists(f:request) or exists(f:response)",
        "source": "http://hl7.org/fhir/StructureDefinition/Bundle",
        "severity": "error",
        "expression": "resource.exists() or request.exists() or response.exists()"
      } ],
      "path": "Bundle.entry",
      "min": 0,
      "definition": "An entry in a bundle resource - will either contain a resource, or information about a resource (transactions and history only).",
      "short": "MedicationRequest",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "sliceName": "MedicationRequest",
      "max": "*",
      "id": "Bundle.entry:MedicationRequest",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Bundle.entry"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Bundle.entry.extension",
      "min": 0,
      "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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Bundle.entry:MedicationRequest.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Bundle.entry.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Bundle.entry:MedicationRequest.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.link",
      "min": 0,
      "definition": "A series of links that provide context to this entry.",
      "short": "Links related to this entry",
      "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
      "max": "*",
      "id": "Bundle.entry:MedicationRequest.link",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Bundle.entry.link"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.fullUrl",
      "min": 1,
      "definition": "The Absolute URL for the resource.  The fullUrl SHALL not disagree with the id in the resource. The fullUrl is a version independent reference to the resource. The fullUrl element SHALL have a value except that: \n* fullUrl can be empty on a POST (although it does not need to when specifying a temporary id for reference in the bundle)\n* Results from operations might involve resources that are not identified.",
      "short": "Absolute URL for resource (server address, or UUID/OID)",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.fullUrl",
      "comment": "fullUrl may not be [unique in the context of a resource](http://hl7.org/fhir/STU3/bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](http://hl7.org/fhir/STU3/references.html), the absolute URL may not end with the logical id of the resource (Resource.id), but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](http://hl7.org/fhir/STU3/references.html#regex), then it SHALL end with the Resource.id.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.fullUrl"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.resource",
      "min": 1,
      "definition": "A medication agreement is a prescriber’s proposal for a patient to use medication. An agreement to discontinue the use of medication is also a medication agreement.",
      "short": "MedicationAgreement",
      "mapping": [ {
        "map": "NL-CM:9.6.9580",
        "comment": "MedicationAgreement",
        "identity": "hcim-medicationagreement-v1.0-2017EN"
      }, {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "..Request",
        "identity": "workflow"
      }, {
        "map": "Message/Body/NewRx",
        "identity": "script10.6"
      }, {
        "map": "CombinedMedicationRequest",
        "identity": "rim"
      }, {
        "map": "clinical.medication",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "MedicationRequest",
        "profile": "http://fhir.hl7.nl/zorgviewer/StructureDefinition/MedicationRequest"
      } ],
      "alias": [ "Prescription", "Order", "Medicatieafspraak" ],
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.resource",
      "comment": "Medicationafspraak",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.resource"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "Bundle.entry.search",
      "min": 0,
      "definition": "Information about the search process that lead to the creation of this entry.",
      "short": "Search related information",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.search",
      "condition": [ "bdl-2" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.search"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.search.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.search.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Bundle.entry.search.extension",
      "min": 0,
      "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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Bundle.entry:MedicationRequest.search.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Bundle.entry.search.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Bundle.entry:MedicationRequest.search.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.search.mode",
      "min": 0,
      "definition": "Why this entry is in the result set - whether it's included as a match or because of an _include requirement.",
      "short": "match | include | outcome - why this is in the result set",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SearchEntryMode"
        } ],
        "description": "Why an entry is in the result set - whether it's included as a match or because of an _include requirement.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/search-entry-mode"
        }
      },
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.search.mode",
      "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.search.mode"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.search.score",
      "min": 0,
      "definition": "When searching, the server's search ranking score for the entry.",
      "short": "Search ranking (between 0 and 1)",
      "type": [ {
        "code": "decimal"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.search.score",
      "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.search.score"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "Bundle.entry.request",
      "min": 0,
      "definition": "Additional information about how this entry should be processed as part of a transaction.",
      "short": "Transaction Related Information",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.request",
      "condition": [ "bdl-3" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.request"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.request.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.request.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Bundle.entry.request.extension",
      "min": 0,
      "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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Bundle.entry:MedicationRequest.request.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Bundle.entry.request.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Bundle.entry:MedicationRequest.request.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.request.method",
      "min": 1,
      "definition": "The HTTP verb for this entry in either a change history, or a transaction/ transaction response.",
      "short": "GET | POST | PUT | DELETE",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "HTTPVerb"
        } ],
        "description": "HTTP verbs (in the HTTP command line).",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/http-verb"
        }
      },
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.request.method",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Bundle.entry.request.method"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.request.url",
      "min": 1,
      "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
      "short": "URL for HTTP equivalent of this entry",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.request.url",
      "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT, and the URL would be \"Patient/[id]\".",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Bundle.entry.request.url"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.request.ifNoneMatch",
      "min": 0,
      "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http://hl7.org/fhir/STU3/http.html#cread).",
      "short": "For managing cache currency",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.request.ifNoneMatch",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.request.ifNoneMatch"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.request.ifModifiedSince",
      "min": 0,
      "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http://hl7.org/fhir/STU3/http.html#cread).",
      "short": "For managing update contention",
      "type": [ {
        "code": "instant"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.request.ifModifiedSince",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.request.ifModifiedSince"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.request.ifMatch",
      "min": 0,
      "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http://hl7.org/fhir/STU3/http.html#concurrency).",
      "short": "For managing update contention",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.request.ifMatch",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.request.ifMatch"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.request.ifNoneExist",
      "min": 0,
      "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http://hl7.org/fhir/STU3/http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
      "short": "For conditional creates",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.request.ifNoneExist",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.request.ifNoneExist"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "Bundle.entry.response",
      "min": 0,
      "definition": "Additional information about how this entry should be processed as part of a transaction.",
      "short": "Transaction Related Information",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.response",
      "condition": [ "bdl-4" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.response"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.response.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.response.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Bundle.entry.response.extension",
      "min": 0,
      "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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Bundle.entry:MedicationRequest.response.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Bundle.entry.response.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Bundle.entry:MedicationRequest.response.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.response.status",
      "min": 1,
      "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
      "short": "Status response code (text optional)",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.response.status",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Bundle.entry.response.status"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.response.location",
      "min": 0,
      "definition": "The location header created by processing this operation.",
      "short": "The location, if the operation returns a location",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.response.location",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.response.location"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.response.etag",
      "min": 0,
      "definition": "The etag for the resource, it the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http://hl7.org/fhir/STU3/http.html#versioning) and [Managing Resource Contention](http://hl7.org/fhir/STU3/http.html#concurrency)).",
      "short": "The etag for the resource (if relevant)",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.response.etag",
      "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.response.etag"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.response.lastModified",
      "min": 0,
      "definition": "The date/time that the resource was modified on the server.",
      "short": "Server's date time modified",
      "type": [ {
        "code": "instant"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.response.lastModified",
      "comment": "This has to match the same time in the meta header if a resource is included.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.response.lastModified"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.response.outcome",
      "min": 0,
      "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
      "short": "OperationOutcome with hints and warnings (for batch/transaction)",
      "type": [ {
        "code": "Resource"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationRequest.response.outcome",
      "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.response.outcome"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "bdl-8",
        "human": "fullUrl cannot be a version specific reference",
        "xpath": "not(exists(f:fullUrl[contains(string(@value), '/_history/')]))",
        "source": "http://hl7.org/fhir/StructureDefinition/Bundle",
        "severity": "error",
        "expression": "fullUrl.contains('/_history/').not()"
      }, {
        "key": "bdl-5",
        "human": "must be a resource unless there's a request or response",
        "xpath": "exists(f:resource) or exists(f:request) or exists(f:response)",
        "source": "http://hl7.org/fhir/StructureDefinition/Bundle",
        "severity": "error",
        "expression": "resource.exists() or request.exists() or response.exists()"
      } ],
      "path": "Bundle.entry",
      "min": 0,
      "definition": "An entry in a bundle resource - will either contain a resource, or information about a resource (transactions and history only).",
      "short": "MedicationStatement",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "sliceName": "MedicationStatement",
      "max": "*",
      "id": "Bundle.entry:MedicationStatement",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Bundle.entry"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Bundle.entry.extension",
      "min": 0,
      "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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Bundle.entry:MedicationStatement.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Bundle.entry.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Bundle.entry:MedicationStatement.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.link",
      "min": 0,
      "definition": "A series of links that provide context to this entry.",
      "short": "Links related to this entry",
      "contentReference": "http://hl7.org/fhir/StructureDefinition/Bundle#Bundle.link",
      "max": "*",
      "id": "Bundle.entry:MedicationStatement.link",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Bundle.entry.link"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.fullUrl",
      "min": 1,
      "definition": "The Absolute URL for the resource.  The fullUrl SHALL not disagree with the id in the resource. The fullUrl is a version independent reference to the resource. The fullUrl element SHALL have a value except that: \n* fullUrl can be empty on a POST (although it does not need to when specifying a temporary id for reference in the bundle)\n* Results from operations might involve resources that are not identified.",
      "short": "Absolute URL for resource (server address, or UUID/OID)",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.fullUrl",
      "comment": "fullUrl may not be [unique in the context of a resource](http://hl7.org/fhir/STU3/bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](http://hl7.org/fhir/STU3/references.html), the absolute URL may not end with the logical id of the resource (Resource.id), but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](http://hl7.org/fhir/STU3/references.html#regex), then it SHALL end with the Resource.id.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.fullUrl"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.resource",
      "min": 1,
      "definition": "MedicationUse is a statement on the historic, current or intended use of a certain medicine.",
      "short": "MedicationUse",
      "mapping": [ {
        "map": "NL-CM:9.11.21338",
        "comment": "MedicationUse",
        "identity": "hcim-medicationuse2-v1.0.1-2017EN"
      }, {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "..Event",
        "identity": "workflow"
      }, {
        "map": "SubstanceAdministration",
        "identity": "rim"
      }, {
        "map": "clinical.medication",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "MedicationStatement",
        "profile": "http://fhir.hl7.nl/zorgviewer/StructureDefinition/MedicationStatement"
      } ],
      "alias": [ "Medicatiegebruik" ],
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.resource",
      "comment": "Medicationgebruik",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.resource"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "Bundle.entry.search",
      "min": 0,
      "definition": "Information about the search process that lead to the creation of this entry.",
      "short": "Search related information",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.search",
      "condition": [ "bdl-2" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.search"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.search.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.search.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Bundle.entry.search.extension",
      "min": 0,
      "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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Bundle.entry:MedicationStatement.search.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Bundle.entry.search.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Bundle.entry:MedicationStatement.search.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.search.mode",
      "min": 0,
      "definition": "Why this entry is in the result set - whether it's included as a match or because of an _include requirement.",
      "short": "match | include | outcome - why this is in the result set",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SearchEntryMode"
        } ],
        "description": "Why an entry is in the result set - whether it's included as a match or because of an _include requirement.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/search-entry-mode"
        }
      },
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.search.mode",
      "comment": "There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.search.mode"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.search.score",
      "min": 0,
      "definition": "When searching, the server's search ranking score for the entry.",
      "short": "Search ranking (between 0 and 1)",
      "type": [ {
        "code": "decimal"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.search.score",
      "comment": "Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.search.score"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "Bundle.entry.request",
      "min": 0,
      "definition": "Additional information about how this entry should be processed as part of a transaction.",
      "short": "Transaction Related Information",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.request",
      "condition": [ "bdl-3" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.request"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.request.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.request.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Bundle.entry.request.extension",
      "min": 0,
      "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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Bundle.entry:MedicationStatement.request.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Bundle.entry.request.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Bundle.entry:MedicationStatement.request.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.request.method",
      "min": 1,
      "definition": "The HTTP verb for this entry in either a change history, or a transaction/ transaction response.",
      "short": "GET | POST | PUT | DELETE",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "HTTPVerb"
        } ],
        "description": "HTTP verbs (in the HTTP command line).",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/http-verb"
        }
      },
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.request.method",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Bundle.entry.request.method"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.request.url",
      "min": 1,
      "definition": "The URL for this entry, relative to the root (the address to which the request is posted).",
      "short": "URL for HTTP equivalent of this entry",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.request.url",
      "comment": "E.g. for a Patient Create, the method would be \"POST\" and the URL would be \"Patient\". For a Patient Update, the method would be PUT, and the URL would be \"Patient/[id]\".",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Bundle.entry.request.url"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.request.ifNoneMatch",
      "min": 0,
      "definition": "If the ETag values match, return a 304 Not Modified status. See the API documentation for [\"Conditional Read\"](http://hl7.org/fhir/STU3/http.html#cread).",
      "short": "For managing cache currency",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.request.ifNoneMatch",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.request.ifNoneMatch"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.request.ifModifiedSince",
      "min": 0,
      "definition": "Only perform the operation if the last updated date matches. See the API documentation for [\"Conditional Read\"](http://hl7.org/fhir/STU3/http.html#cread).",
      "short": "For managing update contention",
      "type": [ {
        "code": "instant"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.request.ifModifiedSince",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.request.ifModifiedSince"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.request.ifMatch",
      "min": 0,
      "definition": "Only perform the operation if the Etag value matches. For more information, see the API section [\"Managing Resource Contention\"](http://hl7.org/fhir/STU3/http.html#concurrency).",
      "short": "For managing update contention",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.request.ifMatch",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.request.ifMatch"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.request.ifNoneExist",
      "min": 0,
      "definition": "Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [\"Conditional Create\"](http://hl7.org/fhir/STU3/http.html#ccreate). This is just the query portion of the URL - what follows the \"?\" (not including the \"?\").",
      "short": "For conditional creates",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.request.ifNoneExist",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.request.ifNoneExist"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "Bundle.entry.response",
      "min": 0,
      "definition": "Additional information about how this entry should be processed as part of a transaction.",
      "short": "Transaction Related Information",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.response",
      "condition": [ "bdl-4" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.response"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.response.id",
      "min": 0,
      "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.response.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "path": "Bundle.entry.response.extension",
      "min": 0,
      "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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Bundle.entry:MedicationStatement.response.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      }
    }, {
      "path": "Bundle.entry.response.modifierExtension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Bundle.entry:MedicationStatement.response.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.response.status",
      "min": 1,
      "definition": "The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code.",
      "short": "Status response code (text optional)",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.response.status",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Bundle.entry.response.status"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.response.location",
      "min": 0,
      "definition": "The location header created by processing this operation.",
      "short": "The location, if the operation returns a location",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.response.location",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.response.location"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.response.etag",
      "min": 0,
      "definition": "The etag for the resource, it the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http://hl7.org/fhir/STU3/http.html#versioning) and [Managing Resource Contention](http://hl7.org/fhir/STU3/http.html#concurrency)).",
      "short": "The etag for the resource (if relevant)",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.response.etag",
      "comment": "Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.response.etag"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.response.lastModified",
      "min": 0,
      "definition": "The date/time that the resource was modified on the server.",
      "short": "Server's date time modified",
      "type": [ {
        "code": "instant"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.response.lastModified",
      "comment": "This has to match the same time in the meta header if a resource is included.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.response.lastModified"
      },
      "isSummary": true
    }, {
      "path": "Bundle.entry.response.outcome",
      "min": 0,
      "definition": "An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction.",
      "short": "OperationOutcome with hints and warnings (for batch/transaction)",
      "type": [ {
        "code": "Resource"
      } ],
      "max": "1",
      "id": "Bundle.entry:MedicationStatement.response.outcome",
      "comment": "For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.entry.response.outcome"
      },
      "isSummary": true
    }, {
      "path": "Bundle.signature",
      "requirements": "This element allows capturing signatures on documents. It also allows signatures on messages, transactions or even query responses. It may support content-authentication, non-repudiation or other business cases. This is primarily relevant where the bundle may travel through multiple hops or via other mechanisms where HTTPS non-repudiation is insufficient.",
      "min": 0,
      "definition": "Digital Signature - base64 encoded. XML-DSIg or a JWT.",
      "short": "Digital Signature",
      "type": [ {
        "code": "Signature"
      } ],
      "max": "1",
      "id": "Bundle.signature",
      "comment": "The signature could be created by the \"author\" of the bundle or by the originating device.   Requirements around inclusion of a signature, verification of signatures and treatment of signed/non-signed bundles is implementation-environment specific.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Bundle.signature"
      },
      "isSummary": true
    } ]
  },
  "status": "active",
  "id": "b7346694-a222-474f-b413-9927c2206b50",
  "kind": "resource",
  "url": "http://fhir.hl7.nl/zorgviewer/StructureDefinition/Medicatiegegevens",
  "version": "1.12.0",
  "differential": {
    "element": [ {
      "id": "Bundle",
      "path": "Bundle"
    }, {
      "id": "Bundle.type",
      "path": "Bundle.type",
      "short": "searchset",
      "fixedCode": "searchset"
    }, {
      "id": "Bundle.entry",
      "path": "Bundle.entry",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "resource",
          "type": "type"
        } ]
      }
    }, {
      "id": "Bundle.entry:MedicationRequest",
      "path": "Bundle.entry",
      "short": "MedicationRequest",
      "sliceName": "MedicationRequest"
    }, {
      "id": "Bundle.entry:MedicationRequest.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl"
    }, {
      "id": "Bundle.entry:MedicationRequest.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "MedicationRequest",
        "profile": "http://fhir.hl7.nl/zorgviewer/StructureDefinition/MedicationRequest"
      } ],
      "comment": "Medicationafspraak"
    }, {
      "id": "Bundle.entry:MedicationStatement",
      "path": "Bundle.entry",
      "short": "MedicationStatement",
      "sliceName": "MedicationStatement"
    }, {
      "id": "Bundle.entry:MedicationStatement.fullUrl",
      "min": 1,
      "path": "Bundle.entry.fullUrl"
    }, {
      "id": "Bundle.entry:MedicationStatement.resource",
      "min": 1,
      "path": "Bundle.entry.resource",
      "type": [ {
        "code": "MedicationStatement",
        "profile": "http://fhir.hl7.nl/zorgviewer/StructureDefinition/MedicationStatement"
      } ],
      "comment": "Medicationgebruik"
    } ]
  },
  "contact": [ {
    "name": "RIVO-NN",
    "telecom": [ {
      "value": "https://rivo-noord.nl",
      "system": "url"
    } ]
  }, {
    "name": "HL7NL",
    "telecom": [ {
      "value": "https://hl7.nl",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle"
}