Extensions for Using Data Elements from FHIR R5 in FHIR R4 - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/5.0/StructureDefinition/profile-Ingredient | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: Profile_R5_Ingredient_R4 | ||
This cross-version profile allows R5 Ingredient content to be represented via FHIR R4 Basic resources.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Basic(4.0.1) | Resource for non-supported content | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R5.MedicinalProductDefinition for use in FHIR R4(0.1.0) | MedicinalProduct | Cross-version Profile for R5.AdministrableProductDefinition for use in FHIR R4(0.1.0) | Basic | Cross-version Profile for R5.ManufacturedItemDefinition for use in FHIR R4(0.1.0) | Basic) | R5: The product which this ingredient is a constituent part of (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.for Constraints: ext-1 | |
![]() ![]() ![]() |
1..1 | CodeableConcept | R5: Purpose of the ingredient within the product, e.g. active, inactive (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.role Binding: R5IngredientRoleForR4 (0.1.0) (example): A classification of the ingredient identifying its purpose within the product, e.g. active, inactive. Constraints: ext-1 | |
![]() ![]() ![]() |
0..* | CodeableConcept | R5: Precise action within the drug product, e.g. antioxidant, alkalizing agent (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.function Binding: R5IngredientFunctionForR4 (0.1.0) (example): A classification of the ingredient identifying its precise purpose(s) in the drug product (beyond e.g. active/inactive). Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | CodeableConcept | R5: A classification of the ingredient according to where in the physical item it tends to be used, such the outer shell of a tablet, inner body or ink (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.group Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | boolean | R5: If the ingredient is a known or suspected allergen (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.allergenicIndicator Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | markdown | R5: A place for providing any notes that are relevant to the component, e.g. removed during process, adjusted for loss on drying (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.comment Constraints: ext-1 | |
![]() ![]() ![]() |
0..* | (Complex) | R5: An organization that manufactures this ingredient (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.manufacturer Constraints: ext-1 | |
![]() ![]() ![]() |
1..1 | (Complex) | R5: The substance that comprises this ingredient (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.substance Constraints: ext-1 | |
![]() ![]() |
?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 |
![]() ![]() ![]() |
?! | 1..1 | code | R5: draft | active | retired | unknown (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.status Binding: PublicationStatus (required): The lifecycle status of an artifact. Constraints: ext-1 |
![]() ![]() |
?!Σ | 1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.code | Base | example | Basic Resource Types | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | 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 | error | Basic | 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 | error | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Basic.implicitRules, Basic.extension, Basic.extension:for, Basic.extension:role, Basic.extension:function, Basic.extension:group, Basic.extension:allergenicIndicator, Basic.extension:comment, Basic.extension:manufacturer, Basic.extension:substance, Basic.modifierExtension, Basic.modifierExtension:status, Basic.code | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Basic.extension, Basic.extension:for, Basic.extension:role, Basic.extension:function, Basic.extension:group, Basic.extension:allergenicIndicator, Basic.extension:comment, Basic.extension:manufacturer, Basic.extension:substance, Basic.modifierExtension, Basic.modifierExtension:status | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Basic
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Basic(4.0.1) | Resource for non-supported content | |||||
![]() ![]() |
Σ | 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: CommonLanguages (preferred): 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 | |||||
![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R5.MedicinalProductDefinition for use in FHIR R4(0.1.0) | MedicinalProduct | Cross-version Profile for R5.AdministrableProductDefinition for use in FHIR R4(0.1.0) | Basic | Cross-version Profile for R5.ManufacturedItemDefinition for use in FHIR R4(0.1.0) | Basic) | R5: The product which this ingredient is a constituent part of (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.for Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | CodeableConcept | R5: Purpose of the ingredient within the product, e.g. active, inactive (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.role Binding: R5IngredientRoleForR4 (0.1.0) (example): A classification of the ingredient identifying its purpose within the product, e.g. active, inactive. Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | R5: Precise action within the drug product, e.g. antioxidant, alkalizing agent (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.function Binding: R5IngredientFunctionForR4 (0.1.0) (example): A classification of the ingredient identifying its precise purpose(s) in the drug product (beyond e.g. active/inactive). Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | R5: A classification of the ingredient according to where in the physical item it tends to be used, such the outer shell of a tablet, inner body or ink (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.group Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | boolean | R5: If the ingredient is a known or suspected allergen (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.allergenicIndicator Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | markdown | R5: A place for providing any notes that are relevant to the component, e.g. removed during process, adjusted for loss on drying (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.comment Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | (Complex) | R5: An organization that manufactures this ingredient (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.manufacturer Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | (Complex) | R5: The substance that comprises this ingredient (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.substance Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||||
![]() ![]() ![]() |
?! | 1..1 | code | R5: draft | active | retired | unknown (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.status Binding: PublicationStatus (required): The lifecycle status of an artifact. Constraints: ext-1 | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business identifier | ||||
![]() ![]() |
?!Σ | 1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR. | ||||
![]() ![]() |
Σ | 0..1 | Reference(Resource) | Identifies the focus of this resource | ||||
![]() ![]() |
Σ | 0..1 | date | When created | ||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) | Who created | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.language | Base | preferred |
Common Languages
|
📍4.0.1 | tx.fhir.org |
| Basic.code | Base | example | Basic Resource Types | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | 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 | error | Basic | 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 | error | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Basic.meta, Basic.implicitRules, Basic.language, Basic.text, Basic.extension, Basic.extension:for, Basic.extension:role, Basic.extension:function, Basic.extension:group, Basic.extension:allergenicIndicator, Basic.extension:comment, Basic.extension:manufacturer, Basic.extension:substance, Basic.modifierExtension, Basic.modifierExtension:status, Basic.identifier, Basic.code, Basic.subject, Basic.created, Basic.author | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Basic.extension, Basic.extension:for, Basic.extension:role, Basic.extension:function, Basic.extension:group, Basic.extension:allergenicIndicator, Basic.extension:comment, Basic.extension:manufacturer, Basic.extension:substance, Basic.modifierExtension, Basic.modifierExtension:status | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Basic
Summary
Mandatory: 3 elements
Extensions
This structure refers to these extensions:
Maturity: 0
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Basic(4.0.1) | Resource for non-supported content | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R5.MedicinalProductDefinition for use in FHIR R4(0.1.0) | MedicinalProduct | Cross-version Profile for R5.AdministrableProductDefinition for use in FHIR R4(0.1.0) | Basic | Cross-version Profile for R5.ManufacturedItemDefinition for use in FHIR R4(0.1.0) | Basic) | R5: The product which this ingredient is a constituent part of (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.for Constraints: ext-1 | |
![]() ![]() ![]() |
1..1 | CodeableConcept | R5: Purpose of the ingredient within the product, e.g. active, inactive (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.role Binding: R5IngredientRoleForR4 (0.1.0) (example): A classification of the ingredient identifying its purpose within the product, e.g. active, inactive. Constraints: ext-1 | |
![]() ![]() ![]() |
0..* | CodeableConcept | R5: Precise action within the drug product, e.g. antioxidant, alkalizing agent (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.function Binding: R5IngredientFunctionForR4 (0.1.0) (example): A classification of the ingredient identifying its precise purpose(s) in the drug product (beyond e.g. active/inactive). Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | CodeableConcept | R5: A classification of the ingredient according to where in the physical item it tends to be used, such the outer shell of a tablet, inner body or ink (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.group Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | boolean | R5: If the ingredient is a known or suspected allergen (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.allergenicIndicator Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | markdown | R5: A place for providing any notes that are relevant to the component, e.g. removed during process, adjusted for loss on drying (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.comment Constraints: ext-1 | |
![]() ![]() ![]() |
0..* | (Complex) | R5: An organization that manufactures this ingredient (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.manufacturer Constraints: ext-1 | |
![]() ![]() ![]() |
1..1 | (Complex) | R5: The substance that comprises this ingredient (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.substance Constraints: ext-1 | |
![]() ![]() |
?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 |
![]() ![]() ![]() |
?! | 1..1 | code | R5: draft | active | retired | unknown (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.status Binding: PublicationStatus (required): The lifecycle status of an artifact. Constraints: ext-1 |
![]() ![]() |
?!Σ | 1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.code | Base | example | Basic Resource Types | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | 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 | error | Basic | 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 | error | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Basic.implicitRules, Basic.extension, Basic.extension:for, Basic.extension:role, Basic.extension:function, Basic.extension:group, Basic.extension:allergenicIndicator, Basic.extension:comment, Basic.extension:manufacturer, Basic.extension:substance, Basic.modifierExtension, Basic.modifierExtension:status, Basic.code | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Basic.extension, Basic.extension:for, Basic.extension:role, Basic.extension:function, Basic.extension:group, Basic.extension:allergenicIndicator, Basic.extension:comment, Basic.extension:manufacturer, Basic.extension:substance, Basic.modifierExtension, Basic.modifierExtension:status | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Differential View
This structure is derived from Basic
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Basic(4.0.1) | Resource for non-supported content | |||||
![]() ![]() |
Σ | 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: CommonLanguages (preferred): 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 | |||||
![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R5.MedicinalProductDefinition for use in FHIR R4(0.1.0) | MedicinalProduct | Cross-version Profile for R5.AdministrableProductDefinition for use in FHIR R4(0.1.0) | Basic | Cross-version Profile for R5.ManufacturedItemDefinition for use in FHIR R4(0.1.0) | Basic) | R5: The product which this ingredient is a constituent part of (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.for Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | CodeableConcept | R5: Purpose of the ingredient within the product, e.g. active, inactive (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.role Binding: R5IngredientRoleForR4 (0.1.0) (example): A classification of the ingredient identifying its purpose within the product, e.g. active, inactive. Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | R5: Precise action within the drug product, e.g. antioxidant, alkalizing agent (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.function Binding: R5IngredientFunctionForR4 (0.1.0) (example): A classification of the ingredient identifying its precise purpose(s) in the drug product (beyond e.g. active/inactive). Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | R5: A classification of the ingredient according to where in the physical item it tends to be used, such the outer shell of a tablet, inner body or ink (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.group Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | boolean | R5: If the ingredient is a known or suspected allergen (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.allergenicIndicator Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | markdown | R5: A place for providing any notes that are relevant to the component, e.g. removed during process, adjusted for loss on drying (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.comment Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | (Complex) | R5: An organization that manufactures this ingredient (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.manufacturer Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | (Complex) | R5: The substance that comprises this ingredient (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.substance Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||||
![]() ![]() ![]() |
?! | 1..1 | code | R5: draft | active | retired | unknown (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Ingredient.status Binding: PublicationStatus (required): The lifecycle status of an artifact. Constraints: ext-1 | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business identifier | ||||
![]() ![]() |
?!Σ | 1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR. | ||||
![]() ![]() |
Σ | 0..1 | Reference(Resource) | Identifies the focus of this resource | ||||
![]() ![]() |
Σ | 0..1 | date | When created | ||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) | Who created | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.language | Base | preferred |
Common Languages
|
📍4.0.1 | tx.fhir.org |
| Basic.code | Base | example | Basic Resource Types | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | 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 | error | Basic | 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 | error | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Basic.meta, Basic.implicitRules, Basic.language, Basic.text, Basic.extension, Basic.extension:for, Basic.extension:role, Basic.extension:function, Basic.extension:group, Basic.extension:allergenicIndicator, Basic.extension:comment, Basic.extension:manufacturer, Basic.extension:substance, Basic.modifierExtension, Basic.modifierExtension:status, Basic.identifier, Basic.code, Basic.subject, Basic.created, Basic.author | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Basic.extension, Basic.extension:for, Basic.extension:role, Basic.extension:function, Basic.extension:group, Basic.extension:allergenicIndicator, Basic.extension:comment, Basic.extension:manufacturer, Basic.extension:substance, Basic.modifierExtension, Basic.modifierExtension:status | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Basic
Summary
Mandatory: 3 elements
Extensions
This structure refers to these extensions:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron