Extensions for Using Data Elements from FHIR R5 in FHIR STU3 - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/5.0/StructureDefinition/profile-Medication | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: Profile_R5_Medication_R3 | ||
This cross-version profile allows R5 Medication content to be represented via FHIR STU3 Medication resources.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Medication | 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 | Medication | 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()
|
This structure is derived from Medication
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Medication | Definition of a Medication | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | Identifier | R5: Business identifier for this medication (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Medication.identifier | |
![]() ![]() ![]() |
0..1 | Quantity | R5: When the specified product code does not infer a package size, this is the specific amount of drug in the product (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Medication.totalVolume | |
![]() ![]() ![]() |
0..1 | (Complex) | R5: Details about packaged medications (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Medication.batch | |
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R5.MedicationKnowledge for use in FHIR STU3(0.1.0) | Basic) | R5: Knowledge about this medication (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Medication.definition | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-status]] | R5: status URL: http://hl7.org/fhir/StructureDefinition/artifact-status | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: Organization that has authorization to market medication additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept, Quantity | R5: strength additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Medication.ingredient.strength Binding: R5MedicationIngredientstrengthForR3 (0.1.0) (preferred): A coded concpet defining the strength of an ingredient. | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Medication | Definition of a Medication | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: Common Languages (extensible): A human language.
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..* | Identifier | R5: Business identifier for this medication (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Medication.identifier | |||||
![]() ![]() ![]() |
0..1 | Quantity | R5: When the specified product code does not infer a package size, this is the specific amount of drug in the product (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Medication.totalVolume | |||||
![]() ![]() ![]() |
0..1 | (Complex) | R5: Details about packaged medications (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Medication.batch | |||||
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R5.MedicationKnowledge for use in FHIR STU3(0.1.0) | Basic) | R5: Knowledge about this medication (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Medication.definition | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Codes that identify this medication Binding: SNOMED CT Medication Codes (example): A coded concept that defines the type of a medication | ||||
![]() ![]() |
Σ | 0..1 | code | active | inactive | entered-in-error Binding: MedicationStatus (required): A coded concept defining if the medication is in active use | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Additional Content defined by implementations | |||||
![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() |
Σ | 0..1 | boolean | True if a brand | ||||
![]() ![]() |
Σ | 0..1 | boolean | True if medication does not require a prescription | ||||
![]() ![]() |
Σ | 0..1 | Reference(Organization) | Manufacturer of the item | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: Organization that has authorization to market medication additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..1 | CodeableConcept | powder | tablets | capsule + Binding: SNOMED CT Form Codes (example): A coded concept defining the form of a medication | |||||
![]() ![]() |
0..* | BackboneElement | Active or inactive ingredient | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Additional Content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
1..1 | The product contained | ||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Reference(Substance | Medication) | |||||||
![]() ![]() ![]() |
0..1 | boolean | Active ingredient indicator | |||||
![]() ![]() ![]() |
0..1 | Ratio | Quantity of ingredient present | |||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept, Quantity | R5: strength additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Medication.ingredient.strength Binding: R5MedicationIngredientstrengthForR3 (0.1.0) (preferred): A coded concpet defining the strength of an ingredient. | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Quantity | Numerator value | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Quantity | Denominator value | ||||
![]() ![]() |
0..1 | BackboneElement | Details about packaged medications | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Additional Content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | E.g. box, vial, blister-pack Binding: MedicationContainer (example): A coded concept defining the kind of container a medication package is packaged in | |||||
![]() ![]() ![]() |
0..* | BackboneElement | What is in the package | |||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional Content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() ![]() |
1..1 | The item in the package | ||||||
![]() ![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() ![]() |
Reference(Medication) | |||||||
![]() ![]() ![]() ![]() |
0..1 | SimpleQuantity | Quantity present in the package | |||||
![]() ![]() ![]() |
0..* | BackboneElement | Identifies a single production run | |||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional Content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Identifier assigned to batch | |||||
![]() ![]() ![]() ![]() |
0..1 | dateTime | When batch will expire | |||||
![]() ![]() |
0..* | Attachment | Picture of the medication | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Medication.language | Base | extensible |
Common Languages
|
📍3.0.2 | tx.fhir.org |
| Medication.code | Base | example | SNOMED CT Medication Codes | 📍3.0.2 | FHIR Std. |
| Medication.status | Base | required | MedicationStatus | 📍3.0.2 | FHIR Std. |
| Medication.form | Base | example | SNOMED CT Form Codes | 📍3.0.2 | FHIR Std. |
| Medication.package.container | Base | example | MedicationContainer | 📍3.0.2 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Medication | 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 | Medication | 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()
|
This structure is derived from Medication
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Key Elements View
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Medication | 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 | Medication | 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()
|
Differential View
This structure is derived from Medication
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Medication | Definition of a Medication | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | Identifier | R5: Business identifier for this medication (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Medication.identifier | |
![]() ![]() ![]() |
0..1 | Quantity | R5: When the specified product code does not infer a package size, this is the specific amount of drug in the product (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Medication.totalVolume | |
![]() ![]() ![]() |
0..1 | (Complex) | R5: Details about packaged medications (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Medication.batch | |
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R5.MedicationKnowledge for use in FHIR STU3(0.1.0) | Basic) | R5: Knowledge about this medication (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Medication.definition | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-status]] | R5: status URL: http://hl7.org/fhir/StructureDefinition/artifact-status | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: Organization that has authorization to market medication additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept, Quantity | R5: strength additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Medication.ingredient.strength Binding: R5MedicationIngredientstrengthForR3 (0.1.0) (preferred): A coded concpet defining the strength of an ingredient. | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Medication | Definition of a Medication | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: Common Languages (extensible): A human language.
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..* | Identifier | R5: Business identifier for this medication (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Medication.identifier | |||||
![]() ![]() ![]() |
0..1 | Quantity | R5: When the specified product code does not infer a package size, this is the specific amount of drug in the product (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Medication.totalVolume | |||||
![]() ![]() ![]() |
0..1 | (Complex) | R5: Details about packaged medications (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Medication.batch | |||||
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R5.MedicationKnowledge for use in FHIR STU3(0.1.0) | Basic) | R5: Knowledge about this medication (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Medication.definition | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Codes that identify this medication Binding: SNOMED CT Medication Codes (example): A coded concept that defines the type of a medication | ||||
![]() ![]() |
Σ | 0..1 | code | active | inactive | entered-in-error Binding: MedicationStatus (required): A coded concept defining if the medication is in active use | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Additional Content defined by implementations | |||||
![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() |
Σ | 0..1 | boolean | True if a brand | ||||
![]() ![]() |
Σ | 0..1 | boolean | True if medication does not require a prescription | ||||
![]() ![]() |
Σ | 0..1 | Reference(Organization) | Manufacturer of the item | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: Organization that has authorization to market medication additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..1 | CodeableConcept | powder | tablets | capsule + Binding: SNOMED CT Form Codes (example): A coded concept defining the form of a medication | |||||
![]() ![]() |
0..* | BackboneElement | Active or inactive ingredient | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Additional Content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
1..1 | The product contained | ||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Reference(Substance | Medication) | |||||||
![]() ![]() ![]() |
0..1 | boolean | Active ingredient indicator | |||||
![]() ![]() ![]() |
0..1 | Ratio | Quantity of ingredient present | |||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept, Quantity | R5: strength additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Medication.ingredient.strength Binding: R5MedicationIngredientstrengthForR3 (0.1.0) (preferred): A coded concpet defining the strength of an ingredient. | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Quantity | Numerator value | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Quantity | Denominator value | ||||
![]() ![]() |
0..1 | BackboneElement | Details about packaged medications | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Additional Content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | E.g. box, vial, blister-pack Binding: MedicationContainer (example): A coded concept defining the kind of container a medication package is packaged in | |||||
![]() ![]() ![]() |
0..* | BackboneElement | What is in the package | |||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional Content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() ![]() |
1..1 | The item in the package | ||||||
![]() ![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() ![]() |
Reference(Medication) | |||||||
![]() ![]() ![]() ![]() |
0..1 | SimpleQuantity | Quantity present in the package | |||||
![]() ![]() ![]() |
0..* | BackboneElement | Identifies a single production run | |||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional Content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Identifier assigned to batch | |||||
![]() ![]() ![]() ![]() |
0..1 | dateTime | When batch will expire | |||||
![]() ![]() |
0..* | Attachment | Picture of the medication | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Medication.language | Base | extensible |
Common Languages
|
📍3.0.2 | tx.fhir.org |
| Medication.code | Base | example | SNOMED CT Medication Codes | 📍3.0.2 | FHIR Std. |
| Medication.status | Base | required | MedicationStatus | 📍3.0.2 | FHIR Std. |
| Medication.form | Base | example | SNOMED CT Form Codes | 📍3.0.2 | FHIR Std. |
| Medication.package.container | Base | example | MedicationContainer | 📍3.0.2 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Medication | 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 | Medication | 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()
|
This structure is derived from Medication
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron