RIVO-Noord Zorgviewer Implementation Guide
1.21.0 - CI build Netherlands flag

RIVO-Noord Zorgviewer Implementation Guide, published by RIVO-NN HL7NL. This guide is not an authorized publication; it is the continuous build for version 1.21.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/RIVO-Noord/zorgviewer-ig/ and changes regularly. See the Directory of published versions

Resource Profile: Medicatiegegevens ( Abstract )

Official URL: http://fhir.hl7.nl/zorgviewer/StructureDefinition/Medicatiegegevens Version: 1.21.0
Active as of 2025-10-15 Computable Name: Medicatiegegevens

Medicatiegegevens abstract samenstelling voor het documenteren van de combinatie van Medicatieafspraak en Medicatie Gebruik

Dit Profiel is het resultaat van de vergelijking tussen de zib2017 FHIR Profiel en de implementaties in Epic, Chipsoft, Topicus en Nexus. De elementen die in ieder geval in alle output beschikbaar zullen zijn. Voornamelijk bedoeld voor houvast van een client en voor validatie van output.

Zorginformatiebouwsteen

View Definition

ViewDefinition voor Medicatiegegevens

UI Wireframe

Medicatiegebruik en -afspraken

>< Bron Start Eind Medicatie Dosering & instructies Toedieningsweg Stop type
+ Chipsoft 15-8-2016 14-9-2016 METOCLOPRAMIDE ZETPIL 10MG 1x elke 1 dag, indien nodig (Zo nodig)
Aanvullende instructie 1: Pas op met alc...
RECTAAL Definitief
Afspraakdatum
30-9-2022
Voorschrijver
Peter van Pulver
+ Epic 27-11-2020 metoPROLOL 50mg tablet 1x per dag 50 mg innemen. Oraal
Medicatie vorm
tablet
Afspraakdatum
27-11-2020
Voorschrijver
M Crop
+ Nexus 3-10-2023 GLYCEROFOSFORZ. INFCONC 1MMOL/ML(FOSFAAT) AMP 20ML 1x elke 1 dag om 08:00:00 ⓘ INTRAVENEUS
Afspraakdatum
3-10-2023
Voorschrijver
Aalders, JCA (CAR)
+ Sanday PANTOPRAZOL TABLET MSR 40MG 2 maal per dag 1 tablet;1 TABLET 1 UUR VOOR DE MAALTIJD
Afspraakdatum
6-8-2025
Voorschrijver
Jenneke van der Vecht
>< Bron Start Eind Medicatie Dosering & instructies Toedieningsweg Stop type
+ Epic simvastatine 20mg tablet innemen. s Avonds innemen; Bij dit middel GEEN grapefruit(sap) gebruiken Oraal
Registratiedatum
15-3-2018
Type
huidig

Kolom Definities

