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

Resource Profile: CH EMED Medication Dispense Composition Profile

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

Formal Views of Profile Content

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

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet / Code
Composition.languagepreferredCommonLanguages
Max Binding: AllLanguages
Composition.identifier.userequiredIdentifierUse
Composition.identifier.typeextensibleIdentifier Type Codes
Composition.statusrequiredFixed Value: final
Composition.typerequiredPattern: SNOMED CT code 419891008
Composition.categoryexampleDocumentClassValueSet
Composition.subject.typeextensibleResourceType
Composition.author.typeextensibleResourceType
Composition.confidentialityrequiredv3.ConfidentialityClassification
Composition.attester.moderequiredCompositionAttestationMode
Composition.attester.party.typeextensibleResourceType
Composition.attester:legalAuthenticator.moderequiredFixed Value: legal
Composition.attester:legalAuthenticator.party.typeextensibleResourceType
Composition.custodian.typeextensibleResourceType
Composition.relatesTo.coderequiredDocumentRelationshipType
Composition.event.codeexampleActCode
Composition.section.codeexampleDocumentSectionCodes
Composition.section.moderequiredListMode
Composition.section.orderedBypreferredListOrderCodes
Composition.section.emptyReasonpreferredListEmptyReasons
Composition.section:originalRepresentation.codeexamplePattern: LOINC code 55108-5("Clinical presentation")
Composition.section:originalRepresentation.moderequiredListMode
Composition.section:originalRepresentation.orderedBypreferredListOrderCodes
Composition.section:originalRepresentation.entry.typeextensibleResourceType
Composition.section:originalRepresentation.emptyReasonpreferredListEmptyReasons
Composition.section:dispense.codeexamplePattern: LOINC code 60590-7("Medication dispensed.brief")
Composition.section:dispense.author.typeextensibleResourceType
Composition.section:dispense.moderequiredListMode
Composition.section:dispense.orderedBypreferredListOrderCodes
Composition.section:dispense.entry.typeextensibleResourceType
Composition.section:dispense.emptyReasonpreferredListEmptyReasons
Composition.section:annotation.codeexamplePattern: LOINC code 48767-8("Annotation comment")
Composition.section:annotation.moderequiredListMode
Composition.section:annotation.orderedBypreferredListOrderCodes
Composition.section:annotation.emptyReasonpreferredListEmptyReasons

Constraints

IdGradePathDetailsRequirements
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-1errorComposition.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.extension:versionNumberAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.extension:versionNumberMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.extension:informationRecipientAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.extension:informationRecipientMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.extension:dataEntererAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.extension:dataEntererMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.identifier.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.identifier.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.identifier.useAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.identifier.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.identifier.systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.identifier.valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.identifier.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.identifier.assignerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.categoryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.subjectAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.subject.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.subject.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.subject.referenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.subject.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.subject.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.subject.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.encounterAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.dateAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.authorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.author.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.author.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.author.referenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.author.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.author.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.author.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.titleAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ch-emed-title-diserrorComposition.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-1errorComposition.confidentialityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.confidentiality.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.confidentiality.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.confidentiality.extension:confidentialityCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.confidentiality.extension:confidentialityCodeMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.attesterAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.attester.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.attester.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.attester.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.attester.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.attester.modeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.attester.timeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.attester.partyAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.attester.party.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.attester.party.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.attester.party.referenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.attester.party.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.attester.party.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.attester.party.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.attester:legalAuthenticatorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.attester:legalAuthenticator.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.attester:legalAuthenticator.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.attester:legalAuthenticator.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.attester:legalAuthenticator.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.attester:legalAuthenticator.modeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.attester:legalAuthenticator.timeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.attester:legalAuthenticator.partyAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.attester:legalAuthenticator.party.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.attester:legalAuthenticator.party.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.attester:legalAuthenticator.party.referenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.attester:legalAuthenticator.party.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.attester:legalAuthenticator.party.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.attester:legalAuthenticator.party.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.custodianAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.custodian.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.custodian.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.custodian.referenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.custodian.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.custodian.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.custodian.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.relatesToAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.relatesTo.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.relatesTo.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.relatesTo.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.relatesTo.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.relatesTo.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.relatesTo.target[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.eventAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.event.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.event.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.event.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.event.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.event.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.event.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.event.detailAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
cmp-1errorComposition.sectionA section must contain at least one of text, entries, or sub-sections
: text.exists() or entry.exists() or section.exists()
cmp-2errorComposition.sectionA section can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
ele-1errorComposition.sectionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.section.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.section.extension:sectionIdAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.section.extension:sectionIdMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.section.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.section.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.section.titleAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section.authorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section.focusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section.modeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section.orderedByAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section.entryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section.emptyReasonAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section.sectionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
cmp-1errorComposition.section:originalRepresentationA section must contain at least one of text, entries, or sub-sections
: text.exists() or entry.exists() or section.exists()
cmp-2errorComposition.section:originalRepresentationA section can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
ele-1errorComposition.section:originalRepresentationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:originalRepresentation.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.section:originalRepresentation.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.section:originalRepresentation.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.section:originalRepresentation.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.section:originalRepresentation.titleAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:originalRepresentation.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:originalRepresentation.authorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:originalRepresentation.focusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:originalRepresentation.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:originalRepresentation.modeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:originalRepresentation.orderedByAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:originalRepresentation.entryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:originalRepresentation.entry.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.section:originalRepresentation.entry.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.section:originalRepresentation.entry.extension:narrativeLinkAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.section:originalRepresentation.entry.extension:narrativeLinkMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.section:originalRepresentation.entry.referenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:originalRepresentation.entry.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:originalRepresentation.entry.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:originalRepresentation.entry.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:originalRepresentation.emptyReasonAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
cmp-1errorComposition.section:dispenseA section must contain at least one of text, entries, or sub-sections
: text.exists() or entry.exists() or section.exists()
cmp-2errorComposition.section:dispenseA section can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
ele-1errorComposition.section:dispenseAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:dispense.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.section:dispense.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.section:dispense.extension:sectionIdAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.section:dispense.extension:sectionIdMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.section:dispense.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.section:dispense.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.section:dispense.titleAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ch-emed-sect-diserrorComposition.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-1errorComposition.section:dispense.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:dispense.authorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:dispense.author.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.section:dispense.author.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.section:dispense.author.referenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:dispense.author.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:dispense.author.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:dispense.author.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:dispense.focusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:dispense.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:dispense.modeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:dispense.orderedByAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:dispense.entryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:dispense.entry.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.section:dispense.entry.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.section:dispense.entry.referenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:dispense.entry.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:dispense.entry.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:dispense.entry.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:dispense.emptyReasonAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
cmp-1errorComposition.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:annotationA section can only have an emptyReason if it is empty
: emptyReason.empty() or entry.empty()
ele-1errorComposition.section:annotationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:annotation.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.section:annotation.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.section:annotation.extension:sectionIdAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.section:annotation.extension:sectionIdMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.section:annotation.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorComposition.section:annotation.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorComposition.section:annotation.titleAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ch-emed-sect-annooterrorComposition.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-1errorComposition.section:annotation.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:annotation.authorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:annotation.focusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:annotation.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:annotation.modeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:annotation.orderedByAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:annotation.entryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:annotation.emptyReasonAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorComposition.section:annotation.sectionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())