eMediplan CHMED20AF Implementation Guide:

This page is part of the eMediplan CHMED20AF FHIR IG (R4) (v2.0.0: STU 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

StructureDefinition: chmed20af-card-medicationstatement

Formal Views of Profile Content

The official URL for this profile is:

http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-card-medicationstatement

Profile on MedicationStatement for Medication Card document

This profile builds on CHEMEDMedicationStatementCard.

This profile was published on Wed Jun 30 14:02:48 CEST 2021 as a draft by IG eMediplan.

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

This structure is derived from CHEMEDMedicationStatementCard

Summary

Mandatory: 0 element (2 nested mandatory elements)
Must-Support: 23 elements
Fixed Value: 1 element

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element MedicationStatement.category.coding is sliced based on the value of value:system

This structure is derived from CHEMEDMedicationStatementCard

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement 0..*CHEMEDMedicationStatementCardRecord of medication being taken by a patient
... contained S1..1ResourceMedication inline resource
... chmed20af-privatefield S0..*(Complex)Private fields for patient
URL: http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-privatefield
... identifier S1..1IdentifierMedication treatment plan item ID
.... system S1..1uriThe namespace for the identifier value
.... value S1..1stringidentifier value as uuid
... status S1..1codeactive | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
... category S0..1CodeableConceptType of medication usage
.... Slices for coding S0..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:ATC S0..*CodingATC code (Level 1) if possible
...... system S1..1uriIdentity of the terminology system
Fixed Value: http://www.whocc.no/atc
...... code S1..1codeSymbol in syntax defined by the system
...... display S0..1stringRepresentation defined by the system
.... text S0..1stringNote that no ATC Code is applied
... medicationReference S1..1Reference(Medication)Reference to the contained medication
... subject S1..1Reference(Patient Card)Patient
... informationSource S0..1Reference(Practitioner | Patient Card)The author of the medical decision
... reasonCode S0..1CodeableConceptTreatment reason
.... text S0..1stringPlain text representation of the concept
... note S0..1AnnotationAnnotation
... dosage S1..*DosageHow the medication should be taken
... dosage:nonstructured S0..1CHEMEDDosageNonStructuredCH EMED Dosage Non-Structured
... dosage:structurednormal S0..1CardDosageStructuredNormalChmed20afHow the medication is/was taken or should be taken
... dosage:structuredsplit S0..*CardDosageStructuredSplitChmed20afHow the medication is/was taken or should be taken

doco Documentation for this format

This structure is derived from CHEMEDMedicationStatementCard

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement I0..*CHEMEDMedicationStatementCardRecord of medication being taken by a patient
... 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)
Max Binding: AllLanguages: A human language.

... text 0..1NarrativeText summary of the resource, for human interpretation
... contained S1..1ResourceMedication inline resource
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... ch-emed-ext-treatmentplan 0..1(Complex)Reference to the medication treatment plan
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan
... ch-emed-ext-documentauthor 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
... chmed20af-privatefield S0..*(Complex)Private fields for patient
URL: http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-privatefield
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier SΣ1..1IdentifierMedication treatment plan item ID
.... id 0..1stringUnique id for inter-element referencing
.... Slices for 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 SΣ1..1uriThe namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value SΣ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 ?!SΣ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 SΣ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.

.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding SΣ0..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:ATC SΣ0..*CodingATC code (Level 1) if possible
...... id 0..1stringUnique id for inter-element referencing
...... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ1..1uriIdentity of the terminology system
Fixed Value: http://www.whocc.no/atc
...... version Σ0..1stringVersion of the system - if relevant
...... code SΣ1..1codeSymbol in syntax defined by the system
...... display SΣ0..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text SΣ0..1stringNote that no ATC Code is applied
... Slices for medication[x] Σ1..1Reference()What medication was taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference SΣ1..1Reference(Medication)Reference to the contained medication
... subject SΣ1..1Reference(Patient Card)Patient
.... id 0..1stringUnique id for inter-element referencing
.... Slices for 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 S0..1Reference(Practitioner | Patient Card)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
.... ch-ext-epr-time 0..1dateTimeTimestamp of the authorship/data input
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time
.... ch-emed-ext-representedorganization 0..1Reference(CH Core Organization Profile 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 S0..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
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ0..*CodingCode defined by a terminology system
.... text SΣ0..1stringPlain text representation of the concept
... reasonReference 0..*Reference(Condition | Observation | DiagnosticReport)Condition or observation that supports why the medication is being/was taken
... note S0..1AnnotationAnnotation
.... id 0..1stringUnique id for inter-element referencing
.... Slices for 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..1markdownThe annotation - text content (as markdown)
... Slices for dosage S1..*DosageHow the medication should be taken
Slice: Unordered, Closed by profile:$this
.... dosage:nonstructured S0..1CHEMEDDosageNonStructuredCH EMED Dosage Non-Structured
.... dosage:structurednormal S0..1CardDosageStructuredNormalChmed20afHow the medication is/was taken or should be taken
.... dosage:structuredsplit S0..*CardDosageStructuredSplitChmed20afHow the medication is/was taken or should be taken

doco Documentation for this format

This structure is derived from CHEMEDMedicationStatementCard

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement I0..*CHEMEDMedicationStatementCardRecord of medication being taken by a patient
... contained 1..1ResourceMedication inline resource
... chmed20af-privatefield 0..*(Complex)Private fields for patient
URL: http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-privatefield
... identifier Σ1..1IdentifierMedication treatment plan item ID
.... system Σ1..1uriThe namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value Σ1..1stringidentifier value as uuid
... 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
... 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 coding Σ0..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:ATC Σ0..*CodingATC code (Level 1) if possible
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: http://www.whocc.no/atc
...... code Σ1..1codeSymbol in syntax defined by the system
...... display Σ0..1stringRepresentation defined by the system
.... text Σ0..1stringNote that no ATC Code is applied
... medication[x]:medicationReference Σ1..1Reference(Medication)Reference to the contained medication
... subject Σ1..1Reference(Patient Card)Patient
... informationSource 0..1Reference(Practitioner | Patient Card)The author of the medical decision
... reasonCode 0..1CodeableConceptTreatment reason
Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken.


.... text Σ0..1stringPlain text representation of the concept
... note 0..1AnnotationAnnotation
.... text Σ1..1markdownThe annotation - text content (as markdown)
... Slices for dosage 1..*DosageHow the medication should be taken
Slice: Unordered, Closed by profile:$this
.... dosage:nonstructured 0..1CHEMEDDosageNonStructuredCH EMED Dosage Non-Structured
.... dosage:structurednormal 0..1CardDosageStructuredNormalChmed20afHow the medication is/was taken or should be taken
.... dosage:structuredsplit 0..*CardDosageStructuredSplitChmed20afHow the medication is/was taken or should be taken

doco Documentation for this format

This structure is derived from CHEMEDMedicationStatementCard

Summary

Mandatory: 0 element (2 nested mandatory elements)
Must-Support: 23 elements
Fixed Value: 1 element

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element MedicationStatement.category.coding is sliced based on the value of value:system

Differential View

This structure is derived from CHEMEDMedicationStatementCard

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement 0..*CHEMEDMedicationStatementCardRecord of medication being taken by a patient
... contained S1..1ResourceMedication inline resource
... chmed20af-privatefield S0..*(Complex)Private fields for patient
URL: http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-privatefield
... identifier S1..1IdentifierMedication treatment plan item ID
.... system S1..1uriThe namespace for the identifier value
.... value S1..1stringidentifier value as uuid
... status S1..1codeactive | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
... category S0..1CodeableConceptType of medication usage
.... Slices for coding S0..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:ATC S0..*CodingATC code (Level 1) if possible
...... system S1..1uriIdentity of the terminology system
Fixed Value: http://www.whocc.no/atc
...... code S1..1codeSymbol in syntax defined by the system
...... display S0..1stringRepresentation defined by the system
.... text S0..1stringNote that no ATC Code is applied
... medicationReference S1..1Reference(Medication)Reference to the contained medication
... subject S1..1Reference(Patient Card)Patient
... informationSource S0..1Reference(Practitioner | Patient Card)The author of the medical decision
... reasonCode S0..1CodeableConceptTreatment reason
.... text S0..1stringPlain text representation of the concept
... note S0..1AnnotationAnnotation
... dosage S1..*DosageHow the medication should be taken
... dosage:nonstructured S0..1CHEMEDDosageNonStructuredCH EMED Dosage Non-Structured
... dosage:structurednormal S0..1CardDosageStructuredNormalChmed20afHow the medication is/was taken or should be taken
... dosage:structuredsplit S0..*CardDosageStructuredSplitChmed20afHow the medication is/was taken or should be taken

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement I0..*CHEMEDMedicationStatementCardRecord of medication being taken by a patient
... 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)
Max Binding: AllLanguages: A human language.

