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:
This structure is derived from CHEMEDMedicationStatementCard
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationStatement | 0..* | CHEMEDMedicationStatementCard | Record of medication being taken by a patient | |
contained | S | 1..1 | Resource | Medication inline resource |
chmed20af-privatefield | S | 0..* | (Complex) | Private fields for patient URL: http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-privatefield |
identifier | S | 1..1 | Identifier | Medication treatment plan item ID |
system | S | 1..1 | uri | The namespace for the identifier value |
value | S | 1..1 | string | identifier value as uuid |
status | S | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken |
category | S | 0..1 | CodeableConcept | Type of medication usage |
Slices for coding | S | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system |
coding:ATC | S | 0..* | Coding | ATC code (Level 1) if possible |
system | S | 1..1 | uri | Identity of the terminology system Fixed Value: http://www.whocc.no/atc |
code | S | 1..1 | code | Symbol in syntax defined by the system |
display | S | 0..1 | string | Representation defined by the system |
text | S | 0..1 | string | Note that no ATC Code is applied |
medicationReference | S | 1..1 | Reference(Medication) | Reference to the contained medication |
subject | S | 1..1 | Reference(Patient Card) | Patient |
informationSource | S | 0..1 | Reference(Practitioner | Patient Card) | The author of the medical decision |
reasonCode | S | 0..1 | CodeableConcept | Treatment reason |
text | S | 0..1 | string | Plain text representation of the concept |
note | S | 0..1 | Annotation | Annotation |
dosage | S | 1..* | Dosage | How the medication should be taken |
dosage:nonstructured | S | 0..1 | CHEMEDDosageNonStructured | CH EMED Dosage Non-Structured |
dosage:structurednormal | S | 0..1 | CardDosageStructuredNormalChmed20af | How the medication is/was taken or should be taken |
dosage:structuredsplit | S | 0..* | CardDosageStructuredSplitChmed20af | How the medication is/was taken or should be taken |
Documentation for this format |
This structure is derived from CHEMEDMedicationStatementCard
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationStatement | I | 0..* | CHEMEDMedicationStatementCard | Record of medication being taken by a patient |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language. | |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | S | 1..1 | Resource | Medication inline resource |
Slices for extension | 0..* | Extension | Extension 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 | S | 0..* | (Complex) | Private fields for patient URL: http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-privatefield |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | SΣ | 1..1 | Identifier | Medication treatment plan item ID |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
type | Σ | 0..1 | CodeableConcept | Description 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..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 |
value | SΣ | 1..1 | string | identifier value as uuid Example General: 123456 |
period | Σ | 0..1 | Period | Time period when id is/was valid for use |
assigner | Σ | 0..1 | Reference(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..1 | code | active | 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..* | CodeableConcept | Reason for current status Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement. | |
category | SΣ | 0..1 | CodeableConcept | Type 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..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
Slices for coding | SΣ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system |
coding:ATC | SΣ | 0..* | Coding | ATC code (Level 1) if possible |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
system | SΣ | 1..1 | uri | Identity of the terminology system Fixed Value: http://www.whocc.no/atc |
version | Σ | 0..1 | string | Version of the system - if relevant |
code | SΣ | 1..1 | code | Symbol in syntax defined by the system |
display | SΣ | 0..1 | string | Representation defined by the system |
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user |
text | SΣ | 0..1 | string | Note that no ATC Code is applied |
Slices for medication[x] | Σ | 1..1 | Reference() | What medication was taken Slice: Unordered, Closed by type:$this |
medication[x]:medicationReference | SΣ | 1..1 | Reference(Medication) | Reference to the contained medication |
subject | SΣ | 1..1 | Reference(Patient Card) | Patient |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
reference | ΣI | 1..1 | string | Literal reference, Relative, internal or absolute URL |
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
display | Σ | 0..1 | string | Text alternative for the resource |
context | Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement |
effective[x] | Σ | 0..1 | The date/time or interval when the medication is/was/will be taken | |
effectiveDateTime | dateTime | |||
effectivePeriod | Period | |||
dateAsserted | Σ | 0..1 | dateTime | When the statement was asserted? |
informationSource | S | 0..1 | Reference(Practitioner | Patient Card) | The author of the medical decision |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
ch-ext-epr-time | 0..1 | dateTime | Timestamp of the authorship/data input URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time | |
ch-emed-ext-representedorganization | 0..1 | Reference(CH Core Organization Profile EPR) | The author's organization URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-representedorganization | |
reference | ΣI | 1..1 | string | Literal reference, Relative, internal or absolute URL |
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
display | Σ | 0..1 | string | Text alternative for the resource |
derivedFrom | 0..* | Reference(Resource) | Additional supporting information | |
reasonCode | S | 0..1 | CodeableConcept | Treatment reason Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken. |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
coding | Σ | 0..* | Coding | Code defined by a terminology system |
text | SΣ | 0..1 | string | Plain text representation of the concept |
reasonReference | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken | |
note | S | 0..1 | Annotation | Annotation |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
author[x] | Σ | 0..1 | Individual responsible for the annotation | |
authorReference | Reference(Practitioner | Patient | RelatedPerson | Organization) | |||
authorString | string | |||
time | Σ | 0..1 | dateTime | When the annotation was made |
text | SΣ | 1..1 | markdown | The annotation - text content (as markdown) |
Slices for dosage | S | 1..* | Dosage | How the medication should be taken Slice: Unordered, Closed by profile:$this |
dosage:nonstructured | S | 0..1 | CHEMEDDosageNonStructured | CH EMED Dosage Non-Structured |
dosage:structurednormal | S | 0..1 | CardDosageStructuredNormalChmed20af | How the medication is/was taken or should be taken |
dosage:structuredsplit | S | 0..* | CardDosageStructuredSplitChmed20af | How the medication is/was taken or should be taken |
Documentation for this format |
This structure is derived from CHEMEDMedicationStatementCard
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationStatement | I | 0..* | CHEMEDMedicationStatementCard | Record of medication being taken by a patient |
contained | 1..1 | Resource | Medication inline resource | |
chmed20af-privatefield | 0..* | (Complex) | Private fields for patient URL: http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-privatefield | |
identifier | Σ | 1..1 | Identifier | Medication treatment plan item ID |
system | Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 |
value | Σ | 1..1 | string | identifier value as uuid |
status | ?!Σ | 1..1 | code | active | 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..1 | CodeableConcept | Type 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..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system |
coding:ATC | Σ | 0..* | Coding | ATC code (Level 1) if possible |
system | Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://www.whocc.no/atc |
code | Σ | 1..1 | code | Symbol in syntax defined by the system |
display | Σ | 0..1 | string | Representation defined by the system |
text | Σ | 0..1 | string | Note that no ATC Code is applied |
medication[x]:medicationReference | Σ | 1..1 | Reference(Medication) | Reference to the contained medication |
subject | Σ | 1..1 | Reference(Patient Card) | Patient |
informationSource | 0..1 | Reference(Practitioner | Patient Card) | The author of the medical decision | |
reasonCode | 0..1 | CodeableConcept | Treatment reason Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken. | |
text | Σ | 0..1 | string | Plain text representation of the concept |
note | 0..1 | Annotation | Annotation | |
text | Σ | 1..1 | markdown | The annotation - text content (as markdown) |
Slices for dosage | 1..* | Dosage | How the medication should be taken Slice: Unordered, Closed by profile:$this | |
dosage:nonstructured | 0..1 | CHEMEDDosageNonStructured | CH EMED Dosage Non-Structured | |
dosage:structurednormal | 0..1 | CardDosageStructuredNormalChmed20af | How the medication is/was taken or should be taken | |
dosage:structuredsplit | 0..* | CardDosageStructuredSplitChmed20af | How the medication is/was taken or should be taken | |
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:
Differential View
This structure is derived from CHEMEDMedicationStatementCard
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationStatement | 0..* | CHEMEDMedicationStatementCard | Record of medication being taken by a patient | |
contained | S | 1..1 | Resource | Medication inline resource |
chmed20af-privatefield | S | 0..* | (Complex) | Private fields for patient URL: http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-privatefield |
identifier | S | 1..1 | Identifier | Medication treatment plan item ID |
system | S | 1..1 | uri | The namespace for the identifier value |
value | S | 1..1 | string | identifier value as uuid |
status | S | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken |
category | S | 0..1 | CodeableConcept | Type of medication usage |
Slices for coding | S | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system |
coding:ATC | S | 0..* | Coding | ATC code (Level 1) if possible |
system | S | 1..1 | uri | Identity of the terminology system Fixed Value: http://www.whocc.no/atc |
code | S | 1..1 | code | Symbol in syntax defined by the system |
display | S | 0..1 | string | Representation defined by the system |
text | S | 0..1 | string | Note that no ATC Code is applied |
medicationReference | S | 1..1 | Reference(Medication) | Reference to the contained medication |
subject | S | 1..1 | Reference(Patient Card) | Patient |
informationSource | S | 0..1 | Reference(Practitioner | Patient Card) | The author of the medical decision |
reasonCode | S | 0..1 | CodeableConcept | Treatment reason |
text | S | 0..1 | string | Plain text representation of the concept |
note | S | 0..1 | Annotation | Annotation |
dosage | S | 1..* | Dosage | How the medication should be taken |
dosage:nonstructured | S | 0..1 | CHEMEDDosageNonStructured | CH EMED Dosage Non-Structured |
dosage:structurednormal | S | 0..1 | CardDosageStructuredNormalChmed20af | How the medication is/was taken or should be taken |
dosage:structuredsplit | S | 0..* | CardDosageStructuredSplitChmed20af | How the medication is/was taken or should be taken |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationStatement | I | 0..* | CHEMEDMedicationStatementCard | Record of medication being taken by a patient |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language. | |
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
contained | S | 1..1 | Resource | Medication inline resource |
Slices for extension | 0..* | Extension | Extension 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 | S | 0..* | (Complex) | Private fields for patient URL: http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-privatefield |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | SΣ | 1..1 | Identifier | Medication treatment plan item ID |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
type | Σ | 0..1 | CodeableConcept | Description 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..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 |
value | SΣ | 1..1 | string | identifier value as uuid Example General: 123456 |
period | Σ | 0..1 | Period | Time period when id is/was valid for use |
assigner | Σ | 0..1 | Reference(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..1 | code | active | 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..* | CodeableConcept | Reason for current status Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement. | |
category | SΣ | 0..1 | CodeableConcept | Type 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..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
Slices for coding | SΣ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system |
coding:ATC | SΣ | 0..* | Coding | ATC code (Level 1) if possible |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
system | SΣ | 1..1 | uri | Identity of the terminology system Fixed Value: http://www.whocc.no/atc |
version | Σ | 0..1 | string | Version of the system - if relevant |
code | SΣ | 1..1 | code | Symbol in syntax defined by the system |
display | SΣ | 0..1 | string | Representation defined by the system |
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user |
text | SΣ | 0..1 | string | Note that no ATC Code is applied |
Slices for medication[x] | Σ | 1..1 | Reference() | What medication was taken Slice: Unordered, Closed by type:$this |
medication[x]:medicationReference | SΣ | 1..1 | Reference(Medication) | Reference to the contained medication |
subject | SΣ | 1..1 | Reference(Patient Card) | Patient |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
reference | ΣI | 1..1 | string | Literal reference, Relative, internal or absolute URL |
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
display | Σ | 0..1 | string | Text alternative for the resource |
context | Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement |
effective[x] | Σ | 0..1 | The date/time or interval when the medication is/was/will be taken | |
effectiveDateTime | dateTime | |||
effectivePeriod | Period | |||
dateAsserted | Σ | 0..1 | dateTime | When the statement was asserted? |
informationSource | S | 0..1 | Reference(Practitioner | Patient Card) | The author of the medical decision |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
ch-ext-epr-time | 0..1 | dateTime | Timestamp of the authorship/data input URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-time | |
ch-emed-ext-representedorganization | 0..1 | Reference(CH Core Organization Profile EPR) | The author's organization URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-representedorganization | |
reference | ΣI | 1..1 | string | Literal reference, Relative, internal or absolute URL |
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). |
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
display | Σ | 0..1 | string | Text alternative for the resource |
derivedFrom | 0..* | Reference(Resource) | Additional supporting information | |
reasonCode | S | 0..1 | CodeableConcept | Treatment reason Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken. |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
coding | Σ | 0..* | Coding | Code defined by a terminology system |
text | SΣ | 0..1 | string | Plain text representation of the concept |
reasonReference | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken | |
note | S | 0..1 | Annotation | Annotation |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
author[x] | Σ | 0..1 | Individual responsible for the annotation | |
authorReference | Reference(Practitioner | Patient | RelatedPerson | Organization) | |||
authorString | string | |||
time | Σ | 0..1 | dateTime | When the annotation was made |
text | SΣ | 1..1 | markdown | The annotation - text content (as markdown) |
Slices for dosage | S | 1..* | Dosage | How the medication should be taken Slice: Unordered, Closed by profile:$this |
dosage:nonstructured | S | 0..1 | CHEMEDDosageNonStructured | CH EMED Dosage Non-Structured |
dosage:structurednormal | S | 0..1 | CardDosageStructuredNormalChmed20af | How the medication is/was taken or should be taken |
dosage:structuredsplit | S | 0..* | CardDosageStructuredSplitChmed20af | How the medication is/was taken or should be taken |
Documentation for this format |
Path | Conformance | ValueSet / Code |
MedicationStatement.language | preferred | CommonLanguages Max Binding: AllLanguages |
MedicationStatement.identifier.use | required | IdentifierUse |
MedicationStatement.identifier.type | extensible | Identifier Type Codes |
MedicationStatement.status | required | Fixed Value: completed |
MedicationStatement.statusReason | example | SNOMEDCTDrugTherapyStatusCodes |
MedicationStatement.category | preferred | Medication usage category codes |
MedicationStatement.subject.type | extensible | ResourceType |
MedicationStatement.informationSource.type | extensible | ResourceType |
MedicationStatement.reasonCode | example | Condition/Problem/DiagnosisCodes |
Id | Path | Details | Requirements |
dom-2 | MedicationStatement | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | MedicationStatement | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | MedicationStatement | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | MedicationStatement | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | MedicationStatement | A resource should have narrative for robust management : text.`div`.exists() | |
ch-dosage-1 | MedicationStatement | If 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-1 | MedicationStatement.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationStatement.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationStatement.extension:treatmentPlan | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationStatement.extension:treatmentPlan | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationStatement.extension:authorDocument | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationStatement.extension:authorDocument | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationStatement.extension:privatefield | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationStatement.extension:privatefield | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationStatement.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationStatement.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationStatement.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.identifier.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationStatement.identifier.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationStatement.identifier.use | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.identifier.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.identifier.system | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.identifier.value | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.identifier.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.identifier.assigner | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.basedOn | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.partOf | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.statusReason | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.category | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.category.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationStatement.category.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationStatement.category.coding | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.category.coding:ATC | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.category.coding:ATC.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationStatement.category.coding:ATC.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationStatement.category.coding:ATC.system | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.category.coding:ATC.version | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.category.coding:ATC.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.category.coding:ATC.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.category.coding:ATC.userSelected | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.category.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.medication[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.medication[x]:medicationReference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.subject | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.subject.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationStatement.subject.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationStatement.subject.reference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.subject.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.subject.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.subject.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.context | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.effective[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.dateAsserted | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.informationSource | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.informationSource.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationStatement.informationSource.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationStatement.informationSource.extension:authorTime | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationStatement.informationSource.extension:authorTime | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationStatement.informationSource.extension:authorOrganization | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationStatement.informationSource.extension:authorOrganization | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationStatement.informationSource.reference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.informationSource.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.informationSource.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.informationSource.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.derivedFrom | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.reasonCode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.reasonCode.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationStatement.reasonCode.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationStatement.reasonCode.coding | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.reasonCode.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.reasonReference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.note | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.note.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | MedicationStatement.note.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | MedicationStatement.note.author[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.note.time | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.note.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.dosage | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.dosage:nonstructured | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.dosage:structurednormal | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | MedicationStatement.dosage:structuredsplit | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |