CH EMED (R4)
2.0.0 - STU 2
This page is part of the CH EMED (R4) (v2.0.0: STU 2) based on FHIR R4. . For a full list of available versions, see the Directory of published versions
Defining URL: | http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationdispense |
Version: | 2.0.0 |
Name: | CHEMEDCompositionMedicationDispense |
Title: | CH EMED Medication Dispense Composition Profile |
Status: | Active as of 2022-02-11 09:56:31+0100 |
Definition: | Definition of the composition for the medication dispense document |
Publisher: | HL7 Switzerland |
Copyright: | CC-BY-SA-4.0 |
Source Resource: | XML / JSON / Turtle |
The official URL for this profile is:
http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationdispense
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Other representations of profile: CSV, Excel, Schematron
Path | Conformance | ValueSet / Code |
Composition.language | preferred | CommonLanguages Max Binding: AllLanguages |
Composition.identifier.use | required | IdentifierUse |
Composition.identifier.type | extensible | Identifier Type Codes |
Composition.status | required | Fixed Value: final |
Composition.type | required | Pattern: SNOMED CT code 419891008 |
Composition.category | example | DocumentClassValueSet |
Composition.subject.type | extensible | ResourceType |
Composition.author.type | extensible | ResourceType |
Composition.confidentiality | required | v3.ConfidentialityClassification |
Composition.attester.mode | required | CompositionAttestationMode |
Composition.attester.party.type | extensible | ResourceType |
Composition.attester:legalAuthenticator.mode | required | Fixed Value: legal |
Composition.attester:legalAuthenticator.party.type | extensible | ResourceType |
Composition.custodian.type | extensible | ResourceType |
Composition.relatesTo.code | required | DocumentRelationshipType |
Composition.event.code | example | ActCode |
Composition.section.code | example | DocumentSectionCodes |
Composition.section.mode | required | ListMode |
Composition.section.orderedBy | preferred | ListOrderCodes |
Composition.section.emptyReason | preferred | ListEmptyReasons |
Composition.section:originalRepresentation.code | example | Pattern: LOINC code 55108-5("Clinical presentation") |
Composition.section:originalRepresentation.mode | required | ListMode |
Composition.section:originalRepresentation.orderedBy | preferred | ListOrderCodes |
Composition.section:originalRepresentation.entry.type | extensible | ResourceType |
Composition.section:originalRepresentation.emptyReason | preferred | ListEmptyReasons |
Composition.section:dispense.code | example | Pattern: LOINC code 60590-7("Medication dispensed.brief") |
Composition.section:dispense.author.type | extensible | ResourceType |
Composition.section:dispense.mode | required | ListMode |
Composition.section:dispense.orderedBy | preferred | ListOrderCodes |
Composition.section:dispense.entry.type | extensible | ResourceType |
Composition.section:dispense.emptyReason | preferred | ListEmptyReasons |
Composition.section:annotation.code | example | Pattern: LOINC code 48767-8("Annotation comment") |
Composition.section:annotation.mode | required | ListMode |
Composition.section:annotation.orderedBy | preferred | ListOrderCodes |
Composition.section:annotation.emptyReason | preferred | ListEmptyReasons |
Id | Grade | Path | Details | Requirements |
dom-2 | error | Composition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Composition | 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 | Composition | 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 | Composition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | Best Practice | Composition | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | Composition.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.extension:versionNumber | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.extension:versionNumber | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.extension:informationRecipient | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.extension:informationRecipient | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.extension:dataEnterer | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.extension:dataEnterer | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.identifier.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.identifier.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.identifier.use | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.identifier.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.identifier.system | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.identifier.value | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.identifier.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.identifier.assigner | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.category | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.subject | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.subject.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.subject.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.subject.reference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.subject.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.subject.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.subject.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.encounter | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.date | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.author | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.author.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.author.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.author.reference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.author.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.author.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.author.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.title | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ch-emed-title-dis | error | Composition.title | 'Abgabe' in german or 'Remise' in french or 'Dispensazione' in talian or 'Dispense' in english or titles in other languages are also allowed : ($this='Abgabe' and %resource.language.startsWith('de')) or ($this='Remise' and %resource.language.startsWith('fr')) or ($this='Dispensazione' and %resource.language.startsWith('it')) or ($this='Dispense' and %resource.language.startsWith('en')) | |
ele-1 | error | Composition.confidentiality | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.confidentiality.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.confidentiality.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.confidentiality.extension:confidentialityCode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.confidentiality.extension:confidentialityCode | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.attester | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.attester.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.attester.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.attester.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.attester.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.attester.mode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.attester.time | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.attester.party | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.attester.party.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.attester.party.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.attester.party.reference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.attester.party.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.attester.party.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.attester.party.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.attester:legalAuthenticator | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.attester:legalAuthenticator.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.attester:legalAuthenticator.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.attester:legalAuthenticator.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.attester:legalAuthenticator.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.attester:legalAuthenticator.mode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.attester:legalAuthenticator.time | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.attester:legalAuthenticator.party | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.attester:legalAuthenticator.party.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.attester:legalAuthenticator.party.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.attester:legalAuthenticator.party.reference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.attester:legalAuthenticator.party.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.attester:legalAuthenticator.party.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.attester:legalAuthenticator.party.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.custodian | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.custodian.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.custodian.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.custodian.reference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.custodian.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.custodian.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.custodian.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.relatesTo | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.relatesTo.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.relatesTo.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.relatesTo.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.relatesTo.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.relatesTo.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.relatesTo.target[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.event | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.event.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.event.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.event.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.event.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.event.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.event.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.event.detail | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
cmp-1 | error | Composition.section | A section must contain at least one of text, entries, or sub-sections : text.exists() or entry.exists() or section.exists() | |
cmp-2 | error | Composition.section | A section can only have an emptyReason if it is empty : emptyReason.empty() or entry.empty() | |
ele-1 | error | Composition.section | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.section.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.section.extension:sectionId | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.section.extension:sectionId | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.section.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.section.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.section.title | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section.author | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section.focus | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section.mode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section.orderedBy | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section.entry | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section.emptyReason | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section.section | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
cmp-1 | error | Composition.section:originalRepresentation | A section must contain at least one of text, entries, or sub-sections : text.exists() or entry.exists() or section.exists() | |
cmp-2 | error | Composition.section:originalRepresentation | A section can only have an emptyReason if it is empty : emptyReason.empty() or entry.empty() | |
ele-1 | error | Composition.section:originalRepresentation | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:originalRepresentation.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.section:originalRepresentation.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.section:originalRepresentation.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.section:originalRepresentation.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.section:originalRepresentation.title | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:originalRepresentation.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:originalRepresentation.author | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:originalRepresentation.focus | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:originalRepresentation.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:originalRepresentation.mode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:originalRepresentation.orderedBy | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:originalRepresentation.entry | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:originalRepresentation.entry.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.section:originalRepresentation.entry.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.section:originalRepresentation.entry.extension:narrativeLink | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.section:originalRepresentation.entry.extension:narrativeLink | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.section:originalRepresentation.entry.reference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:originalRepresentation.entry.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:originalRepresentation.entry.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:originalRepresentation.entry.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:originalRepresentation.emptyReason | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
cmp-1 | error | Composition.section:dispense | A section must contain at least one of text, entries, or sub-sections : text.exists() or entry.exists() or section.exists() | |
cmp-2 | error | Composition.section:dispense | A section can only have an emptyReason if it is empty : emptyReason.empty() or entry.empty() | |
ele-1 | error | Composition.section:dispense | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:dispense.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.section:dispense.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.section:dispense.extension:sectionId | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.section:dispense.extension:sectionId | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.section:dispense.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.section:dispense.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.section:dispense.title | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ch-emed-sect-dis | error | Composition.section:dispense.title | 'Abgabe eines Medikaments' in german or 'Dispensation d'un médicament' in french or 'Dispensazione di un medicamento' in talian or 'Medication dispensed' in english or titles in other languages are also allowed : ($this='Abgabe eines Medikaments' and %resource.language.startsWith('de')) or ($this='Dispensation d\'un médicament' and %resource.language.startsWith('fr')) or ($this='Dispensazione di un medicamento' and %resource.language.startsWith('it')) or ($this='Medication dispensed' and %resource.language.startsWith('en')) | |
ele-1 | error | Composition.section:dispense.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:dispense.author | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:dispense.author.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.section:dispense.author.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.section:dispense.author.reference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:dispense.author.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:dispense.author.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:dispense.author.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:dispense.focus | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:dispense.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:dispense.mode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:dispense.orderedBy | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:dispense.entry | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:dispense.entry.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.section:dispense.entry.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.section:dispense.entry.reference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:dispense.entry.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:dispense.entry.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:dispense.entry.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:dispense.emptyReason | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
cmp-1 | error | Composition.section:annotation | A section must contain at least one of text, entries, or sub-sections : text.exists() or entry.exists() or section.exists() | |
cmp-2 | error | Composition.section:annotation | A section can only have an emptyReason if it is empty : emptyReason.empty() or entry.empty() | |
ele-1 | error | Composition.section:annotation | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:annotation.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.section:annotation.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.section:annotation.extension:sectionId | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.section:annotation.extension:sectionId | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.section:annotation.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Composition.section:annotation.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Composition.section:annotation.title | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ch-emed-sect-annoot | error | Composition.section:annotation.title | 'Kommentar' in german or 'Commentaire' in french or 'Osservazione' in talian or 'Comment' in english or titles in other languages are also allowed : ($this='Kommentar' and %resource.language.startsWith('de')) or ($this='Commentaire' and %resource.language.startsWith('fr')) or ($this='Osservazione' and %resource.language.startsWith('it')) or ($this='Comment' and %resource.language.startsWith('en')) | |
ele-1 | error | Composition.section:annotation.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:annotation.author | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:annotation.focus | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:annotation.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:annotation.mode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:annotation.orderedBy | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:annotation.entry | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:annotation.emptyReason | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Composition.section:annotation.section | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |