eMediplan CHMED Implementation Guide
2.1.0 - CI Build Switzerland flag

eMediplan CHMED Implementation Guide, published by IG eMediplan. This is not an authorized publication; it is the continuous build for version 2.1.0). This version is based on the current content of https://github.com/ahdis/chmed/ and changes regularly. See the Directory of published versions

Resource Profile: CHMED MedicationStatement (Card)

Official URL: http://chmed.emediplan.ch/fhir/StructureDefinition/chmed-card-medicationstatement Version: 2.1.0
Active as of 2022-08-12 Computable Name: CHMEDMedicationStatementCard

Copyright/Legal: CC-BY-SA-4.0

Profile for the MedicationStatement resource of the Medication Card document

Usage:

Formal Views of Profile Content

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

This structure is derived from CHEMEDMedicationStatementCard

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement 0..*CHEMEDMedicationStatementCardCHMED MedicationStatement (Card)
... privateField 0..*(Complex)Private Field
URL: http://chmed.emediplan.ch/fhir/StructureDefinition/chmed-private-field
... substitution 0..1CodeableConcept'equivalent': Substitution occurred or is permitted with another bioequivalent and therapeutically equivalent product.
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution
Binding: ActSubstanceAdminSubstitutionCode (preferred)
.... valueCodeableConcept 1..1CodeableConceptSubstitution of the medication
Required Pattern: At least the following
..... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: E
... medicationReference 1..1Reference(CHMED Medication)Reference to the contained medication
... informationSource 0..1Reference(CH Core Practitioner | CH Core PractitionerRole | CHMED Patient)The author of the medical decision
... reasonCode
.... text 0..1stringTaking reason
... note
.... text 1..1markdownApplication instruction
... dosage 1..*DosagePosology
... dosage:nonstructured 0..1CHEMEDDosageNonStructuredCH EMED Dosage Non-Structured
... dosage:structurednormal 0..1CHEMEDDosageStructuredNormalCH EMED Dosage Normal dosing
... dosage:structuredsplit 0..*CHEMEDDosageStructuredSplitCH EMED Dosage Split dosing

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement I0..*CHEMEDMedicationStatementCardCHMED MedicationStatement (Card)
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 1..1ResourceMedication inline resource
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... treatmentPlan 0..1(Complex)Reference to the medication treatment plan
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan
... authorDocument 0..1(Complex)Author of the original document if different from the information source
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-documentauthor
... privateField 0..*(Complex)Private Field
URL: http://chmed.emediplan.ch/fhir/StructureDefinition/chmed-private-field
... substitution 0..1CodeableConcept'equivalent': Substitution occurred or is permitted with another bioequivalent and therapeutically equivalent product.
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution
Binding: ActSubstanceAdminSubstitutionCode (preferred)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution"
.... Slices for value[x] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueCodeableConcept 1..1CodeableConceptSubstitution of the medication
Binding: ActSubstanceAdminSubstitutionCode (preferred)
Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: E
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ1..1IdentifierMedicationStatement Identifier
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ0..1CodeableConceptDescription of identifier
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..1uriThe namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value Σ1..1stringIdentifier value as UUID
Example General: 123456
.... period Σ0..1PeriodTime period when id is/was valid for use
.... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... basedOn Σ0..*Reference(MedicationRequest | CarePlan | ServiceRequest)Fulfils plan, proposal or order
... partOf Σ0..*Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation)Part of referenced event
... status ?!Σ1..1codeactive | 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.


Fixed Value: completed
... statusReason 0..*CodeableConceptReason for current status
Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement.


... category Σ0..1CodeableConceptType of medication usage
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..1Reference()What medication was taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference SΣ1..1Reference(CHMED Medication)Reference to the contained medication
... subject Σ1..1Reference(CHMED Patient)Patient
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣI1..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... context Σ0..1Reference(Encounter | EpisodeOfCare)Encounter / Episode associated with MedicationStatement
... effective[x] Σ0..1The date/time or interval when the medication is/was/will be taken
.... effectiveDateTimedateTime
.... effectivePeriodPeriod
... dateAsserted Σ0..1dateTimeWhen the statement was asserted?
... informationSource 0..1Reference(CH Core Practitioner | CH Core PractitionerRole | CHMED Patient)The author of the medical decision
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... authorTime 0..1dateTimeTimestamp of the authorship/data input
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time
.... authorOrganization 0..1Reference(CH Core Organization EPR)The author's organization
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-representedorganization
.... reference ΣI1..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... derivedFrom 0..*Reference(Resource)Additional supporting information
... reasonCode 0..1CodeableConceptTreatment reason
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken.


.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ0..*CodingCode defined by a terminology system
.... text SΣ0..1stringTaking reason
... reasonReference 0..*Reference(Condition | Observation | DiagnosticReport)Condition or observation that supports why the medication is being/was taken
... note 0..1AnnotationAnnotation
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ0..1Individual responsible for the annotation
..... authorReferenceReference(Practitioner | Patient | RelatedPerson | Organization)
..... authorStringstring
.... time Σ0..1dateTimeWhen the annotation was made
.... text SΣ1..1markdownApplication instruction
... Slices for dosage S1..*DosagePosology
Slice: Unordered, Closed by profile:$this
.... dosage:nonstructured S0..1CHEMEDDosageNonStructuredCH EMED Dosage Non-Structured
.... dosage:structurednormal S0..1CHEMEDDosageStructuredNormalCH EMED Dosage Normal dosing
.... dosage:structuredsplit S0..*CHEMEDDosageStructuredSplitCH EMED Dosage Split dosing

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement I0..*CHEMEDMedicationStatementCardCHMED MedicationStatement (Card)
... medication[x]:medicationReference Σ1..1Reference(CHMED Medication)Reference to the contained medication
... reasonCode 0..1CodeableConceptTreatment reason
.... text Σ0..1stringTaking reason
... note 0..1AnnotationAnnotation
.... text Σ1..1markdownApplication instruction
.... dosage:nonstructured 0..1CHEMEDDosageNonStructuredCH EMED Dosage Non-Structured
.... dosage:structurednormal 0..1CHEMEDDosageStructuredNormalCH EMED Dosage Normal dosing
.... dosage:structuredsplit 0..*CHEMEDDosageStructuredSplitCH EMED Dosage Split dosing

doco Documentation for this format

Differential View

This structure is derived from CHEMEDMedicationStatementCard

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement 0..*CHEMEDMedicationStatementCardCHMED MedicationStatement (Card)
... privateField 0..*(Complex)Private Field
URL: http://chmed.emediplan.ch/fhir/StructureDefinition/chmed-private-field
... substitution 0..1CodeableConcept'equivalent': Substitution occurred or is permitted with another bioequivalent and therapeutically equivalent product.
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution
Binding: ActSubstanceAdminSubstitutionCode (preferred)
.... valueCodeableConcept 1..1CodeableConceptSubstitution of the medication
Required Pattern: At least the following
..... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: E
... medicationReference 1..1Reference(CHMED Medication)Reference to the contained medication
... informationSource 0..1Reference(CH Core Practitioner | CH Core PractitionerRole | CHMED Patient)The author of the medical decision
... reasonCode
.... text 0..1stringTaking reason
... note
.... text 1..1markdownApplication instruction
... dosage 1..*DosagePosology
... dosage:nonstructured 0..1CHEMEDDosageNonStructuredCH EMED Dosage Non-Structured
... dosage:structurednormal 0..1CHEMEDDosageStructuredNormalCH EMED Dosage Normal dosing
... dosage:structuredsplit 0..*CHEMEDDosageStructuredSplitCH EMED Dosage Split dosing

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement I0..*CHEMEDMedicationStatementCardCHMED MedicationStatement (Card)
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 1..1ResourceMedication inline resource
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... treatmentPlan 0..1(Complex)Reference to the medication treatment plan
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan
... authorDocument 0..1(Complex)Author of the original document if different from the information source
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-documentauthor
... privateField 0..*(Complex)Private Field
URL: http://chmed.emediplan.ch/fhir/StructureDefinition/chmed-private-field
... substitution 0..1CodeableConcept'equivalent': Substitution occurred or is permitted with another bioequivalent and therapeutically equivalent product.
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution
Binding: ActSubstanceAdminSubstitutionCode (preferred)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution"
.... Slices for value[x] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
..... value[x]:valueCodeableConcept 1..1CodeableConceptSubstitution of the medication
Binding: ActSubstanceAdminSubstitutionCode (preferred)
Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: E
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ1..1IdentifierMedicationStatement Identifier
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ0..1CodeableConceptDescription of identifier
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..1uriThe namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value Σ1..1stringIdentifier value as UUID
Example General: 123456
.... period Σ0..1PeriodTime period when id is/was valid for use
.... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... basedOn Σ0..*Reference(MedicationRequest | CarePlan | ServiceRequest)Fulfils plan, proposal or order
... partOf Σ0..*Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation)Part of referenced event
... status ?!Σ1..1codeactive | 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.


Fixed Value: completed
... statusReason 0..*CodeableConceptReason for current status
Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement.


... category Σ0..1CodeableConceptType of medication usage
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..1Reference()What medication was taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference SΣ1..1Reference(CHMED Medication)Reference to the contained medication
... subject Σ1..1Reference(CHMED Patient)Patient
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣI1..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... context Σ0..1Reference(Encounter | EpisodeOfCare)Encounter / Episode associated with MedicationStatement
... effective[x] Σ0..1The date/time or interval when the medication is/was/will be taken
.... effectiveDateTimedateTime
.... effectivePeriodPeriod
... dateAsserted Σ0..1dateTimeWhen the statement was asserted?
... informationSource 0..1Reference(CH Core Practitioner | CH Core PractitionerRole | CHMED Patient)The author of the medical decision
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... authorTime 0..1dateTimeTimestamp of the authorship/data input
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time
.... authorOrganization 0..1Reference(CH Core Organization EPR)The author's organization
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-representedorganization
.... reference ΣI1..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... derivedFrom 0..*Reference(Resource)Additional supporting information
... reasonCode 0..1CodeableConceptTreatment reason
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken.


.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ0..*CodingCode defined by a terminology system
.... text SΣ0..1stringTaking reason
... reasonReference 0..*Reference(Condition | Observation | DiagnosticReport)Condition or observation that supports why the medication is being/was taken
... note 0..1AnnotationAnnotation
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ0..1Individual responsible for the annotation
..... authorReferenceReference(Practitioner | Patient | RelatedPerson | Organization)
..... authorStringstring
.... time Σ0..1dateTimeWhen the annotation was made
.... text SΣ1..1markdownApplication instruction
... Slices for dosage S1..*DosagePosology
Slice: Unordered, Closed by profile:$this
.... dosage:nonstructured S0..1CHEMEDDosageNonStructuredCH EMED Dosage Non-Structured
.... dosage:structurednormal S0..1CHEMEDDosageStructuredNormalCH EMED Dosage Normal dosing
.... dosage:structuredsplit S0..*CHEMEDDosageStructuredSplitCH EMED Dosage Split dosing

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet / Code
MedicationStatement.languagepreferredCommonLanguages
Max Binding: AllLanguages
MedicationStatement.extension:substitution.value[x]:valueCodeableConceptpreferredPattern: E
MedicationStatement.identifier.userequiredIdentifierUse
MedicationStatement.identifier.typeextensibleIdentifier Type Codes
MedicationStatement.statusrequiredFixed Value: completed
MedicationStatement.statusReasonexampleSNOMEDCTDrugTherapyStatusCodes
MedicationStatement.categorypreferredMedication usage category codes
MedicationStatement.subject.typeextensibleResourceType
MedicationStatement.informationSource.typeextensibleResourceType
MedicationStatement.reasonCodeexampleCondition/Problem/DiagnosisCodes

Constraints

IdGradePathDetailsRequirements
dom-2errorMedicationStatementIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationStatementIf 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-4errorMedicationStatementIf 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-5errorMedicationStatementIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6Best PracticeMedicationStatementA resource should have narrative for robust management
: text.`div`.exists()
ch-dosage-1errorMedicationStatementIf dosing is structured it must be normal or split dosing
: dosage.where($this.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage-structured-normal')).count()=0 or dosage.where($this.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage-structured-split')).count()=0
ch-dosage-4errorMedicationStatementProvide dosage structured or unstructured, combination is not allowed (provide structured dosage if possible)
: dosage.where($this.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage-nonstructured')).count()=0 or (dosage.where($this.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage-structured-normal')).count()=0 and dosage.where($this.conformsTo('http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-dosage-structured-split')).count()=0)
ele-1errorMedicationStatement.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedicationStatement.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedicationStatement.extension:treatmentPlanAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedicationStatement.extension:treatmentPlanMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedicationStatement.extension:authorDocumentAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedicationStatement.extension:authorDocumentMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedicationStatement.extension:privateFieldAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedicationStatement.extension:privateFieldMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedicationStatement.extension:substitutionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedicationStatement.extension:substitutionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedicationStatement.extension:substitution.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.extension:substitution.value[x]:valueCodeableConceptAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedicationStatement.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedicationStatement.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.identifier.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedicationStatement.identifier.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedicationStatement.identifier.useAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.identifier.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.identifier.systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.identifier.valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.identifier.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.identifier.assignerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.basedOnAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.partOfAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.statusReasonAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.categoryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.medication[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.medication[x]:medicationReferenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.subjectAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.subject.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedicationStatement.subject.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedicationStatement.subject.referenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.subject.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.subject.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.subject.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.contextAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.effective[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.dateAssertedAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.informationSourceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.informationSource.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedicationStatement.informationSource.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedicationStatement.informationSource.extension:authorTimeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedicationStatement.informationSource.extension:authorTimeMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedicationStatement.informationSource.extension:authorOrganizationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedicationStatement.informationSource.extension:authorOrganizationMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedicationStatement.informationSource.referenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.informationSource.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.informationSource.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.informationSource.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.derivedFromAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.reasonCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.reasonCode.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedicationStatement.reasonCode.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedicationStatement.reasonCode.codingAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.reasonCode.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.reasonReferenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.noteAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.note.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorMedicationStatement.note.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorMedicationStatement.note.author[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.note.timeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.note.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.dosageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.dosage:nonstructuredAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.dosage:structurednormalAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorMedicationStatement.dosage:structuredsplitAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())