eMediplan CHMED16AF Implementation Guide:

StructureDefinition: chmed16af-mp-medicationstatement

Formal Views of Profile Content

The official URL for this profile is:

http://chmed16af.emediplan.ch/fhir/StructureDefinition/chmed16af-mp-medicationstatement

Profile on MedicationStatement for MedicationPlan

This profile builds on MedicationStatement.

This profile was published on Tue Jun 11 11:36:31 CEST 2019 as a draft by IG eMediplan.

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

This structure is derived from MedicationStatement

Summary

Mandatory: 4 elements
Prohibited: 7 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

This structure is derived from MedicationStatement

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement 0..*Record of medication being taken by a patient
... extension 0..*ExtensionSlice: Unordered, Open by value:url
... chmed16af-privatefield 0..*(Complex)Private fields for patient
URL: http://chmed16af.emediplan.ch/fhir/StructureDefinition/chmed16af-privatefield
... identifier 0..0
... basedOn 0..0
... partOf 0..*Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation)Part of referenced event
... status ?!Σ1..1codeactive | completed | entered-in-error | intended | stopped | on-hold
Binding: Medication Status Codes (required)
... category 0..0
... medication[x] Σ1..1Reference(Medication)What medication was taken
Binding: SNOMEDCTMedicationCodes (example)
... subject Σ1..1Reference(Patient)Who is/was taking the medication
... context 0..0
... effective[x] Σ0..1dateTime, PeriodThe date/time or interval when the medication was taken
... dateAsserted Σ0..0
... informationSource 0..1Reference(Patient | Practitioner)Person or organization that provided the information about the taking of this medication
... derivedFrom 0..0
... reasonCode 1..1CodeableConceptReason for why the medication is being/was taken
... reasonReference 0..0
... note 0..1AnnotationApplication Instructions
... dosage 0..*DosageChmed16afDetails of how medication is/was taken or should be taken

doco Documentation for this format

This structure is derived from MedicationStatement

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement I0..*Record of medication being taken by a patient
... id Σ0..1idLogical 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
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... chmed16af-privatefield I0..*(Complex)Private fields for patient
URL: http://chmed16af.emediplan.ch/fhir/StructureDefinition/chmed16af-privatefield
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... partOf Σ0..*Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation)Part of referenced event
... status ?!Σ1..1codeactive | completed | entered-in-error | intended | stopped | on-hold
Binding: Medication Status Codes (required)
... statusReason 0..*CodeableConceptReason for current status
Binding: SNOMEDCTDrugTherapyStatusCodes (example)
... medicationReference Σ1..1Reference(Medication)What medication was taken
... subject Σ1..1Reference(Patient)Who is/was taking the medication
... effective[x] Σ0..1dateTime, PeriodThe date/time or interval when the medication was taken
... informationSource 0..1Reference(Patient | Practitioner)Person or organization that provided the information about the taking of this medication
... reasonCode 1..1CodeableConceptReason for why the medication is being/was taken
Binding: Condition/Problem/DiagnosisCodes (example)
... note 0..1AnnotationApplication Instructions
... dosage 0..*DosageChmed16afDetails of how medication is/was taken or should be taken

doco Documentation for this format

This structure is derived from MedicationStatement

Summary

Mandatory: 4 elements
Prohibited: 7 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Differential View

This structure is derived from MedicationStatement

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement 0..*Record of medication being taken by a patient
... extension 0..*ExtensionSlice: Unordered, Open by value:url
... chmed16af-privatefield 0..*(Complex)Private fields for patient
URL: http://chmed16af.emediplan.ch/fhir/StructureDefinition/chmed16af-privatefield
... identifier 0..0
... basedOn 0..0
... partOf 0..*Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation)Part of referenced event
... status ?!Σ1..1codeactive | completed | entered-in-error | intended | stopped | on-hold
Binding: Medication Status Codes (required)
... category 0..0
... medication[x] Σ1..1Reference(Medication)What medication was taken
Binding: SNOMEDCTMedicationCodes (example)
... subject Σ1..1Reference(Patient)Who is/was taking the medication
... context 0..0
... effective[x] Σ0..1dateTime, PeriodThe date/time or interval when the medication was taken
... dateAsserted Σ0..0
... informationSource 0..1Reference(Patient | Practitioner)Person or organization that provided the information about the taking of this medication
... derivedFrom 0..0
... reasonCode 1..1CodeableConceptReason for why the medication is being/was taken
... reasonReference 0..0
... note 0..1AnnotationApplication Instructions
... dosage 0..*DosageChmed16afDetails of how medication is/was taken or should be taken

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationStatement I0..*Record of medication being taken by a patient
... id Σ0..1idLogical 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
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... chmed16af-privatefield I0..*(Complex)Private fields for patient
URL: http://chmed16af.emediplan.ch/fhir/StructureDefinition/chmed16af-privatefield
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... partOf Σ0..*Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation)Part of referenced event
... status ?!Σ1..1codeactive | completed | entered-in-error | intended | stopped | on-hold
Binding: Medication Status Codes (required)
... statusReason 0..*CodeableConceptReason for current status
Binding: SNOMEDCTDrugTherapyStatusCodes (example)
... medicationReference Σ1..1Reference(Medication)What medication was taken
... subject Σ1..1Reference(Patient)Who is/was taking the medication
... effective[x] Σ0..1dateTime, PeriodThe date/time or interval when the medication was taken
... informationSource 0..1Reference(Patient | Practitioner)Person or organization that provided the information about the taking of this medication
... reasonCode 1..1CodeableConceptReason for why the medication is being/was taken
Binding: Condition/Problem/DiagnosisCodes (example)
... note 0..1AnnotationApplication Instructions
... dosage 0..*DosageChmed16afDetails of how medication is/was taken or should be taken

doco Documentation for this format

 

Constraints

IdPathDetailsRequirements
dom-2MedicationStatementIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.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-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-6MedicationStatementA resource should have narrative for robust management
: text.div.exists()
dom-5MedicationStatementIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
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.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()
.