CH EMED EPR
3.0.0-ci-build - ci-build Switzerland flag

CH EMED EPR, published by CARA. This guide is not an authorized publication; it is the continuous build for version 3.0.0-ci-build built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/CARA-ch/ch-emed-epr/ and changes regularly. See the Directory of published versions

Resource Profile: PMLC MedicationStatement

Official URL: http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-medicationstatement-card Version: 3.0.0-ci-build
Draft as of 2025-12-04 Computable Name: CHEMEDEPRMedicationStatementCard

Copyright/Legal: CC0-1.0

Definition of the aggregated medication statement for the Medication Card document

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* CHEMEDMedicationStatementCard CH EMED MedicationStatement (CARD)
Constraints: ch-dosage-medstat, split-dosage-unit-must-match-base-dosage
... contained 1..* Resource Contained, inline Resources
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:substitution 0..1 (Complex) Whether the dispenser can substitute the prescribed medicine/package by another that is deemed equivalent, for medical or logistical reasons. By default, substitution is authorized.
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution
..... id D 0..1 string ✕ This element is not supported
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution"
..... value[x] 1..1 CodeableConcept Whether substitution is allowed or not
Binding: Substance Administration Substitution Codes (required)
...... coding Σ 0..* Coding Code defined by a terminology system

Required Pattern: At least the following
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: N
....... display 1..1 string Representation defined by the system
Fixed Value: none
....... userSelected 0..1 boolean If this coding was chosen directly by the user
.... extension:treatmentPlan 1..1 (Complex) Reference to the MTP that introduced this medication in the treatment plan
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan
.... extension:authorDocument 0..1 (Complex) The last intervening author, only if different that the last medical author (see 'Document PMLC' and 'Guidance - Different Authors')
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author"
..... Slices for value[x] 1..1 Reference() Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueReference 1..1 Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) Author of the content
....... Slices for extension Content/Rules for all slices
........ extension:time 0..1 dateTime Timestamp of the authorship/data input
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time
....... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... extension:lastConsideredDocument 1..1 Identifier Optional Extensions Element
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-last-considered-document
.... extension:prescription 0..1 (Complex) Reference to the PRE that introduced this medication in the treatment plan, if any
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-prescription
... identifier Σ 1..1 Identifier MedicationStatement Identifier
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type ΣD 0..1 CodeableConcept ✕ This element is not supported
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value Σ 1..1 string Identifier value as UUID
Example General: 123456
Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9
.... period ΣD 0..1 Period ✕ This element is not supported
.... assigner ΣD 0..1 Reference(CH EMED EPR Organization) ✕ This element will be removed in PML(C) documents
... status ?!Σ 1..1 code active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
Binding: Medication Status Codes (required): A coded concept indicating the current status of a MedicationStatement.
... statusReason D 0..* CodeableConcept ✕ This element is not supported
Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement.
... category ΣD 0..1 CodeableConcept ✕ This element is not supported
Binding: Medication usage category codes (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.
... Slices for medication[x] Σ 1..1 Reference() What medication was taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference SΣ 0..1 Reference(CH EMED EPR Medication) {c} Reference to the contained medication
... subject Σ 1..1 Reference(CH EMED EPR Patient) {r, b} Patient
.... id D 0..1 string ✕ This element is not supported
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
... context ΣD 0..1 Reference(Encounter | EpisodeOfCare) ✕ This element will be removed in PML(C) documents
... effective[x] ΣD 0..1 ✕ Do not use. The effective period is contained in the main dosage
.... effectiveDateTime dateTime
.... effectivePeriod Period
... dateAsserted Σ 1..1 dateTime When the statement was asserted?
... informationSource 1..1 Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) The last medical author, (see 'Document PMLC' and 'Guidance - Different Authors')
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
... derivedFrom D 0..* Reference(Resource) ✕ This element will be removed in PML(C) documents
... reasonCode 0..* CodeableConcept The treatment reason(s) as text, and optionally coded
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken.
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... text SΣ 1..1 string Plain text representation of the treatment reason(s)
... reasonReference D 0..* Reference(Condition | Observation | DiagnosticReport) ✕ This element will be removed in PML(C) documents
... Slices for dosage 1..* CHCoreDosage How the medication should be taken
Slice: Unordered, Closed by profile:$this
.... dosage:baseEntry S 1..1 CHEMEDEPRDosage Base entry of the dosage instruction
.... dosage:additionalEntry S 0..* CHEMEDEPRDosageSplit Additional entry of the dosage instruction

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​extension:substitution.​value[x] Base required Substance Administration Substitution Codes 📦3.0.0-ci-build This IG
MedicationStatement.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationStatement.​identifier.type Base extensible IdentifierType 📦4.0.1 FHIR Std.
MedicationStatement.​status Base required Medication status codes 📍4.0.1 FHIR Std.
MedicationStatement.​statusReason Base example SNOMED CT Drug Therapy Status codes 📦4.0.1 FHIR Std.
MedicationStatement.​category Base preferred Medication usage category codes 📦4.0.1 FHIR Std.
MedicationStatement.​reasonCode Base example Condition/Problem/Diagnosis Codes 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ch-dosage-medstat error MedicationStatement If one dosage element is present, it should not have a sequence number. If more than one dosage element is present, the base entry has the sequence number 1. (dosage.count() > 1 implies dosage.where($this.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage') and sequence = 1).exists()) and (dosage.count() = 1 implies dosage.single().sequence.exists().not())
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationStatement If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
split-dosage-unit-must-match-base-dosage error MedicationStatement The unit for doseAndRate of different dosages (split dosage) belonging to the same statement/request/dispense must match. (dosage.count() > 1) implies dosage.doseAndRate.dose.ofType(Quantity).code.union(dosage.doseAndRate.dose.ofType(Range).low.code).union(dosage.doseAndRate.dose.ofType(Range).high.code).union(dosage.doseAndRate.rate.numerator.code).count() = 1

This structure is derived from CHEMEDMedicationStatementCard

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* CHEMEDMedicationStatementCard CH EMED MedicationStatement (CARD)
Constraints: split-dosage-unit-must-match-base-dosage
... meta
.... extension D 0..* Extension ✕ This element is not supported
.... versionId D 0..1 id ✕ This element is not supported
.... lastUpdated D 0..1 instant ✕ This element is not supported
.... source D 0..1 uri ✕ This element is not supported
.... security D 0..* Coding ✕ This element is not supported
.... tag D 0..* Coding ✕ This element is not supported
... implicitRules 0..0 A set of rules under which this content was created
... extension 2..* Extension Extension
.... extension:substitution 0..1 CHEMEDExtSubstitution Whether the dispenser can substitute the prescribed medicine/package by another that is deemed equivalent, for medical or logistical reasons. By default, substitution is authorized.
..... id D 0..1 string ✕ This element is not supported
..... value[x] 1..1 CodeableConcept Whether substitution is allowed or not
Binding: Substance Administration Substitution Codes (required)
...... coding 0..* Coding Code defined by a terminology system
Required Pattern: At least the following
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: N
....... display 1..1 string Representation defined by the system
Fixed Value: none
.... extension:treatmentPlan 1..1 CHEMEDExtTreatmentPlan Reference to the MTP that introduced this medication in the treatment plan
.... extension:authorDocument 0..1 Author The last intervening author, only if different that the last medical author (see 'Document PMLC' and 'Guidance - Different Authors')
..... Slices for value[x] Content/Rules for all slices
...... value[x]:valueReference 1..1 Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) Author of the content
.... extension:lastConsideredDocument 1..1 CHEMEDExtLastConsideredDocument Optional Extensions Element
.... extension:prescription 0..1 (Complex) Reference to the PRE that introduced this medication in the treatment plan, if any
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-prescription
... modifierExtension 0..0 Extension
... identifier
.... extension D 0..* Extension ✕ This element is not supported
.... type D 0..1 CodeableConcept ✕ This element is not supported
.... period D 0..1 Period ✕ This element is not supported
.... assigner D 0..1 Reference(CH EMED EPR Organization) ✕ This element will be removed in PML(C) documents
... basedOn D 0..* Reference(MedicationRequest | CarePlan | ServiceRequest) ✕ This element will be removed in PML(C) documents
... partOf 0..0 Part of referenced event
... statusReason D 0..* CodeableConcept ✕ This element is not supported
... category D 0..1 CodeableConcept ✕ This element is not supported
... Slices for medication[x] Content/Rules for all slices
.... medication[x]:medicationReference 0..1 Reference(CH EMED EPR Medication) {c} Reference to the contained medication
... subject 1..1 Reference(CH EMED EPR Patient) {r, b} Patient
.... id D 0..1 string ✕ This element is not supported
.... extension D 0..* Extension ✕ This element is not supported
... context D 0..1 Reference(Encounter | EpisodeOfCare) ✕ This element will be removed in PML(C) documents
... effective[x] D 0..1 dateTime, Period ✕ Do not use. The effective period is contained in the main dosage
... informationSource 1..1 Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) The last medical author, (see 'Document PMLC' and 'Guidance - Different Authors')
... derivedFrom D 0..* Reference(Resource) ✕ This element will be removed in PML(C) documents
... reasonCode 0..* CodeableConcept The treatment reason(s) as text, and optionally coded
.... extension D 0..* Extension ✕ This element is not supported
.... text 1..1 string Plain text representation of the treatment reason(s)
... reasonReference D 0..* Reference(Condition | Observation | DiagnosticReport) ✕ This element will be removed in PML(C) documents
... note
.... id D 0..1 string ✕ This element is not supported
.... extension D 0..* Extension ✕ This element is not supported
.... author[x] 1..1 Reference(Practitioner | Patient | RelatedPerson | Organization) Individual responsible for the annotation
.... time 1..1 dateTime When the annotation was made
.... text 1..1 markdown The annotation text content (as raw text, no markdown allowed).
... Slices for dosage Content/Rules for all slices
.... dosage:baseEntry 1..1 CHEMEDEPRDosage Base entry of the dosage instruction
.... dosage:additionalEntry 0..* CHEMEDEPRDosageSplit Additional entry of the dosage instruction

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationStatement.​extension:substitution.​value[x] Base required Substance Administration Substitution Codes 📦3.0.0-ci-build This IG

Constraints

Id Grade Path(s) Description Expression
split-dosage-unit-must-match-base-dosage error MedicationStatement The unit for doseAndRate of different dosages (split dosage) belonging to the same statement/request/dispense must match. (dosage.count() > 1) implies dosage.doseAndRate.dose.ofType(Quantity).code.union(dosage.doseAndRate.dose.ofType(Range).low.code).union(dosage.doseAndRate.dose.ofType(Range).high.code).union(dosage.doseAndRate.rate.numerator.code).count() = 1
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* CHEMEDMedicationStatementCard CH EMED MedicationStatement (CARD)
Constraints: ch-dosage-medstat, split-dosage-unit-must-match-base-dosage
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... versionId ΣD 0..1 id ✕ This element is not supported
.... lastUpdated ΣD 0..1 instant ✕ This element is not supported
.... source ΣD 0..1 uri ✕ This element is not supported
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security ΣD 0..* Coding ✕ This element is not supported
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag ΣD 0..* Coding ✕ This element is not supported
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... contained 1..* Resource Contained, inline Resources
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:substitution 0..1 (Complex) Whether the dispenser can substitute the prescribed medicine/package by another that is deemed equivalent, for medical or logistical reasons. By default, substitution is authorized.
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution
..... id D 0..1 string ✕ This element is not supported
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution"
..... value[x] 1..1 CodeableConcept Whether substitution is allowed or not
Binding: Substance Administration Substitution Codes (required)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system

Required Pattern: At least the following
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: N
....... display 1..1 string Representation defined by the system
Fixed Value: none
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
.... extension:treatmentPlan 1..1 (Complex) Reference to the MTP that introduced this medication in the treatment plan
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan
.... extension:authorDocument 0..1 (Complex) The last intervening author, only if different that the last medical author (see 'Document PMLC' and 'Guidance - Different Authors')
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author"
..... Slices for value[x] 1..1 Reference() Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueReference 1..1 Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) Author of the content
....... id 0..1 string Unique id for inter-element referencing
....... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ extension:time 0..1 dateTime Timestamp of the authorship/data input
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time
....... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
....... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
....... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
....... display Σ 0..1 string Text alternative for the resource
.... extension:lastConsideredDocument 1..1 Identifier Optional Extensions Element
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-last-considered-document
.... extension:prescription 0..1 (Complex) Reference to the PRE that introduced this medication in the treatment plan, if any
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-prescription
... identifier Σ 1..1 Identifier MedicationStatement Identifier
.... id 0..1 string Unique id for inter-element referencing
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type ΣD 0..1 CodeableConcept ✕ This element is not supported
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value Σ 1..1 string Identifier value as UUID
Example General: 123456
Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9
.... period ΣD 0..1 Period ✕ This element is not supported
.... assigner ΣD 0..1 Reference(CH EMED EPR Organization) ✕ This element will be removed in PML(C) documents
... basedOn ΣD 0..* Reference(MedicationRequest | CarePlan | ServiceRequest) ✕ This element will be removed in PML(C) documents
... status ?!Σ 1..1 code active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
Binding: Medication Status Codes (required): A coded concept indicating the current status of a MedicationStatement.
... statusReason D 0..* CodeableConcept ✕ This element is not supported
Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement.
... category ΣD 0..1 CodeableConcept ✕ This element is not supported
Binding: Medication usage category codes (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.
... Slices for medication[x] Σ 1..1 Reference() What medication was taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference SΣ 0..1 Reference(CH EMED EPR Medication) {c} Reference to the contained medication
... subject Σ 1..1 Reference(CH EMED EPR Patient) {r, b} Patient
.... id D 0..1 string ✕ This element is not supported
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... context ΣD 0..1 Reference(Encounter | EpisodeOfCare) ✕ This element will be removed in PML(C) documents
... effective[x] ΣD 0..1 ✕ Do not use. The effective period is contained in the main dosage
.... effectiveDateTime dateTime
.... effectivePeriod Period
... dateAsserted Σ 1..1 dateTime When the statement was asserted?
... informationSource 1..1 Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) The last medical author, (see 'Document PMLC' and 'Guidance - Different Authors')
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... derivedFrom D 0..* Reference(Resource) ✕ This element will be removed in PML(C) documents
... reasonCode 0..* CodeableConcept The treatment reason(s) as text, and optionally coded
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken.
.... id 0..1 string Unique id for inter-element referencing
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
.... text SΣ 1..1 string Plain text representation of the treatment reason(s)
... reasonReference D 0..* Reference(Condition | Observation | DiagnosticReport) ✕ This element will be removed in PML(C) documents
... note 0..* Annotation Annotation comment
.... id D 0..1 string ✕ This element is not supported
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... author[x] Σ 1..1 Reference(Practitioner | Patient | RelatedPerson | Organization) Individual responsible for the annotation
.... time Σ 1..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation text content (as raw text, no markdown allowed).
... Slices for dosage 1..* CHCoreDosage How the medication should be taken
Slice: Unordered, Closed by profile:$this
.... dosage:baseEntry S 1..1 CHEMEDEPRDosage Base entry of the dosage instruction
.... dosage:additionalEntry S 0..* CHEMEDEPRDosageSplit Additional entry of the dosage instruction

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
MedicationStatement.​meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
MedicationStatement.​language Base preferred Common Languages 📦4.0.1 FHIR Std.
MedicationStatement.​extension:substitution.​value[x] Base required Substance Administration Substitution Codes 📦3.0.0-ci-build This IG
MedicationStatement.​extension:authorDocument.​value[x]:valueReference.​type Base extensible ResourceType 📦4.0.1 FHIR Std.
MedicationStatement.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationStatement.​identifier.type Base extensible IdentifierType 📦4.0.1 FHIR Std.
MedicationStatement.​status Base required Medication status codes 📍4.0.1 FHIR Std.
MedicationStatement.​statusReason Base example SNOMED CT Drug Therapy Status codes 📦4.0.1 FHIR Std.
MedicationStatement.​category Base preferred Medication usage category codes 📦4.0.1 FHIR Std.
MedicationStatement.​subject.type Base extensible ResourceType 📦4.0.1 FHIR Std.
MedicationStatement.​informationSource.type Base extensible ResourceType 📦4.0.1 FHIR Std.
MedicationStatement.​reasonCode Base example Condition/Problem/Diagnosis Codes 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ch-dosage-medstat error MedicationStatement If one dosage element is present, it should not have a sequence number. If more than one dosage element is present, the base entry has the sequence number 1. (dosage.count() > 1 implies dosage.where($this.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage') and sequence = 1).exists()) and (dosage.count() = 1 implies dosage.single().sequence.exists().not())
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationStatement If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
split-dosage-unit-must-match-base-dosage error MedicationStatement The unit for doseAndRate of different dosages (split dosage) belonging to the same statement/request/dispense must match. (dosage.count() > 1) implies dosage.doseAndRate.dose.ofType(Quantity).code.union(dosage.doseAndRate.dose.ofType(Range).low.code).union(dosage.doseAndRate.dose.ofType(Range).high.code).union(dosage.doseAndRate.rate.numerator.code).count() = 1

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* CHEMEDMedicationStatementCard CH EMED MedicationStatement (CARD)
Constraints: ch-dosage-medstat, split-dosage-unit-must-match-base-dosage
... contained 1..* Resource Contained, inline Resources
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:substitution 0..1 (Complex) Whether the dispenser can substitute the prescribed medicine/package by another that is deemed equivalent, for medical or logistical reasons. By default, substitution is authorized.
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution
..... id D 0..1 string ✕ This element is not supported
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution"
..... value[x] 1..1 CodeableConcept Whether substitution is allowed or not
Binding: Substance Administration Substitution Codes (required)
...... coding Σ 0..* Coding Code defined by a terminology system

Required Pattern: At least the following
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: N
....... display 1..1 string Representation defined by the system
Fixed Value: none
....... userSelected 0..1 boolean If this coding was chosen directly by the user
.... extension:treatmentPlan 1..1 (Complex) Reference to the MTP that introduced this medication in the treatment plan
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan
.... extension:authorDocument 0..1 (Complex) The last intervening author, only if different that the last medical author (see 'Document PMLC' and 'Guidance - Different Authors')
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author"
..... Slices for value[x] 1..1 Reference() Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueReference 1..1 Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) Author of the content
....... Slices for extension Content/Rules for all slices
........ extension:time 0..1 dateTime Timestamp of the authorship/data input
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time
....... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... extension:lastConsideredDocument 1..1 Identifier Optional Extensions Element
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-last-considered-document
.... extension:prescription 0..1 (Complex) Reference to the PRE that introduced this medication in the treatment plan, if any
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-prescription
... identifier Σ 1..1 Identifier MedicationStatement Identifier
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type ΣD 0..1 CodeableConcept ✕ This element is not supported
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value Σ 1..1 string Identifier value as UUID
Example General: 123456
Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9
.... period ΣD 0..1 Period ✕ This element is not supported
.... assigner ΣD 0..1 Reference(CH EMED EPR Organization) ✕ This element will be removed in PML(C) documents
... status ?!Σ 1..1 code active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
Binding: Medication Status Codes (required): A coded concept indicating the current status of a MedicationStatement.
... statusReason D 0..* CodeableConcept ✕ This element is not supported
Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement.
... category ΣD 0..1 CodeableConcept ✕ This element is not supported
Binding: Medication usage category codes (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.
... Slices for medication[x] Σ 1..1 Reference() What medication was taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference SΣ 0..1 Reference(CH EMED EPR Medication) {c} Reference to the contained medication
... subject Σ 1..1 Reference(CH EMED EPR Patient) {r, b} Patient
.... id D 0..1 string ✕ This element is not supported
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
... context ΣD 0..1 Reference(Encounter | EpisodeOfCare) ✕ This element will be removed in PML(C) documents
... effective[x] ΣD 0..1 ✕ Do not use. The effective period is contained in the main dosage
.... effectiveDateTime dateTime
.... effectivePeriod Period
... dateAsserted Σ 1..1 dateTime When the statement was asserted?
... informationSource 1..1 Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) The last medical author, (see 'Document PMLC' and 'Guidance - Different Authors')
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
... derivedFrom D 0..* Reference(Resource) ✕ This element will be removed in PML(C) documents
... reasonCode 0..* CodeableConcept The treatment reason(s) as text, and optionally coded
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken.
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... text SΣ 1..1 string Plain text representation of the treatment reason(s)
... reasonReference D 0..* Reference(Condition | Observation | DiagnosticReport) ✕ This element will be removed in PML(C) documents
... Slices for dosage 1..* CHCoreDosage How the medication should be taken
Slice: Unordered, Closed by profile:$this
.... dosage:baseEntry S 1..1 CHEMEDEPRDosage Base entry of the dosage instruction
.... dosage:additionalEntry S 0..* CHEMEDEPRDosageSplit Additional entry of the dosage instruction

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​extension:substitution.​value[x] Base required Substance Administration Substitution Codes 📦3.0.0-ci-build This IG
MedicationStatement.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationStatement.​identifier.type Base extensible IdentifierType 📦4.0.1 FHIR Std.
MedicationStatement.​status Base required Medication status codes 📍4.0.1 FHIR Std.
MedicationStatement.​statusReason Base example SNOMED CT Drug Therapy Status codes 📦4.0.1 FHIR Std.
MedicationStatement.​category Base preferred Medication usage category codes 📦4.0.1 FHIR Std.
MedicationStatement.​reasonCode Base example Condition/Problem/Diagnosis Codes 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ch-dosage-medstat error MedicationStatement If one dosage element is present, it should not have a sequence number. If more than one dosage element is present, the base entry has the sequence number 1. (dosage.count() > 1 implies dosage.where($this.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage') and sequence = 1).exists()) and (dosage.count() = 1 implies dosage.single().sequence.exists().not())
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationStatement If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
split-dosage-unit-must-match-base-dosage error MedicationStatement The unit for doseAndRate of different dosages (split dosage) belonging to the same statement/request/dispense must match. (dosage.count() > 1) implies dosage.doseAndRate.dose.ofType(Quantity).code.union(dosage.doseAndRate.dose.ofType(Range).low.code).union(dosage.doseAndRate.dose.ofType(Range).high.code).union(dosage.doseAndRate.rate.numerator.code).count() = 1

Differential View

This structure is derived from CHEMEDMedicationStatementCard

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* CHEMEDMedicationStatementCard CH EMED MedicationStatement (CARD)
Constraints: split-dosage-unit-must-match-base-dosage
... meta
.... extension D 0..* Extension ✕ This element is not supported
.... versionId D 0..1 id ✕ This element is not supported
.... lastUpdated D 0..1 instant ✕ This element is not supported
.... source D 0..1 uri ✕ This element is not supported
.... security D 0..* Coding ✕ This element is not supported
.... tag D 0..* Coding ✕ This element is not supported
... implicitRules 0..0 A set of rules under which this content was created
... extension 2..* Extension Extension
.... extension:substitution 0..1 CHEMEDExtSubstitution Whether the dispenser can substitute the prescribed medicine/package by another that is deemed equivalent, for medical or logistical reasons. By default, substitution is authorized.
..... id D 0..1 string ✕ This element is not supported
..... value[x] 1..1 CodeableConcept Whether substitution is allowed or not
Binding: Substance Administration Substitution Codes (required)
...... coding 0..* Coding Code defined by a terminology system
Required Pattern: At least the following
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: N
....... display 1..1 string Representation defined by the system
Fixed Value: none
.... extension:treatmentPlan 1..1 CHEMEDExtTreatmentPlan Reference to the MTP that introduced this medication in the treatment plan
.... extension:authorDocument 0..1 Author The last intervening author, only if different that the last medical author (see 'Document PMLC' and 'Guidance - Different Authors')
..... Slices for value[x] Content/Rules for all slices
...... value[x]:valueReference 1..1 Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) Author of the content
.... extension:lastConsideredDocument 1..1 CHEMEDExtLastConsideredDocument Optional Extensions Element
.... extension:prescription 0..1 (Complex) Reference to the PRE that introduced this medication in the treatment plan, if any
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-prescription
... modifierExtension 0..0 Extension
... identifier
.... extension D 0..* Extension ✕ This element is not supported
.... type D 0..1 CodeableConcept ✕ This element is not supported
.... period D 0..1 Period ✕ This element is not supported
.... assigner D 0..1 Reference(CH EMED EPR Organization) ✕ This element will be removed in PML(C) documents
... basedOn D 0..* Reference(MedicationRequest | CarePlan | ServiceRequest) ✕ This element will be removed in PML(C) documents
... partOf 0..0 Part of referenced event
... statusReason D 0..* CodeableConcept ✕ This element is not supported
... category D 0..1 CodeableConcept ✕ This element is not supported
... Slices for medication[x] Content/Rules for all slices
.... medication[x]:medicationReference 0..1 Reference(CH EMED EPR Medication) {c} Reference to the contained medication
... subject 1..1 Reference(CH EMED EPR Patient) {r, b} Patient
.... id D 0..1 string ✕ This element is not supported
.... extension D 0..* Extension ✕ This element is not supported
... context D 0..1 Reference(Encounter | EpisodeOfCare) ✕ This element will be removed in PML(C) documents
... effective[x] D 0..1 dateTime, Period ✕ Do not use. The effective period is contained in the main dosage
... informationSource 1..1 Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) The last medical author, (see 'Document PMLC' and 'Guidance - Different Authors')
... derivedFrom D 0..* Reference(Resource) ✕ This element will be removed in PML(C) documents
... reasonCode 0..* CodeableConcept The treatment reason(s) as text, and optionally coded
.... extension D 0..* Extension ✕ This element is not supported
.... text 1..1 string Plain text representation of the treatment reason(s)
... reasonReference D 0..* Reference(Condition | Observation | DiagnosticReport) ✕ This element will be removed in PML(C) documents
... note
.... id D 0..1 string ✕ This element is not supported
.... extension D 0..* Extension ✕ This element is not supported
.... author[x] 1..1 Reference(Practitioner | Patient | RelatedPerson | Organization) Individual responsible for the annotation
.... time 1..1 dateTime When the annotation was made
.... text 1..1 markdown The annotation text content (as raw text, no markdown allowed).
... Slices for dosage Content/Rules for all slices
.... dosage:baseEntry 1..1 CHEMEDEPRDosage Base entry of the dosage instruction
.... dosage:additionalEntry 0..* CHEMEDEPRDosageSplit Additional entry of the dosage instruction

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationStatement.​extension:substitution.​value[x] Base required Substance Administration Substitution Codes 📦3.0.0-ci-build This IG

Constraints

Id Grade Path(s) Description Expression
split-dosage-unit-must-match-base-dosage error MedicationStatement The unit for doseAndRate of different dosages (split dosage) belonging to the same statement/request/dispense must match. (dosage.count() > 1) implies dosage.doseAndRate.dose.ofType(Quantity).code.union(dosage.doseAndRate.dose.ofType(Range).low.code).union(dosage.doseAndRate.dose.ofType(Range).high.code).union(dosage.doseAndRate.rate.numerator.code).count() = 1

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* CHEMEDMedicationStatementCard CH EMED MedicationStatement (CARD)
Constraints: ch-dosage-medstat, split-dosage-unit-must-match-base-dosage
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... versionId ΣD 0..1 id ✕ This element is not supported
.... lastUpdated ΣD 0..1 instant ✕ This element is not supported
.... source ΣD 0..1 uri ✕ This element is not supported
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security ΣD 0..* Coding ✕ This element is not supported
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag ΣD 0..* Coding ✕ This element is not supported
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... contained 1..* Resource Contained, inline Resources
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:substitution 0..1 (Complex) Whether the dispenser can substitute the prescribed medicine/package by another that is deemed equivalent, for medical or logistical reasons. By default, substitution is authorized.
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution
..... id D 0..1 string ✕ This element is not supported
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution"
..... value[x] 1..1 CodeableConcept Whether substitution is allowed or not
Binding: Substance Administration Substitution Codes (required)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system

Required Pattern: At least the following
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: N
....... display 1..1 string Representation defined by the system
Fixed Value: none
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
.... extension:treatmentPlan 1..1 (Complex) Reference to the MTP that introduced this medication in the treatment plan
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan
.... extension:authorDocument 0..1 (Complex) The last intervening author, only if different that the last medical author (see 'Document PMLC' and 'Guidance - Different Authors')
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-author"
..... Slices for value[x] 1..1 Reference() Value of extension
Slice: Unordered, Closed by type:$this
...... value[x]:valueReference 1..1 Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) Author of the content
....... id 0..1 string Unique id for inter-element referencing
....... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ extension:time 0..1 dateTime Timestamp of the authorship/data input
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time
....... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
....... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
....... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
....... display Σ 0..1 string Text alternative for the resource
.... extension:lastConsideredDocument 1..1 Identifier Optional Extensions Element
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-last-considered-document
.... extension:prescription 0..1 (Complex) Reference to the PRE that introduced this medication in the treatment plan, if any
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-prescription
... identifier Σ 1..1 Identifier MedicationStatement Identifier
.... id 0..1 string Unique id for inter-element referencing
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type ΣD 0..1 CodeableConcept ✕ This element is not supported
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value Σ 1..1 string Identifier value as UUID
Example General: 123456
Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9
.... period ΣD 0..1 Period ✕ This element is not supported
.... assigner ΣD 0..1 Reference(CH EMED EPR Organization) ✕ This element will be removed in PML(C) documents
... basedOn ΣD 0..* Reference(MedicationRequest | CarePlan | ServiceRequest) ✕ This element will be removed in PML(C) documents
... status ?!Σ 1..1 code active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
Binding: Medication Status Codes (required): A coded concept indicating the current status of a MedicationStatement.
... statusReason D 0..* CodeableConcept ✕ This element is not supported
Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement.
... category ΣD 0..1 CodeableConcept ✕ This element is not supported
Binding: Medication usage category codes (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.
... Slices for medication[x] Σ 1..1 Reference() What medication was taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference SΣ 0..1 Reference(CH EMED EPR Medication) {c} Reference to the contained medication
... subject Σ 1..1 Reference(CH EMED EPR Patient) {r, b} Patient
.... id D 0..1 string ✕ This element is not supported
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... context ΣD 0..1 Reference(Encounter | EpisodeOfCare) ✕ This element will be removed in PML(C) documents
... effective[x] ΣD 0..1 ✕ Do not use. The effective period is contained in the main dosage
.... effectiveDateTime dateTime
.... effectivePeriod Period
... dateAsserted Σ 1..1 dateTime When the statement was asserted?
... informationSource 1..1 Reference(CH EMED EPR PractitionerRole | CH EMED EPR Patient | CH EMED EPR RelatedPerson) The last medical author, (see 'Document PMLC' and 'Guidance - Different Authors')
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... derivedFrom D 0..* Reference(Resource) ✕ This element will be removed in PML(C) documents
... reasonCode 0..* CodeableConcept The treatment reason(s) as text, and optionally coded
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken.
.... id 0..1 string Unique id for inter-element referencing
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
.... text SΣ 1..1 string Plain text representation of the treatment reason(s)
... reasonReference D 0..* Reference(Condition | Observation | DiagnosticReport) ✕ This element will be removed in PML(C) documents
... note 0..* Annotation Annotation comment
.... id D 0..1 string ✕ This element is not supported
.... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
.... author[x] Σ 1..1 Reference(Practitioner | Patient | RelatedPerson | Organization) Individual responsible for the annotation
.... time Σ 1..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation text content (as raw text, no markdown allowed).
... Slices for dosage 1..* CHCoreDosage How the medication should be taken
Slice: Unordered, Closed by profile:$this
.... dosage:baseEntry S 1..1 CHEMEDEPRDosage Base entry of the dosage instruction
.... dosage:additionalEntry S 0..* CHEMEDEPRDosageSplit Additional entry of the dosage instruction

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
MedicationStatement.​meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
MedicationStatement.​language Base preferred Common Languages 📦4.0.1 FHIR Std.
MedicationStatement.​extension:substitution.​value[x] Base required Substance Administration Substitution Codes 📦3.0.0-ci-build This IG
MedicationStatement.​extension:authorDocument.​value[x]:valueReference.​type Base extensible ResourceType 📦4.0.1 FHIR Std.
MedicationStatement.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
MedicationStatement.​identifier.type Base extensible IdentifierType 📦4.0.1 FHIR Std.
MedicationStatement.​status Base required Medication status codes 📍4.0.1 FHIR Std.
MedicationStatement.​statusReason Base example SNOMED CT Drug Therapy Status codes 📦4.0.1 FHIR Std.
MedicationStatement.​category Base preferred Medication usage category codes 📦4.0.1 FHIR Std.
MedicationStatement.​subject.type Base extensible ResourceType 📦4.0.1 FHIR Std.
MedicationStatement.​informationSource.type Base extensible ResourceType 📦4.0.1 FHIR Std.
MedicationStatement.​reasonCode Base example Condition/Problem/Diagnosis Codes 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ch-dosage-medstat error MedicationStatement If one dosage element is present, it should not have a sequence number. If more than one dosage element is present, the base entry has the sequence number 1. (dosage.count() > 1 implies dosage.where($this.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage') and sequence = 1).exists()) and (dosage.count() = 1 implies dosage.single().sequence.exists().not())
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationStatement If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
split-dosage-unit-must-match-base-dosage error MedicationStatement The unit for doseAndRate of different dosages (split dosage) belonging to the same statement/request/dispense must match. (dosage.count() > 1) implies dosage.doseAndRate.dose.ofType(Quantity).code.union(dosage.doseAndRate.dose.ofType(Range).low.code).union(dosage.doseAndRate.dose.ofType(Range).high.code).union(dosage.doseAndRate.rate.numerator.code).count() = 1

 

Other representations of profile: CSV, Excel, Schematron