Kolom label FHIR Path Expression FHIR Type Zib element Toelichting of regels
MedicationRequest
Bron meta.extension('http://hl7.org/fhir/4.0/StructureDefinition/extension-Meta.source').valueUri string nvt Lookup adhv uri (AGB-Z of OID) <adressering-base>/Organization?identifier=<.meta.tag.code> en gebruik dan Organization.name
Start extension('http://nictiz.nl/fhir/StructureDefinition/zib-Medication-PeriodOfUse').valuePeriod.start dateTime Gebruiksperiode::TijdsInterval/startDatumTijd
Eind extension('http://nictiz.nl/fhir/StructureDefinition/zib-Medication-PeriodOfUse').valuePeriod.end dateTime Gebruiksperiode::TijdsInterval/eindDatumTijd
Medicatie medication.display string Afgesprokengeneesmiddel::Product
Dosering & instructies dosageInstruction.text | extension('http://nictiz.nl/fhir/StructureDefinition/ext-RenderedDosageInstruction').valueString string Gebruiksinstructie/Omschrijving, Gebruiksinstructie/AanvullendeInstructie N.B. Als text niet beschikbaar dan samenstellen uit discrete informatie en markeren met een icoontje ⓘ
Toedieningsweg iif(exists(dosageInstruction.route.text), dosageInstruction.route.text, dosageInstruction.route.coding.display) string Gebruiksinstructie/Toedieningsweg
Stop type modifierExtension.where(url='http://nictiz.nl/fhir/StructureDefinition/zib-Medication-StopType').valueCodeableConcept.coding.display string StopType
UITKLAPVELD
+Medicatie vorm medication.resolve().form.coding.display string Afgesprokengeneesmiddel::FarmaceutischProduct/FarmaceutischeVorm
+Afspraakdatum authoredOn dateTime MedicatieafspraakDatumTijd
+Voorschrijver requester.agent.display | requester.display string Voorschrijver::Zorgverlener LET OP: requester.display is een FHIR R4 veld
MedicationStatement
Bron meta.extension('http://hl7.org/fhir/4.0/StructureDefinition/extension-Meta.source').valueUri string nvt Lookup adhv uri (AGB-Z of OID) <adressering-base>/Organization?identifier=<.meta.tag.code> en gebruik dan Organization.name
Start effectivePeriod.start dateTime Gebruiksperiode::TijdsInterval/startDatumTijd
Eind effectivePeriod.end dateTime Gebruiksperiode::TijdsInterval/eindDatumTijd
Medicatie medication.display string Gebruiksproduct
Dosering & instructies dosage.text string Gebruiksinstructie/Omschrijving, Gebruiksinstructie/AanvullendeInstructie N.B. Als gegenereerd uit discrete informatie dan wordt deze gemarkeerd met een icoontje ⓘ
Toedieningsweg dosage.route.text string Gebruiksinstructie/Toedieningsweg
Stop type '' string nvt Niet van toepassing bij MedicationStatement
UITKLAPVELD
+Medicatie vorm medication.resolve().form.coding.display string Gebruiksproduct::FarmaceutischProduct/FarmaceutischeVorm
+Registratiedatum dateAsserted dateTime MedicatieGebruikDatumTijd
+Voorschrijver extension('http://nictiz.nl/fhir/StructureDefinition/zib-MedicationUse-Prescriber').valueReference.display string Voorschrijver::Zorgverlener
+Type 'huidig' string nvt

Requests

Er is geen request waarmee je beide resources in 1 keer kan opvragen. Je moet hiervoor dus een request doen per resource.

Usages:

  • This Profile is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Changes since version 1.20.0:

  • No changes
  • Formal Views of Profile Content

    Description of Profiles, Differentials, Snapshots and how the different presentations work.

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Bundle C 0..* Bundle This is an abstract profile.
    Contains a collection of resources
    Constraints: bdl-7, bdl-9, bdl-3, bdl-4, bdl-1, bdl-2
    ... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
    ... type Σ 1..1 code searchset
    Binding: BundleType (required): Indicates the purpose of a bundle - how it was intended to be used.
    Fixed Value: searchset
    ... Slices for entry ΣC 0..* BackboneElement Entry in the bundle - will have a resource, or information
    Slice: Unordered, Open by type:resource
    Constraints: bdl-8, bdl-5
    .... entry:All Slices Content/Rules for all slices
    ..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    .... entry:MedicationRequest ΣC 0..* BackboneElement MedicationRequest
    Constraints: bdl-8, bdl-5
    ..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ..... fullUrl Σ 1..1 uri Absolute URL for resource (server address, or UUID/OID)
    ..... resource Σ 1..1 MedicationAgreement MedicationAgreement
    .... entry:MedicationStatement ΣC 0..* BackboneElement MedicationStatement
    Constraints: bdl-8, bdl-5
    ..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ..... fullUrl Σ 1..1 uri Absolute URL for resource (server address, or UUID/OID)
    ..... resource Σ 1..1 MedicationUse MedicationUse

    doco Documentation for this format

    Terminology Bindings

    Path Status Usage ValueSet Version Source
    Bundle.type Base required BundleType 📍3.0.2 FHIR Std.

    Constraints

    Id Grade Path(s) Description Expression
    bdl-1 error Bundle total only when a search or history total.empty() or (type = 'searchset') or (type = 'history')
    bdl-2 error Bundle entry.search only when a search entry.search.empty() or (type = 'searchset')
    bdl-3 error Bundle entry.request only for some types of bundles entry.request.empty() or type = 'batch' or type = 'transaction' or type = 'history'
    bdl-4 error Bundle entry.response only for some types of bundles entry.response.empty() or type = 'batch-response' or type = 'transaction-response'
    bdl-5 error Bundle.entry, Bundle.entry:MedicationRequest, Bundle.entry:MedicationStatement must be a resource unless there's a request or response resource.exists() or request.exists() or response.exists()
    bdl-7 error Bundle FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId entry.where(fullUrl).select(fullUrl&resource.meta.versionId).isDistinct()
    bdl-8 error Bundle.entry, Bundle.entry:MedicationRequest, Bundle.entry:MedicationStatement fullUrl cannot be a version specific reference fullUrl.contains('/_history/').not()
    bdl-9 error Bundle A document must have an identifier with a system and a value type = 'document' implies (identifier.system.exists() and identifier.value.exists())
    ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() | (children().count() > id.count())

    This structure is derived from Bundle

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Bundle 0..* Bundle This is an abstract profile.
    Contains a collection of resources
    ... type 1..1 code searchset
    Fixed Value: searchset
    ... Slices for entry 0..* BackboneElement Entry in the bundle - will have a resource, or information
    Slice: Unordered, Open by type:resource
    .... entry:MedicationRequest 0..* BackboneElement MedicationRequest
    ..... fullUrl 1..1 uri Absolute URL for resource (server address, or UUID/OID)
    ..... resource 1..1 MedicationAgreement MedicationAgreement
    .... entry:MedicationStatement 0..* BackboneElement MedicationStatement
    ..... fullUrl 1..1 uri Absolute URL for resource (server address, or UUID/OID)
    ..... resource 1..1 MedicationUse MedicationUse

    doco Documentation for this format
    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Bundle C 0..* Bundle This is an abstract profile.
    Contains a collection of resources
    Constraints: bdl-7, bdl-9, bdl-3, bdl-4, bdl-1, bdl-2
    ... id Σ 0..1 id Logical id of this artifact
    ... meta Σ 0..1 Meta Metadata about the resource
    ... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
    ... identifier Σ 0..1 Identifier Persistent identifier for the bundle
    ... type Σ 1..1 code searchset
    Binding: BundleType (required): Indicates the purpose of a bundle - how it was intended to be used.
    Fixed Value: searchset
    ... total ΣC 0..1 unsignedInt If search, the total number of matches
    ... link Σ 0..* BackboneElement Links related to this Bundle
    .... id 0..1 string xml:id (or equivalent in JSON)
    .... extension 0..* Extension Additional Content defined by implementations
    .... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    .... relation Σ 1..1 string See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1
    .... url Σ 1..1 uri Reference details for the link
    ... Slices for entry ΣC 0..* BackboneElement Entry in the bundle - will have a resource, or information
    Slice: Unordered, Open by type:resource
    Constraints: bdl-8, bdl-5
    .... entry:All Slices Content/Rules for all slices
    ..... id 0..1 string xml:id (or equivalent in JSON)
    ..... extension 0..* Extension Additional Content defined by implementations
    ..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ..... link Σ 0..* See link (Bundle) Links related to this entry
    ..... fullUrl Σ 0..1 uri Absolute URL for resource (server address, or UUID/OID)
    ..... resource Σ 0..1 Resource A resource in the bundle
    ..... search ΣC 0..1 BackboneElement Search related information
    ...... id 0..1 string xml:id (or equivalent in JSON)
    ...... extension 0..* Extension Additional Content defined by implementations
    ...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ...... mode Σ 0..1 code match | include | outcome - why this is in the result set
    Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement.
    ...... score Σ 0..1 decimal Search ranking (between 0 and 1)
    ..... request ΣC 0..1 BackboneElement Transaction Related Information
    ...... id 0..1 string xml:id (or equivalent in JSON)
    ...... extension 0..* Extension Additional Content defined by implementations
    ...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ...... method Σ 1..1 code GET | POST | PUT | DELETE
    Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line).
    ...... url Σ 1..1 uri URL for HTTP equivalent of this entry
    ...... ifNoneMatch Σ 0..1 string For managing cache currency
    ...... ifModifiedSince Σ 0..1 instant For managing update contention
    ...... ifMatch Σ 0..1 string For managing update contention
    ...... ifNoneExist Σ 0..1 string For conditional creates
    ..... response ΣC 0..1 BackboneElement Transaction Related Information
    ...... id 0..1 string xml:id (or equivalent in JSON)
    ...... extension 0..* Extension Additional Content defined by implementations
    ...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ...... status Σ 1..1 string Status response code (text optional)
    ...... location Σ 0..1 uri The location, if the operation returns a location
    ...... etag Σ 0..1 string The etag for the resource (if relevant)
    ...... lastModified Σ 0..1 instant Server's date time modified
    ...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
    .... entry:MedicationRequest ΣC 0..* BackboneElement MedicationRequest
    Constraints: bdl-8, bdl-5
    ..... id 0..1 string xml:id (or equivalent in JSON)
    ..... extension 0..* Extension Additional Content defined by implementations
    ..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ..... link Σ 0..* See link (Bundle) Links related to this entry
    ..... fullUrl Σ 1..1 uri Absolute URL for resource (server address, or UUID/OID)
    ..... resource Σ 1..1 MedicationAgreement MedicationAgreement
    ..... search ΣC 0..1 BackboneElement Search related information
    ...... id 0..1 string xml:id (or equivalent in JSON)
    ...... extension 0..* Extension Additional Content defined by implementations
    ...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ...... mode Σ 0..1 code match | include | outcome - why this is in the result set
    Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement.
    ...... score Σ 0..1 decimal Search ranking (between 0 and 1)
    ..... request ΣC 0..1 BackboneElement Transaction Related Information
    ...... id 0..1 string xml:id (or equivalent in JSON)
    ...... extension 0..* Extension Additional Content defined by implementations
    ...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ...... method Σ 1..1 code GET | POST | PUT | DELETE
    Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line).
    ...... url Σ 1..1 uri URL for HTTP equivalent of this entry
    ...... ifNoneMatch Σ 0..1 string For managing cache currency
    ...... ifModifiedSince Σ 0..1 instant For managing update contention
    ...... ifMatch Σ 0..1 string For managing update contention
    ...... ifNoneExist Σ 0..1 string For conditional creates
    ..... response ΣC 0..1 BackboneElement Transaction Related Information
    ...... id 0..1 string xml:id (or equivalent in JSON)
    ...... extension 0..* Extension Additional Content defined by implementations
    ...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ...... status Σ 1..1 string Status response code (text optional)
    ...... location Σ 0..1 uri The location, if the operation returns a location
    ...... etag Σ 0..1 string The etag for the resource (if relevant)
    ...... lastModified Σ 0..1 instant Server's date time modified
    ...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
    .... entry:MedicationStatement ΣC 0..* BackboneElement MedicationStatement
    Constraints: bdl-8, bdl-5
    ..... id 0..1 string xml:id (or equivalent in JSON)
    ..... extension 0..* Extension Additional Content defined by implementations
    ..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ..... link Σ 0..* See link (Bundle) Links related to this entry
    ..... fullUrl Σ 1..1 uri Absolute URL for resource (server address, or UUID/OID)
    ..... resource Σ 1..1 MedicationUse MedicationUse
    ..... search ΣC 0..1 BackboneElement Search related information
    ...... id 0..1 string xml:id (or equivalent in JSON)
    ...... extension 0..* Extension Additional Content defined by implementations
    ...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ...... mode Σ 0..1 code match | include | outcome - why this is in the result set
    Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement.
    ...... score Σ 0..1 decimal Search ranking (between 0 and 1)
    ..... request ΣC 0..1 BackboneElement Transaction Related Information
    ...... id 0..1 string xml:id (or equivalent in JSON)
    ...... extension 0..* Extension Additional Content defined by implementations
    ...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ...... method Σ 1..1 code GET | POST | PUT | DELETE
    Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line).
    ...... url Σ 1..1 uri URL for HTTP equivalent of this entry
    ...... ifNoneMatch Σ 0..1 string For managing cache currency
    ...... ifModifiedSince Σ 0..1 instant For managing update contention
    ...... ifMatch Σ 0..1 string For managing update contention
    ...... ifNoneExist Σ 0..1 string For conditional creates
    ..... response ΣC 0..1 BackboneElement Transaction Related Information
    ...... id 0..1 string xml:id (or equivalent in JSON)
    ...... extension 0..* Extension Additional Content defined by implementations
    ...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ...... status Σ 1..1 string Status response code (text optional)
    ...... location Σ 0..1 uri The location, if the operation returns a location
    ...... etag Σ 0..1 string The etag for the resource (if relevant)
    ...... lastModified Σ 0..1 instant Server's date time modified
    ...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
    ... signature Σ 0..1 Signature Digital Signature

    doco Documentation for this format

    Terminology Bindings

    Path Status Usage ValueSet Version Source
    Bundle.language Base extensible Common Languages 📍3.0.2 FHIR Std.
    Bundle.type Base required BundleType 📍3.0.2 FHIR Std.
    Bundle.entry.search.​mode Base required SearchEntryMode 📍3.0.2 FHIR Std.
    Bundle.entry.request.​method Base required HTTPVerb 📍3.0.2 FHIR Std.
    Bundle.entry:MedicationRequest.​search.mode Base required SearchEntryMode 📍3.0.2 FHIR Std.
    Bundle.entry:MedicationRequest.​request.method Base required HTTPVerb 📍3.0.2 FHIR Std.
    Bundle.entry:MedicationStatement.​search.mode Base required SearchEntryMode 📍3.0.2 FHIR Std.
    Bundle.entry:MedicationStatement.​request.method Base required HTTPVerb 📍3.0.2 FHIR Std.

    Constraints

    Id Grade Path(s) Description Expression
    bdl-1 error Bundle total only when a search or history total.empty() or (type = 'searchset') or (type = 'history')
    bdl-2 error Bundle entry.search only when a search entry.search.empty() or (type = 'searchset')
    bdl-3 error Bundle entry.request only for some types of bundles entry.request.empty() or type = 'batch' or type = 'transaction' or type = 'history'
    bdl-4 error Bundle entry.response only for some types of bundles entry.response.empty() or type = 'batch-response' or type = 'transaction-response'
    bdl-5 error Bundle.entry, Bundle.entry:MedicationRequest, Bundle.entry:MedicationStatement must be a resource unless there's a request or response resource.exists() or request.exists() or response.exists()
    bdl-7 error Bundle FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId entry.where(fullUrl).select(fullUrl&resource.meta.versionId).isDistinct()
    bdl-8 error Bundle.entry, Bundle.entry:MedicationRequest, Bundle.entry:MedicationStatement fullUrl cannot be a version specific reference fullUrl.contains('/_history/').not()
    bdl-9 error Bundle A document must have an identifier with a system and a value type = 'document' implies (identifier.system.exists() and identifier.value.exists())
    ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() | (children().count() > id.count())

    This structure is derived from Bundle

    Summary

    Mandatory: 0 element(4 nested mandatory elements)
    Fixed: 1 element

    Structures

    This structure refers to these other structures:

    Slices

    This structure defines the following Slices:

    • The element 1 is sliced based on the value of Bundle.entry

    Key Elements View

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Bundle C 0..* Bundle This is an abstract profile.
    Contains a collection of resources
    Constraints: bdl-7, bdl-9, bdl-3, bdl-4, bdl-1, bdl-2
    ... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
    ... type Σ 1..1 code searchset
    Binding: BundleType (required): Indicates the purpose of a bundle - how it was intended to be used.
    Fixed Value: searchset
    ... Slices for entry ΣC 0..* BackboneElement Entry in the bundle - will have a resource, or information
    Slice: Unordered, Open by type:resource
    Constraints: bdl-8, bdl-5
    .... entry:All Slices Content/Rules for all slices
    ..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    .... entry:MedicationRequest ΣC 0..* BackboneElement MedicationRequest
    Constraints: bdl-8, bdl-5
    ..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ..... fullUrl Σ 1..1 uri Absolute URL for resource (server address, or UUID/OID)
    ..... resource Σ 1..1 MedicationAgreement MedicationAgreement
    .... entry:MedicationStatement ΣC 0..* BackboneElement MedicationStatement
    Constraints: bdl-8, bdl-5
    ..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ..... fullUrl Σ 1..1 uri Absolute URL for resource (server address, or UUID/OID)
    ..... resource Σ 1..1 MedicationUse MedicationUse

    doco Documentation for this format

    Terminology Bindings

    Path Status Usage ValueSet Version Source
    Bundle.type Base required BundleType 📍3.0.2 FHIR Std.

    Constraints

    Id Grade Path(s) Description Expression
    bdl-1 error Bundle total only when a search or history total.empty() or (type = 'searchset') or (type = 'history')
    bdl-2 error Bundle entry.search only when a search entry.search.empty() or (type = 'searchset')
    bdl-3 error Bundle entry.request only for some types of bundles entry.request.empty() or type = 'batch' or type = 'transaction' or type = 'history'
    bdl-4 error Bundle entry.response only for some types of bundles entry.response.empty() or type = 'batch-response' or type = 'transaction-response'
    bdl-5 error Bundle.entry, Bundle.entry:MedicationRequest, Bundle.entry:MedicationStatement must be a resource unless there's a request or response resource.exists() or request.exists() or response.exists()
    bdl-7 error Bundle FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId entry.where(fullUrl).select(fullUrl&resource.meta.versionId).isDistinct()
    bdl-8 error Bundle.entry, Bundle.entry:MedicationRequest, Bundle.entry:MedicationStatement fullUrl cannot be a version specific reference fullUrl.contains('/_history/').not()
    bdl-9 error Bundle A document must have an identifier with a system and a value type = 'document' implies (identifier.system.exists() and identifier.value.exists())
    ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() | (children().count() > id.count())

    Differential View

    This structure is derived from Bundle

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Bundle 0..* Bundle This is an abstract profile.
    Contains a collection of resources
    ... type 1..1 code searchset
    Fixed Value: searchset
    ... Slices for entry 0..* BackboneElement Entry in the bundle - will have a resource, or information
    Slice: Unordered, Open by type:resource
    .... entry:MedicationRequest 0..* BackboneElement MedicationRequest
    ..... fullUrl 1..1 uri Absolute URL for resource (server address, or UUID/OID)
    ..... resource 1..1 MedicationAgreement MedicationAgreement
    .... entry:MedicationStatement 0..* BackboneElement MedicationStatement
    ..... fullUrl 1..1 uri Absolute URL for resource (server address, or UUID/OID)
    ..... resource 1..1 MedicationUse MedicationUse

    doco Documentation for this format

    Snapshot View

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Bundle C 0..* Bundle This is an abstract profile.
    Contains a collection of resources
    Constraints: bdl-7, bdl-9, bdl-3, bdl-4, bdl-1, bdl-2
    ... id Σ 0..1 id Logical id of this artifact
    ... meta Σ 0..1 Meta Metadata about the resource
    ... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
    ... identifier Σ 0..1 Identifier Persistent identifier for the bundle
    ... type Σ 1..1 code searchset
    Binding: BundleType (required): Indicates the purpose of a bundle - how it was intended to be used.
    Fixed Value: searchset
    ... total ΣC 0..1 unsignedInt If search, the total number of matches
    ... link Σ 0..* BackboneElement Links related to this Bundle
    .... id 0..1 string xml:id (or equivalent in JSON)
    .... extension 0..* Extension Additional Content defined by implementations
    .... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    .... relation Σ 1..1 string See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1
    .... url Σ 1..1 uri Reference details for the link
    ... Slices for entry ΣC 0..* BackboneElement Entry in the bundle - will have a resource, or information
    Slice: Unordered, Open by type:resource
    Constraints: bdl-8, bdl-5
    .... entry:All Slices Content/Rules for all slices
    ..... id 0..1 string xml:id (or equivalent in JSON)
    ..... extension 0..* Extension Additional Content defined by implementations
    ..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ..... link Σ 0..* See link (Bundle) Links related to this entry
    ..... fullUrl Σ 0..1 uri Absolute URL for resource (server address, or UUID/OID)
    ..... resource Σ 0..1 Resource A resource in the bundle
    ..... search ΣC 0..1 BackboneElement Search related information
    ...... id 0..1 string xml:id (or equivalent in JSON)
    ...... extension 0..* Extension Additional Content defined by implementations
    ...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ...... mode Σ 0..1 code match | include | outcome - why this is in the result set
    Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement.
    ...... score Σ 0..1 decimal Search ranking (between 0 and 1)
    ..... request ΣC 0..1 BackboneElement Transaction Related Information
    ...... id 0..1 string xml:id (or equivalent in JSON)
    ...... extension 0..* Extension Additional Content defined by implementations
    ...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ...... method Σ 1..1 code GET | POST | PUT | DELETE
    Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line).
    ...... url Σ 1..1 uri URL for HTTP equivalent of this entry
    ...... ifNoneMatch Σ 0..1 string For managing cache currency
    ...... ifModifiedSince Σ 0..1 instant For managing update contention
    ...... ifMatch Σ 0..1 string For managing update contention
    ...... ifNoneExist Σ 0..1 string For conditional creates
    ..... response ΣC 0..1 BackboneElement Transaction Related Information
    ...... id 0..1 string xml:id (or equivalent in JSON)
    ...... extension 0..* Extension Additional Content defined by implementations
    ...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ...... status Σ 1..1 string Status response code (text optional)
    ...... location Σ 0..1 uri The location, if the operation returns a location
    ...... etag Σ 0..1 string The etag for the resource (if relevant)
    ...... lastModified Σ 0..1 instant Server's date time modified
    ...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
    .... entry:MedicationRequest ΣC 0..* BackboneElement MedicationRequest
    Constraints: bdl-8, bdl-5
    ..... id 0..1 string xml:id (or equivalent in JSON)
    ..... extension 0..* Extension Additional Content defined by implementations
    ..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ..... link Σ 0..* See link (Bundle) Links related to this entry
    ..... fullUrl Σ 1..1 uri Absolute URL for resource (server address, or UUID/OID)
    ..... resource Σ 1..1 MedicationAgreement MedicationAgreement
    ..... search ΣC 0..1 BackboneElement Search related information
    ...... id 0..1 string xml:id (or equivalent in JSON)
    ...... extension 0..* Extension Additional Content defined by implementations
    ...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ...... mode Σ 0..1 code match | include | outcome - why this is in the result set
    Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement.
    ...... score Σ 0..1 decimal Search ranking (between 0 and 1)
    ..... request ΣC 0..1 BackboneElement Transaction Related Information
    ...... id 0..1 string xml:id (or equivalent in JSON)
    ...... extension 0..* Extension Additional Content defined by implementations
    ...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ...... method Σ 1..1 code GET | POST | PUT | DELETE
    Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line).
    ...... url Σ 1..1 uri URL for HTTP equivalent of this entry
    ...... ifNoneMatch Σ 0..1 string For managing cache currency
    ...... ifModifiedSince Σ 0..1 instant For managing update contention
    ...... ifMatch Σ 0..1 string For managing update contention
    ...... ifNoneExist Σ 0..1 string For conditional creates
    ..... response ΣC 0..1 BackboneElement Transaction Related Information
    ...... id 0..1 string xml:id (or equivalent in JSON)
    ...... extension 0..* Extension Additional Content defined by implementations
    ...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ...... status Σ 1..1 string Status response code (text optional)
    ...... location Σ 0..1 uri The location, if the operation returns a location
    ...... etag Σ 0..1 string The etag for the resource (if relevant)
    ...... lastModified Σ 0..1 instant Server's date time modified
    ...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
    .... entry:MedicationStatement ΣC 0..* BackboneElement MedicationStatement
    Constraints: bdl-8, bdl-5
    ..... id 0..1 string xml:id (or equivalent in JSON)
    ..... extension 0..* Extension Additional Content defined by implementations
    ..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ..... link Σ 0..* See link (Bundle) Links related to this entry
    ..... fullUrl Σ 1..1 uri Absolute URL for resource (server address, or UUID/OID)
    ..... resource Σ 1..1 MedicationUse MedicationUse
    ..... search ΣC 0..1 BackboneElement Search related information
    ...... id 0..1 string xml:id (or equivalent in JSON)
    ...... extension 0..* Extension Additional Content defined by implementations
    ...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ...... mode Σ 0..1 code match | include | outcome - why this is in the result set
    Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement.
    ...... score Σ 0..1 decimal Search ranking (between 0 and 1)
    ..... request ΣC 0..1 BackboneElement Transaction Related Information
    ...... id 0..1 string xml:id (or equivalent in JSON)
    ...... extension 0..* Extension Additional Content defined by implementations
    ...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ...... method Σ 1..1 code GET | POST | PUT | DELETE
    Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line).
    ...... url Σ 1..1 uri URL for HTTP equivalent of this entry
    ...... ifNoneMatch Σ 0..1 string For managing cache currency
    ...... ifModifiedSince Σ 0..1 instant For managing update contention
    ...... ifMatch Σ 0..1 string For managing update contention
    ...... ifNoneExist Σ 0..1 string For conditional creates
    ..... response ΣC 0..1 BackboneElement Transaction Related Information
    ...... id 0..1 string xml:id (or equivalent in JSON)
    ...... extension 0..* Extension Additional Content defined by implementations
    ...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
    ...... status Σ 1..1 string Status response code (text optional)
    ...... location Σ 0..1 uri The location, if the operation returns a location
    ...... etag Σ 0..1 string The etag for the resource (if relevant)
    ...... lastModified Σ 0..1 instant Server's date time modified
    ...... outcome Σ 0..1 Resource OperationOutcome with hints and warnings (for batch/transaction)
    ... signature Σ 0..1 Signature Digital Signature

    doco Documentation for this format

    Terminology Bindings

    Path Status Usage ValueSet Version Source
    Bundle.language Base extensible Common Languages 📍3.0.2 FHIR Std.
    Bundle.type Base required BundleType 📍3.0.2 FHIR Std.
    Bundle.entry.search.​mode Base required SearchEntryMode 📍3.0.2 FHIR Std.
    Bundle.entry.request.​method Base required HTTPVerb 📍3.0.2 FHIR Std.
    Bundle.entry:MedicationRequest.​search.mode Base required SearchEntryMode 📍3.0.2 FHIR Std.
    Bundle.entry:MedicationRequest.​request.method Base required HTTPVerb 📍3.0.2 FHIR Std.
    Bundle.entry:MedicationStatement.​search.mode Base required SearchEntryMode 📍3.0.2 FHIR Std.
    Bundle.entry:MedicationStatement.​request.method Base required HTTPVerb 📍3.0.2 FHIR Std.

    Constraints

    Id Grade Path(s) Description Expression
    bdl-1 error Bundle total only when a search or history total.empty() or (type = 'searchset') or (type = 'history')
    bdl-2 error Bundle entry.search only when a search entry.search.empty() or (type = 'searchset')
    bdl-3 error Bundle entry.request only for some types of bundles entry.request.empty() or type = 'batch' or type = 'transaction' or type = 'history'
    bdl-4 error Bundle entry.response only for some types of bundles entry.response.empty() or type = 'batch-response' or type = 'transaction-response'
    bdl-5 error Bundle.entry, Bundle.entry:MedicationRequest, Bundle.entry:MedicationStatement must be a resource unless there's a request or response resource.exists() or request.exists() or response.exists()
    bdl-7 error Bundle FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId entry.where(fullUrl).select(fullUrl&resource.meta.versionId).isDistinct()
    bdl-8 error Bundle.entry, Bundle.entry:MedicationRequest, Bundle.entry:MedicationStatement fullUrl cannot be a version specific reference fullUrl.contains('/_history/').not()
    bdl-9 error Bundle A document must have an identifier with a system and a value type = 'document' implies (identifier.system.exists() and identifier.value.exists())
    ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() | (children().count() > id.count())

    This structure is derived from Bundle

    Summary

    Mandatory: 0 element(4 nested mandatory elements)
    Fixed: 1 element

    Structures

    This structure refers to these other structures:

    Slices

    This structure defines the following Slices:

    • The element 1 is sliced based on the value of Bundle.entry

     

    Other representations of profile: CSV, Excel, Schematron