Extensions for Using Data Elements from FHIR R4 in FHIR STU3
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR R4 in FHIR STU3 - Downloaded Version null See the Directory of published versions

Resource Profile: Profile_R4_MedicationStatement_R3

Official URL: http://hl7.org/fhir/4.0/StructureDefinition/profile-MedicationStatement Version: 0.1.0
Standards status: Trial-use Maturity Level: 0 Computable Name: Profile_R4_MedicationStatement_R3

This cross-version profile allows R4 MedicationStatement content to be represented via FHIR STU3 MedicationStatement resources.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* MedicationStatement Record of medication being taken by a patient
Constraints: mst-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:statusReason 0..* CodeableConcept R4: Reason for current status (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationStatement.statusReason
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:status 0..1 code R4: active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationStatement.status
Binding: R4MedicationStatementStatusForR3 (0.1.0) (required): A coded concept indicating the current status of a MedicationStatement.
... medication[x] Σ 1..1 What medication was taken
Binding: SNOMED CT Medication Codes (example): A coded concept identifying the substance or product being taken.
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... subject Σ 1..1 Reference(Patient | Group) Who is/was taking the medication
... taken ?!Σ 1..1 code y | n | unk | na
Binding: MedicationStatementTaken (required): A coded concept identifying level of certainty if patient has taken or has not taken the medication

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​status Base required MedicationStatementStatus . 📍3.0.2 tx.fhir.org
MedicationStatement.​medication[x] Base example SNOMED CT Medication Codes 📍3.0.2 FHIR Std.
MedicationStatement.​taken Base required MedicationStatementTaken 📍3.0.2 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-1 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain any narrative contained.text.empty()
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource contained.where(('#'+id in %resource.descendants().reference).not()).empty()
dom-4 error 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()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() | (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
mst-1 error MedicationStatement Reason not taken is only permitted if Taken is No reasonNotTaken.exists().not() or (taken = 'n')

This structure is derived from MedicationStatement

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:statusReason 0..* CodeableConcept R4: Reason for current status (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationStatement.statusReason
... basedOn
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:basedOn 0..* ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: basedOn
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... status
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:status 0..1 code R4: active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationStatement.status
Binding: R4MedicationStatementStatusForR3 (0.1.0) (required): A coded concept indicating the current status of a MedicationStatement.
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:informationSource 0..1 ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: informationSource
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... reasonReference
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:reasonReference 0..* ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: reasonReference
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* MedicationStatement Record of medication being taken by a patient
Constraints: mst-1
... id Σ 0..1 id 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
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:statusReason 0..* CodeableConcept R4: Reason for current status (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationStatement.statusReason
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External identifier
... basedOn Σ 0..* Reference(MedicationRequest | CarePlan | ProcedureRequest | ReferralRequest) Fulfils plan, proposal or order
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:basedOn 0..* ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: basedOn
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... partOf Σ 0..* Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) Part of referenced event
... context Σ 0..1 Reference(Encounter | EpisodeOfCare) Encounter / Episode associated with MedicationStatement
... status ?!Σ 1..1 code active | completed | entered-in-error | intended | stopped | on-hold
Binding: MedicationStatementStatus . (required): A coded concept indicating the current status of a MedicationStatement.
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:status 0..1 code R4: active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationStatement.status
Binding: R4MedicationStatementStatusForR3 (0.1.0) (required): A coded concept indicating the current status of a MedicationStatement.
.... value 0..1 code Primitive value for code
... category Σ 0..1 CodeableConcept Type of medication usage
Binding: MedicationStatementCategory (preferred): A coded concept identifying where the medication included in the medicationstatement is expected to be consumed or administered
... medication[x] Σ 1..1 What medication was taken
Binding: SNOMED CT Medication Codes (example): A coded concept identifying the substance or product being taken.
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... effective[x] Σ 0..1 The date/time or interval when the medication was taken
.... effectiveDateTime dateTime
.... effectivePeriod Period
... dateAsserted Σ 0..1 dateTime When the statement was asserted?
... informationSource 0..1 Reference(Patient | Practitioner | RelatedPerson | Organization) Person or organization that provided the information about the taking of this medication
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:informationSource 0..1 ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: informationSource
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... subject Σ 1..1 Reference(Patient | Group) Who is/was taking the medication
... derivedFrom 0..* Reference(Resource) Additional supporting information
... taken ?!Σ 1..1 code y | n | unk | na
Binding: MedicationStatementTaken (required): A coded concept identifying level of certainty if patient has taken or has not taken the medication
... reasonNotTaken C 0..* CodeableConcept True if asserting medication was not given
Binding: SNOMED CT Drugs not taken/completed Codes (example): A coded concept indicating the reason why the medication was not taken
... reasonCode 0..* CodeableConcept Reason for why the medication is being/was taken
Binding: Condition/Problem/Diagnosis Codes (example): A coded concept identifying why the medication is being taken.
... reasonReference 0..* Reference(Condition | Observation) Condition or observation that supports why the medication is being/was taken
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:reasonReference 0..* ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: reasonReference
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... note 0..* Annotation Further information about the statement
... dosage 0..* Dosage Details of how medication is/was taken or should be taken

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​language Base extensible Common Languages 📍3.0.2 FHIR Std.
MedicationStatement.​status Base required MedicationStatementStatus . 📍3.0.2 tx.fhir.org
MedicationStatement.​category Base preferred MedicationStatementCategory 📍3.0.2 FHIR Std.
MedicationStatement.​medication[x] Base example SNOMED CT Medication Codes 📍3.0.2 FHIR Std.
MedicationStatement.​taken Base required MedicationStatementTaken 📍3.0.2 FHIR Std.
MedicationStatement.​reasonNotTaken Base example SNOMED CT Drugs not taken/completed Codes 📍3.0.2 FHIR Std.
MedicationStatement.​reasonCode Base example Condition/Problem/Diagnosis Codes 📍3.0.2 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-1 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain any narrative contained.text.empty()
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource contained.where(('#'+id in %resource.descendants().reference).not()).empty()
dom-4 error 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()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() | (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
mst-1 error MedicationStatement Reason not taken is only permitted if Taken is No reasonNotTaken.exists().not() or (taken = 'n')

This structure is derived from MedicationStatement

Summary

Extensions

This structure refers to these extensions:

Maturity: 0

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* MedicationStatement Record of medication being taken by a patient
Constraints: mst-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:statusReason 0..* CodeableConcept R4: Reason for current status (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationStatement.statusReason
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:status 0..1 code R4: active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationStatement.status
Binding: R4MedicationStatementStatusForR3 (0.1.0) (required): A coded concept indicating the current status of a MedicationStatement.
... medication[x] Σ 1..1 What medication was taken
Binding: SNOMED CT Medication Codes (example): A coded concept identifying the substance or product being taken.
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... subject Σ 1..1 Reference(Patient | Group) Who is/was taking the medication
... taken ?!Σ 1..1 code y | n | unk | na
Binding: MedicationStatementTaken (required): A coded concept identifying level of certainty if patient has taken or has not taken the medication

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​status Base required MedicationStatementStatus . 📍3.0.2 tx.fhir.org
MedicationStatement.​medication[x] Base example SNOMED CT Medication Codes 📍3.0.2 FHIR Std.
MedicationStatement.​taken Base required MedicationStatementTaken 📍3.0.2 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-1 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain any narrative contained.text.empty()
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource contained.where(('#'+id in %resource.descendants().reference).not()).empty()
dom-4 error 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()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() | (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
mst-1 error MedicationStatement Reason not taken is only permitted if Taken is No reasonNotTaken.exists().not() or (taken = 'n')

Differential View

This structure is derived from MedicationStatement

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:statusReason 0..* CodeableConcept R4: Reason for current status (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationStatement.statusReason
... basedOn
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:basedOn 0..* ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: basedOn
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... status
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:status 0..1 code R4: active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationStatement.status
Binding: R4MedicationStatementStatusForR3 (0.1.0) (required): A coded concept indicating the current status of a MedicationStatement.
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:informationSource 0..1 ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: informationSource
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... reasonReference
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:reasonReference 0..* ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: reasonReference
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* MedicationStatement Record of medication being taken by a patient
Constraints: mst-1
... id Σ 0..1 id 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
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:statusReason 0..* CodeableConcept R4: Reason for current status (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationStatement.statusReason
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External identifier
... basedOn Σ 0..* Reference(MedicationRequest | CarePlan | ProcedureRequest | ReferralRequest) Fulfils plan, proposal or order
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:basedOn 0..* ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: basedOn
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... partOf Σ 0..* Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) Part of referenced event
... context Σ 0..1 Reference(Encounter | EpisodeOfCare) Encounter / Episode associated with MedicationStatement
... status ?!Σ 1..1 code active | completed | entered-in-error | intended | stopped | on-hold
Binding: MedicationStatementStatus . (required): A coded concept indicating the current status of a MedicationStatement.
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:status 0..1 code R4: active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationStatement.status
Binding: R4MedicationStatementStatusForR3 (0.1.0) (required): A coded concept indicating the current status of a MedicationStatement.
.... value 0..1 code Primitive value for code
... category Σ 0..1 CodeableConcept Type of medication usage
Binding: MedicationStatementCategory (preferred): A coded concept identifying where the medication included in the medicationstatement is expected to be consumed or administered
... medication[x] Σ 1..1 What medication was taken
Binding: SNOMED CT Medication Codes (example): A coded concept identifying the substance or product being taken.
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... effective[x] Σ 0..1 The date/time or interval when the medication was taken
.... effectiveDateTime dateTime
.... effectivePeriod Period
... dateAsserted Σ 0..1 dateTime When the statement was asserted?
... informationSource 0..1 Reference(Patient | Practitioner | RelatedPerson | Organization) Person or organization that provided the information about the taking of this medication
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:informationSource 0..1 ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: informationSource
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... subject Σ 1..1 Reference(Patient | Group) Who is/was taking the medication
... derivedFrom 0..* Reference(Resource) Additional supporting information
... taken ?!Σ 1..1 code y | n | unk | na
Binding: MedicationStatementTaken (required): A coded concept identifying level of certainty if patient has taken or has not taken the medication
... reasonNotTaken C 0..* CodeableConcept True if asserting medication was not given
Binding: SNOMED CT Drugs not taken/completed Codes (example): A coded concept indicating the reason why the medication was not taken
... reasonCode 0..* CodeableConcept Reason for why the medication is being/was taken
Binding: Condition/Problem/Diagnosis Codes (example): A coded concept identifying why the medication is being taken.
... reasonReference 0..* Reference(Condition | Observation) Condition or observation that supports why the medication is being/was taken
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:reasonReference 0..* ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R4: reasonReference
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... note 0..* Annotation Further information about the statement
... dosage 0..* Dosage Details of how medication is/was taken or should be taken

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​language Base extensible Common Languages 📍3.0.2 FHIR Std.
MedicationStatement.​status Base required MedicationStatementStatus . 📍3.0.2 tx.fhir.org
MedicationStatement.​category Base preferred MedicationStatementCategory 📍3.0.2 FHIR Std.
MedicationStatement.​medication[x] Base example SNOMED CT Medication Codes 📍3.0.2 FHIR Std.
MedicationStatement.​taken Base required MedicationStatementTaken 📍3.0.2 FHIR Std.
MedicationStatement.​reasonNotTaken Base example SNOMED CT Drugs not taken/completed Codes 📍3.0.2 FHIR Std.
MedicationStatement.​reasonCode Base example Condition/Problem/Diagnosis Codes 📍3.0.2 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-1 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain any narrative contained.text.empty()
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource contained.where(('#'+id in %resource.descendants().reference).not()).empty()
dom-4 error 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()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() | (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
mst-1 error MedicationStatement Reason not taken is only permitted if Taken is No reasonNotTaken.exists().not() or (taken = 'n')

This structure is derived from MedicationStatement

Summary

Extensions

This structure refers to these extensions:

Maturity: 0

 

Other representations of profile: CSV, Excel, Schematron