CH EMED (R4)
6.0.0-ballot-ci-build - ci-build Switzerland flag

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

Resource Profile: CH EMED Medication Card Composition

Official URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationcard Version: 6.0.0-ballot-ci-build
Active as of 2025-03-25 Computable Name: CHEMEDCompositionMedicationCard

Copyright/Legal: CC0-1.0

Definition of the composition for the medication card document

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Composition 0..* CHCoreCompositionEPR CH EMED Medication Card Composition
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... language 1..1 code Language of the document
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguages Max Binding

ele-1: All FHIR elements must have a @value or children
... Slices for extension Content/Rules for all slices
.... extension:informationRecipient 0..* Reference(CH Core Practitioner | CH Core Patient | RelatedPerson | CH Core Organization) Extension
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-informationrecipient
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:dataEnterer 0..1 (Complex) Extension
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-dataenterer
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... identifier Σ 1..1 Identifier Version-independent identifier for the Composition
ele-1: All FHIR elements must have a @value or children
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .


ele-1: All FHIR elements must have a @value or children
.... system Σ 1..1 uri The namespace for the identifier value
ele-1: All FHIR elements must have a @value or children
Fixed Value: urn:ietf:rfc:3986
.... value Σ 1..1 string The value that is unique
ele-1: All FHIR elements must have a @value or children
Example General: 123456
Example CH EMED: urn:uuid:daa8cd41-34a1-4a9c-9a6d-cd3f850142e9
... status ?!Σ 1..1 code preliminary | final | amended | entered-in-error
Binding: CompositionStatus (required): The workflow/clinical status of the composition.


ele-1: All FHIR elements must have a @value or children
Fixed Value: final
... type ΣC 1..1 CodeableConcept Medication management plan (record artifact)
Binding: DocumentEntry.typeCode (extensible)
ele-1: All FHIR elements must have a @value or children
ch-emed-comp-card: If a LOINC code is additionally provided, '56445-0' shall be used for this document type.
Required Pattern: At least the following
.... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
..... system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
..... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 736378000
... subject SΣ 1..1 Reference(CH Core Patient EPR) A patient for whom this document instance was created
ele-1: All FHIR elements must have a @value or children
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
... date SΣ 1..1 dateTime The document's creation date and time
ele-1: All FHIR elements must have a @value or children
... author SΣ 1..* Reference(CH EMED PractitionerRole | Device | CH Core Patient EPR | RelatedPerson) The author of the document (person or device)
ele-1: All FHIR elements must have a @value or children
.... 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
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
... title Σ 1..1 string 'Medikationsplan' in german or 'Plan de médication' in french or 'Piano farmacologico' in italian or 'Medication Card' in english or titles in other languages are also allowed
ele-1: All FHIR elements must have a @value or children
... confidentiality Σ 1..1 code As defined by affinity domain
Binding: v3.ConfidentialityClassification (2014-03-26) (required): Codes specifying the level of confidentiality of the composition.


ele-1: All FHIR elements must have a @value or children
.... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... extension:confidentialityCode 1..1 CodeableConcept Swiss realm of confidentiality code according to the Swiss EPR regulation
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-confidentialitycode
Binding: DocumentEntry.confidentialityCode (extensible)
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... Slices for attester 0..* BackboneElement The authenticator of the document (person)
Slice: Unordered, Open by value:mode
ele-1: All FHIR elements must have a @value or children
.... attester:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... mode 1..1 code personal | professional | legal | official
Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition.


ele-1: All FHIR elements must have a @value or children
.... attester:legalAuthenticator 0..1 BackboneElement The legal authenticator of the document (person)
ele-1: All FHIR elements must have a @value or children
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... mode 1..1 code personal | professional | legal | official
Binding: CompositionAttestationMode (required): The way in which a person authenticated a composition.


ele-1: All FHIR elements must have a @value or children
Fixed Value: legal
..... time 0..1 dateTime Timestamp of the signature
ele-1: All FHIR elements must have a @value or children
..... party 1..1 Reference(CH Core Patient EPR | RelatedPerson | CH Core Practitioner EPR | CH Core PractitionerRole EPR) Who attested the composition
ele-1: All FHIR elements must have a @value or children
...... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
... Slices for section C 2..* BackboneElement Composition is broken into sections
Slice: Unordered, Open by value:code
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
ele-1: All FHIR elements must have a @value or children
.... section:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... section:originalRepresentation SC 1..1 BackboneElement Original representation
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
ele-1: All FHIR elements must have a @value or children
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... title 1..1 string 'Original Darstellung' in german or 'Représentation originale' in french or 'Rappresentazione originale' in italian or 'Original representation' in english or titles in other languages are also allowed
ele-1: All FHIR elements must have a @value or children
..... code 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


ele-1: All FHIR elements must have a @value or children
Required Pattern: At least the following
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 55108-5
..... text C 1..1 Narrative Representation of the original view
ele-1: All FHIR elements must have a @value or children
..... entry SC 1..1 Reference(Binary) PDF
ele-1: All FHIR elements must have a @value or children
.... section:card SC 1..1 BackboneElement Medication card
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
ele-1: All FHIR elements must have a @value or children
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... title 1..1 string 'Medikamentenliste' in german or 'Liste de médicaments' in french or 'Lista farmaci' in italian or 'Medication List' in english or titles in other languages are also allowed
ele-1: All FHIR elements must have a @value or children
..... code 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


ele-1: All FHIR elements must have a @value or children
Required Pattern: At least the following
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 10160-0
..... text C 0..1 Narrative Human readable text of this section
ele-1: All FHIR elements must have a @value or children
..... entry SC 0..* Reference(CH EMED MedicationStatement (CARD)) Medication statement
ele-1: All FHIR elements must have a @value or children
...... reference ΣC 1..1 string Literal reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
.... section:annotation SC 0..1 BackboneElement Annotation
cmp-1: A section must contain at least one of text, entries, or sub-sections
cmp-2: A section can only have an emptyReason if it is empty
ele-1: All FHIR elements must have a @value or children
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
..... title 1..1 string 'Kommentar' in german or 'Commentaire' in french or 'Osservazione' in italian or 'Comment' in english or titles in other languages are also allowed
ele-1: All FHIR elements must have a @value or children
..... code 1..1 CodeableConcept Classification of section (recommended)
Binding: DocumentSectionCodes (example): Classification of a section of a composition/document.


ele-1: All FHIR elements must have a @value or children
Required Pattern: At least the following
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (complex)
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://loinc.org
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: 48767-8
..... text SC 1..1 Narrative Human readable text of this section
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Composition.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Composition.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Composition.statusrequiredFixed Value: final
http://hl7.org/fhir/ValueSet/composition-status|4.0.1
from the FHIR Standard
Composition.typeextensiblePattern: SNOMED-CT Code 736378000
http://fhir.ch/ig/ch-term/ValueSet/DocumentEntry.typeCode
Composition.confidentialityrequiredv3.ConfidentialityClassification
http://terminology.hl7.org/ValueSet/v3-ConfidentialityClassification|2014-03-26
from the FHIR Standard
Composition.attester.moderequiredCompositionAttestationMode
http://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1
from the FHIR Standard
Composition.attester:legalAuthenticator.moderequiredFixed Value: legal
http://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1
from the FHIR Standard
Composition.section:originalRepresentation.codeexamplePattern: LOINC Code 55108-5
http://hl7.org/fhir/ValueSet/doc-section-codes
from the FHIR Standard
Composition.section:card.codeexamplePattern: LOINC Code 10160-0
http://hl7.org/fhir/ValueSet/doc-section-codes
from the FHIR Standard
Composition.section:annotation.codeexamplePattern: LOINC Code 48767-8
http://hl7.org/fhir/ValueSet/doc-section-codes
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
ch-emed-comp-carderrorComposition.typeIf a LOINC code is additionally provided, '56445-0' shall be used for this document type.
: coding.exists(system = 'http://loinc.org') implies (coding.exists(system = 'http://loinc.org' and code = '56445-0'))
cmp-1errorComposition.section, Composition.section:originalRepresentation, Composition.section:card, Composition.section:annotationA section must contain at least one of text, entries, or sub-sections
: text.exists() or entry.exists() or section.exists()
cmp-2errorComposition.section, Composition.section:originalRepresentation, Composition.section:card, Composition.section:annotationA section can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
dom-2errorCompositionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorCompositionIf 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-4errorCompositionIf 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-5errorCompositionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceCompositionA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

 

Other representations of profile: CSV, Excel, Schematron