... text 0..1NarrativeText summary of the resource, for human interpretation
... contained S1..1ResourceMedication inline resource
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... ch-emed-ext-treatmentplan 0..1(Complex)Reference to the medication treatment plan
URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-treatmentplan
... ch-emed-ext-documentauthor 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
... chmed20af-privatefield S0..*(Complex)Private fields for patient
URL: http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-privatefield
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier SΣ1..1IdentifierMedication treatment plan item ID
.... id 0..1stringUnique id for inter-element referencing
.... Slices for 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 SΣ1..1uriThe namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986
.... value SΣ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 ?!SΣ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 SΣ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.

.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding SΣ0..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:ATC SΣ0..*CodingATC code (Level 1) if possible
...... id 0..1stringUnique id for inter-element referencing
...... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ1..1uriIdentity of the terminology system
Fixed Value: http://www.whocc.no/atc
...... version Σ0..1stringVersion of the system - if relevant
...... code SΣ1..1codeSymbol in syntax defined by the system
...... display SΣ0..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text SΣ0..1stringNote that no ATC Code is applied
... Slices for medication[x] Σ1..1Reference()What medication was taken
Slice: Unordered, Closed by type:$this
.... medication[x]:medicationReference SΣ1..1Reference(Medication)Reference to the contained medication
... subject SΣ1..1Reference(Patient Card)Patient
.... id 0..1stringUnique id for inter-element referencing
.... Slices for 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 S0..1Reference(Practitioner | Patient Card)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
.... ch-ext-epr-time 0..1dateTimeTimestamp of the authorship/data input
URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time
.... ch-emed-ext-representedorganization 0..1Reference(CH Core Organization Profile 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 S0..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
.... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ0..*CodingCode defined by a terminology system
.... text SΣ0..1stringPlain text representation of the concept
... reasonReference 0..*Reference(Condition | Observation | DiagnosticReport)Condition or observation that supports why the medication is being/was taken
... note S0..1AnnotationAnnotation
.... id 0..1stringUnique id for inter-element referencing
.... Slices for 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..1markdownThe annotation - text content (as markdown)
... Slices for dosage S1..*DosageHow the medication should be taken
Slice: Unordered, Closed by profile:$this
.... dosage:nonstructured S0..1CHEMEDDosageNonStructuredCH EMED Dosage Non-Structured
.... dosage:structurednormal S0..1CardDosageStructuredNormalChmed20afHow the medication is/was taken or should be taken
.... dosage:structuredsplit S0..*CardDosageStructuredSplitChmed20afHow the medication is/was taken or should be taken

doco Documentation for this format

 

Terminology Bindings

PathConformanceValueSet / Code
MedicationStatement.languagepreferredCommonLanguages
Max Binding: AllLanguages
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

IdPathDetailsRequirements
dom-2MedicationStatementIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3MedicationStatementIf 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-4MedicationStatementIf 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-5MedicationStatementIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6MedicationStatementA resource should have narrative for robust management
: text.`div`.exists()
ch-dosage-1MedicationStatementIf 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
ele-1MedicationStatement.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationStatement.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationStatement.extension:treatmentPlanAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationStatement.extension:treatmentPlanMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationStatement.extension:authorDocumentAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationStatement.extension:authorDocumentMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationStatement.extension:privatefieldAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationStatement.extension:privatefieldMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationStatement.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationStatement.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationStatement.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.identifier.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationStatement.identifier.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationStatement.identifier.useAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.identifier.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.identifier.systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.identifier.valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.identifier.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.identifier.assignerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.basedOnAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.partOfAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.statusReasonAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.categoryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.category.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationStatement.category.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationStatement.category.codingAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.category.coding:ATCAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.category.coding:ATC.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationStatement.category.coding:ATC.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationStatement.category.coding:ATC.systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.category.coding:ATC.versionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.category.coding:ATC.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.category.coding:ATC.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.category.coding:ATC.userSelectedAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.category.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.medication[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.medication[x]:medicationReferenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.subjectAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.subject.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationStatement.subject.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationStatement.subject.referenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.subject.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.subject.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.subject.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.contextAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.effective[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.dateAssertedAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.informationSourceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.informationSource.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationStatement.informationSource.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationStatement.informationSource.extension:authorTimeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationStatement.informationSource.extension:authorTimeMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationStatement.informationSource.extension:authorOrganizationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationStatement.informationSource.extension:authorOrganizationMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationStatement.informationSource.referenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.informationSource.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.informationSource.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.informationSource.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.derivedFromAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.reasonCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.reasonCode.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationStatement.reasonCode.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationStatement.reasonCode.codingAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.reasonCode.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.reasonReferenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.noteAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.note.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MedicationStatement.note.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MedicationStatement.note.author[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.note.timeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.note.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.dosageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.dosage:nonstructuredAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.dosage:structurednormalAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MedicationStatement.dosage:structuredsplitAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
.