Da Vinci - Coverage Requirements Discovery, published by HL7 International / Financial Management. This guide is not an authorized publication; it is the continuous build for version 2.2.0-snapshot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/davinci-crd/ and changes regularly. See the Directory of published versions
| Official URL: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-nutritionorder | Version: | 2.2.0-snapshot|||
| Standards status: Trial-use Active as of 2026-01-30 | Maturity Level: 1 | Computable Name: CRDNutritionOrder | ||
| Other Identifiers: OID:2.16.840.1.113883.4.642.40.18.42.13 | ||||
This profile specifies extensions and constraints on the NutritionOrder resource to support coverage requirements discovery.
CRD Clients SHALL use CRD NutritionOrder profile to resolve references to NutritionOrder resources passed to CRD Servers (e.g. selections context references) and to populate draftOrders context objects when invoking the following CDS Hooks:
§prof-10
!
Information provided in Must Support elements will commonly be required for CRD Servers to perform coverage requirements discovery.
This resource is not covered by US Core and there has been no testing or other experience exercising this profile. Implementers should be aware that the constraints in the profile and the provided value sets may not be a good fit for EHR and/or payer requirements. Feedback is welcome.
Usages:
You can also check for usages in the FHIR IG Statistics
Description Differentials, Snapshots, and other representations.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | NutritionOrder | Diet, formula or nutritional supplement request Constraints: nor-1 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
S | 0..* | Resource | Contained, inline Resources |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url, value:value | |
![]() ![]() ![]() |
SC | 0..* | (Complex) | Coverage Info URL: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information Constraints: crd-ci-q1, crd-ci-q2, crd-ci-q3, crd-ci-q4, crd-ci-q5, crd-ci-q6, crd-ci-q7, crd-ci-q8 |
![]() ![]() ![]() |
S | 0..1 | (Complex) | Encounter Category URL: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category" | |
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: ActEncounterCode (3.0.0) (required) | |
![]() ![]() ![]() |
S | 0..1 | (Complex) | Service Category URL: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category" | |
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: X12 Service Type (required) | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
S | 0..* | Identifier | Identifiers assigned to this order |
![]() ![]() |
?!SΣ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): Codes identifying the lifecycle stage of the nutrition order. Example General: draft |
![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): Codes indicating the degree of authority/intentionality associated with a nutrition order. |
![]() ![]() |
SΣ | 1..1 | Reference(CRD Patient) | The person who requires the diet, formula or nutritional supplement |
![]() ![]() |
S | 0..1 | Reference(CRD Encounter) | The encounter associated with this nutrition order |
![]() ![]() |
SΣ | 1..1 | dateTime | Date and time the nutrition order was requested |
![]() ![]() |
SΣ | 1..1 | Reference(CRD Practitioner S | HRex PractitionerRole Profile S) | Who ordered the diet, formula or nutritional supplement |
![]() ![]() |
S | 0..* | Reference(US Core AllergyIntolerance Profile(7.0.0)) | List of the patient's food and nutrition-related allergies and intolerances |
![]() ![]() |
S | 0..* | CodeableConcept | Order-specific modifier about the type of food that should be given Binding: Types of Edible Substances (extensible) |
![]() ![]() |
S | 0..* | CodeableConcept | Order-specific modifier about the type of food that should not be given Binding: Types of Edible Substances (extensible) |
![]() ![]() |
SC | 0..1 | BackboneElement | Oral diet components |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣ | 0..* | CodeableConcept | Type of oral diet or diet restrictions that describe what can be consumed orally Binding: Diet Codes (extensible) |
![]() ![]() ![]() |
S | 0..* | CRDTiming | Scheduled frequency of diet |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Required nutrient modifications |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Type of nutrient that is being modified Binding: Nutrient Codes (extensible) |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Required texture modifications |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Code to indicate how to alter the texture of the foods, e.g. pureed Binding: TextureModifierCodes (extensible) |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Concepts that are used to identify an entity that is ingested for nutritional purposes Binding: TextureModifiedFoodTypeCodes (extensible) |
![]() ![]() |
SC | 0..* | BackboneElement | Supplement components |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | Type of supplement product requested Binding: SupplementTypeCodes (extensible) |
![]() ![]() ![]() |
S | 0..* | CRDTiming | Scheduled frequency of supplement |
![]() ![]() ![]() |
S | 0..1 | SimpleQuantity(4.0.1) | Amount of the nutritional supplement |
![]() ![]() |
SC | 0..1 | BackboneElement | Enteral formula components |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | Type of enteral or infant formula Binding: EnteralFormulaTypeCodes (extensible) |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Type of modular component to add to the feeding Binding: EnteralFormulaAdditiveTypeCode (extensible) |
![]() ![]() ![]() |
S | 0..1 | SimpleQuantity(4.0.1) | Amount of energy per specified volume that is required |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | How the formula should enter the patient's gastrointestinal tract Binding: EnteralRouteCodes (extensible) |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Formula feeding instruction as structured data |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
S | 0..1 | CRDTiming | Scheduled frequency of enteral feeding |
![]() ![]() ![]() ![]() |
S | 0..1 | SimpleQuantity(4.0.1) | The volume of formula to provide |
![]() ![]() ![]() ![]() |
0..1 | Speed with which the formula is provided per period of time Slice: Unordered, Open by type:$this | ||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||
![]() ![]() ![]() ![]() ![]() |
Ratio | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Ratio | Speed with which the formula is provided per period of time |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| NutritionOrder.extension:EncounterCategory.value[x] | Base | required | ActEncounterCode | 📍3.0.0 | THO v7.0 |
| NutritionOrder.extension:ServiceCategory.value[x] | Base | required | X12 Service Type | 📦2.2.0-snapshot | This IG |
| NutritionOrder.status | Base | required | RequestStatus | 📍4.0.1 | FHIR Std. |
| NutritionOrder.intent | Base | required | RequestIntent | 📍4.0.1 | FHIR Std. |
| NutritionOrder.foodPreferenceModifier | Base | extensible | Types of Edible Substances | 📦2.2.0-snapshot | This IG |
| NutritionOrder.excludeFoodModifier | Base | extensible | Types of Edible Substances | 📦2.2.0-snapshot | This IG |
| NutritionOrder.oralDiet.type | Base | extensible | Diet Codes | 📦2.2.0-snapshot | This IG |
| NutritionOrder.oralDiet.nutrient.modifier | Base | extensible | Nutrient Codes | 📦2.2.0-snapshot | This IG |
| NutritionOrder.oralDiet.texture.modifier | Base | extensible | Texture Modifier Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.oralDiet.texture.foodType | Base | extensible | Texture Modified Food Type Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.supplement.type | Base | extensible | Supplement Type Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.enteralFormula.baseFormulaType | Base | extensible | Enteral Formula Type Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.enteralFormula.additiveType | Base | extensible | Enteral Formula Additive Type Code | 📦4.0.1 | FHIR Std. |
| NutritionOrder.enteralFormula.routeofAdministration | Base | extensible | Enteral Route Codes | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| crd-ci-q1 | error | NutritionOrder.extension:Coverage-Information | Questionnaire is only allowed when doc-needed exists |
extension.where(url='questionnaire').exists() implies extension.where(url = 'doc-needed').exists()
|
| crd-ci-q2 | error | NutritionOrder.extension:Coverage-Information | If covered is set to 'not-covered', then 'pa-needed' must not exist. |
extension.where(url = 'covered' and value = 'not-covered').exists() implies extension.where(url = 'pa-needed').exists().not()
|
| crd-ci-q3 | error | NutritionOrder.extension:Coverage-Information | 'info-needed' SHALL exist if and only if at least one of 'covered', 'pa-needed', or 'doc-needed' is set to 'conditional'. |
extension.where((url = 'covered' or url = 'pa-needed' or url = 'doc-needed') and value = 'conditional').count() >= 1 implies extension.where(url = 'info-needed').exists()
|
| crd-ci-q4 | error | NutritionOrder.extension:Coverage-Information | If 'pa-needed' is 'satisfied', 'noauth', or 'not-covered', then 'Doc-purpose' cannot be 'withpa'. |
extension.where(url = 'pa-needed' and (value = 'satisfied' or value = 'noauth' or value = 'not-covered')) and extension.where(url = 'doc-purpose').exists() implies extension.where(url = 'doc-purpose').all(value != 'withpa')
|
| crd-ci-q5 | error | NutritionOrder.extension:Coverage-Information | 'satisfied-pa-id' must exist if and only if 'pa-needed' is set to 'satisfied'. |
extension.where(url = 'pa-needed' and value = 'satisfied').exists() = extension.where(url = 'satisfied-pa-id').exists()
|
| crd-ci-q6 | error | NutritionOrder.extension:Coverage-Information | If 'info-needed' is OTH, then reason must be specified |
extension.where(url = 'info-needed' and value = 'OTH').exists() implies extension.where(url = 'reason').exists()
|
| crd-ci-q7 | error | NutritionOrder.extension:Coverage-Information | If reason.coding is present and is not from the extensible value set, then reason.text must be present |
extension.where(url = 'reason').empty() or extension.where(url = 'reason').value.text.exists() or extension.where(url = 'reason').value.memberOf('http://hl7.org/fhir/us/davinci-crd/ValueSet/coverageAssertionReasons')
|
| crd-ci-q8 | error | NutritionOrder.extension:Coverage-Information | If doc-purpose is present with a value other than 'conditional', then reason must be present |
extension.where(url = 'doc-purpose' and value != 'conditional').exists() implies extension.where(url = 'reason').exists()
|
| dom-2 | error | NutritionOrder | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | NutritionOrder | 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 | NutritionOrder | 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 | NutritionOrder | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | NutritionOrder | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| nor-1 | warning | NutritionOrder | Nutrition Order SHALL contain either Oral Diet , Supplement, or Enteral Formula class |
oralDiet.exists() or supplement.exists() or enteralFormula.exists()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
NutritionOrder | |||
![]() ![]() |
S | 0..* | Resource | Contained, inline Resources |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url, value:value | |
![]() ![]() ![]() |
S | 0..* | (Complex) | Coverage Info URL: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information |
![]() ![]() ![]() |
S | 0..1 | (Complex) | Encounter Category URL: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category |
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: ActEncounterCode (3.0.0) (required) | |
![]() ![]() ![]() |
S | 0..1 | (Complex) | Service Category URL: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category |
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: X12 Service Type (required) | |
![]() ![]() |
S | 0..* | Identifier | Identifiers assigned to this order |
![]() ![]() |
S | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Example General: draft |
![]() ![]() |
S | 1..1 | Reference(CRD Patient) | The person who requires the diet, formula or nutritional supplement |
![]() ![]() |
S | 0..1 | Reference(CRD Encounter) | The encounter associated with this nutrition order |
![]() ![]() |
S | 1..1 | dateTime | Date and time the nutrition order was requested |
![]() ![]() |
S | 1..1 | Reference(CRD Practitioner S | HRex PractitionerRole Profile S) | Who ordered the diet, formula or nutritional supplement |
![]() ![]() |
S | 0..* | Reference(US Core AllergyIntolerance Profile(7.0.0)) | List of the patient's food and nutrition-related allergies and intolerances |
![]() ![]() |
S | 0..* | CodeableConcept | Order-specific modifier about the type of food that should be given Binding: Types of Edible Substances (extensible) |
![]() ![]() |
S | 0..* | CodeableConcept | Order-specific modifier about the type of food that should not be given Binding: Types of Edible Substances (extensible) |
![]() ![]() |
S | 0..1 | BackboneElement | Oral diet components |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Type of oral diet or diet restrictions that describe what can be consumed orally Binding: Diet Codes (extensible) |
![]() ![]() ![]() |
S | 0..* | CRDTiming | Scheduled frequency of diet |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Required nutrient modifications |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Type of nutrient that is being modified Binding: Nutrient Codes (extensible) |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Required texture modifications |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Code to indicate how to alter the texture of the foods, e.g. pureed Binding: TextureModifierCodes (extensible) |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Concepts that are used to identify an entity that is ingested for nutritional purposes Binding: TextureModifiedFoodTypeCodes (extensible) |
![]() ![]() |
S | 0..* | BackboneElement | Supplement components |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Type of supplement product requested Binding: SupplementTypeCodes (extensible) |
![]() ![]() ![]() |
S | 0..* | CRDTiming | Scheduled frequency of supplement |
![]() ![]() ![]() |
S | 0..1 | SimpleQuantity(4.0.1) | Amount of the nutritional supplement |
![]() ![]() |
S | 0..1 | BackboneElement | Enteral formula components |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Type of enteral or infant formula Binding: EnteralFormulaTypeCodes (extensible) |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Type of modular component to add to the feeding Binding: EnteralFormulaAdditiveTypeCode (extensible) |
![]() ![]() ![]() |
S | 0..1 | SimpleQuantity(4.0.1) | Amount of energy per specified volume that is required |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | How the formula should enter the patient's gastrointestinal tract Binding: EnteralRouteCodes (extensible) |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Formula feeding instruction as structured data |
![]() ![]() ![]() ![]() |
S | 0..1 | CRDTiming | Scheduled frequency of enteral feeding |
![]() ![]() ![]() ![]() |
S | 0..1 | SimpleQuantity(4.0.1) | The volume of formula to provide |
![]() ![]() ![]() ![]() |
0..1 | SimpleQuantity(4.0.1), Ratio | Speed with which the formula is provided per period of time Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Ratio | Speed with which the formula is provided per period of time |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| NutritionOrder.extension:EncounterCategory.value[x] | Base | required | ActEncounterCode | 📍3.0.0 | THO v7.0 |
| NutritionOrder.extension:ServiceCategory.value[x] | Base | required | X12 Service Type | 📦2.2.0-snapshot | This IG |
| NutritionOrder.foodPreferenceModifier | Base | extensible | Types of Edible Substances | 📦2.2.0-snapshot | This IG |
| NutritionOrder.excludeFoodModifier | Base | extensible | Types of Edible Substances | 📦2.2.0-snapshot | This IG |
| NutritionOrder.oralDiet.type | Base | extensible | Diet Codes | 📦2.2.0-snapshot | This IG |
| NutritionOrder.oralDiet.nutrient.modifier | Base | extensible | Nutrient Codes | 📦2.2.0-snapshot | This IG |
| NutritionOrder.oralDiet.texture.modifier | Base | extensible | Texture Modifier Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.oralDiet.texture.foodType | Base | extensible | Texture Modified Food Type Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.supplement.type | Base | extensible | Supplement Type Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.enteralFormula.baseFormulaType | Base | extensible | Enteral Formula Type Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.enteralFormula.additiveType | Base | extensible | Enteral Formula Additive Type Code | 📦4.0.1 | FHIR Std. |
| NutritionOrder.enteralFormula.routeofAdministration | Base | extensible | Enteral Route Codes | 📦4.0.1 | FHIR Std. |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | NutritionOrder | Diet, formula or nutritional supplement request Constraints: nor-1 | ||||
![]() ![]() |
Σ | 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 | |||||
![]() ![]() |
S | 0..* | Resource | Contained, inline Resources | ||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url, value:value | |||||
![]() ![]() ![]() |
SC | 0..* | (Complex) | Coverage Info URL: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information Constraints: crd-ci-q1, crd-ci-q2, crd-ci-q3, crd-ci-q4, crd-ci-q5, crd-ci-q6, crd-ci-q7, crd-ci-q8 | ||||
![]() ![]() ![]() |
S | 0..1 | (Complex) | Encounter Category URL: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category" | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: ActEncounterCode (3.0.0) (required) | |||||
![]() ![]() ![]() |
S | 0..1 | (Complex) | Service Category URL: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category" | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: X12 Service Type (required) | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
S | 0..* | Identifier | Identifiers assigned to this order | ||||
![]() ![]() |
Σ | 0..* | canonical(ActivityDefinition | PlanDefinition) | Instantiates FHIR protocol or definition | ||||
![]() ![]() |
Σ | 0..* | uri | Instantiates external protocol or definition | ||||
![]() ![]() |
0..* | uri | Instantiates protocol or definition | |||||
![]() ![]() |
?!SΣ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): Codes identifying the lifecycle stage of the nutrition order. Example General: draft | ||||
![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): Codes indicating the degree of authority/intentionality associated with a nutrition order. | ||||
![]() ![]() |
SΣ | 1..1 | Reference(CRD Patient) | The person who requires the diet, formula or nutritional supplement | ||||
![]() ![]() |
S | 0..1 | Reference(CRD Encounter) | The encounter associated with this nutrition order | ||||
![]() ![]() |
SΣ | 1..1 | dateTime | Date and time the nutrition order was requested | ||||
![]() ![]() |
SΣ | 1..1 | Reference(CRD Practitioner S | HRex PractitionerRole Profile S) | Who ordered the diet, formula or nutritional supplement | ||||
![]() ![]() |
S | 0..* | Reference(US Core AllergyIntolerance Profile(7.0.0)) | List of the patient's food and nutrition-related allergies and intolerances | ||||
![]() ![]() |
S | 0..* | CodeableConcept | Order-specific modifier about the type of food that should be given Binding: Types of Edible Substances (extensible) | ||||
![]() ![]() |
S | 0..* | CodeableConcept | Order-specific modifier about the type of food that should not be given Binding: Types of Edible Substances (extensible) | ||||
![]() ![]() |
SC | 0..1 | BackboneElement | Oral diet components | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 0..* | CodeableConcept | Type of oral diet or diet restrictions that describe what can be consumed orally Binding: Diet Codes (extensible) | ||||
![]() ![]() ![]() |
S | 0..* | CRDTiming | Scheduled frequency of diet | ||||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Required nutrient modifications | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Type of nutrient that is being modified Binding: Nutrient Codes (extensible) | ||||
![]() ![]() ![]() ![]() |
0..1 | SimpleQuantity(4.0.1) | Quantity of the specified nutrient | |||||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Required texture modifications | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Code to indicate how to alter the texture of the foods, e.g. pureed Binding: TextureModifierCodes (extensible) | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Concepts that are used to identify an entity that is ingested for nutritional purposes Binding: TextureModifiedFoodTypeCodes (extensible) | ||||
![]() ![]() ![]() |
0..* | CodeableConcept | The required consistency of fluids and liquids provided to the patient Binding: FluidConsistencyTypeCodes (example): Codes used to represent the consistency of fluids and liquids provided to the patient. | |||||
![]() ![]() ![]() |
Σ | 0..1 | string | Instructions or additional information about the oral diet | ||||
![]() ![]() |
SC | 0..* | BackboneElement | Supplement components | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | Type of supplement product requested Binding: SupplementTypeCodes (extensible) | ||||
![]() ![]() ![]() |
0..1 | string | Product or brand name of the nutritional supplement | |||||
![]() ![]() ![]() |
S | 0..* | CRDTiming | Scheduled frequency of supplement | ||||
![]() ![]() ![]() |
S | 0..1 | SimpleQuantity(4.0.1) | Amount of the nutritional supplement | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Instructions or additional information about the oral supplement | ||||
![]() ![]() |
SC | 0..1 | BackboneElement | Enteral formula components | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | Type of enteral or infant formula Binding: EnteralFormulaTypeCodes (extensible) | ||||
![]() ![]() ![]() |
0..1 | string | Product or brand name of the enteral or infant formula | |||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Type of modular component to add to the feeding Binding: EnteralFormulaAdditiveTypeCode (extensible) | ||||
![]() ![]() ![]() |
0..1 | string | Product or brand name of the modular additive | |||||
![]() ![]() ![]() |
S | 0..1 | SimpleQuantity(4.0.1) | Amount of energy per specified volume that is required | ||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | How the formula should enter the patient's gastrointestinal tract Binding: EnteralRouteCodes (extensible) | ||||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Formula feeding instruction as structured data | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | CRDTiming | Scheduled frequency of enteral feeding | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | SimpleQuantity(4.0.1) | The volume of formula to provide | ||||
![]() ![]() ![]() ![]() |
0..1 | Speed with which the formula is provided per period of time Slice: Unordered, Open by type:$this | ||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Ratio | Speed with which the formula is provided per period of time | ||||
![]() ![]() ![]() |
0..1 | SimpleQuantity(4.0.1) | Upper limit on formula volume per unit of time | |||||
![]() ![]() ![]() |
Σ | 0..1 | string | Formula feeding instructions expressed as text | ||||
![]() ![]() |
0..* | Annotation | Comments | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| NutritionOrder.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| NutritionOrder.extension:EncounterCategory.value[x] | Base | required | ActEncounterCode | 📍3.0.0 | THO v7.0 |
| NutritionOrder.extension:ServiceCategory.value[x] | Base | required | X12 Service Type | 📦2.2.0-snapshot | This IG |
| NutritionOrder.status | Base | required | RequestStatus | 📍4.0.1 | FHIR Std. |
| NutritionOrder.intent | Base | required | RequestIntent | 📍4.0.1 | FHIR Std. |
| NutritionOrder.foodPreferenceModifier | Base | extensible | Types of Edible Substances | 📦2.2.0-snapshot | This IG |
| NutritionOrder.excludeFoodModifier | Base | extensible | Types of Edible Substances | 📦2.2.0-snapshot | This IG |
| NutritionOrder.oralDiet.type | Base | extensible | Diet Codes | 📦2.2.0-snapshot | This IG |
| NutritionOrder.oralDiet.nutrient.modifier | Base | extensible | Nutrient Codes | 📦2.2.0-snapshot | This IG |
| NutritionOrder.oralDiet.texture.modifier | Base | extensible | Texture Modifier Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.oralDiet.texture.foodType | Base | extensible | Texture Modified Food Type Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.oralDiet.fluidConsistencyType | Base | example | Fluid Consistency Type Codes | 📍4.0.1 | FHIR Std. |
| NutritionOrder.supplement.type | Base | extensible | Supplement Type Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.enteralFormula.baseFormulaType | Base | extensible | Enteral Formula Type Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.enteralFormula.additiveType | Base | extensible | Enteral Formula Additive Type Code | 📦4.0.1 | FHIR Std. |
| NutritionOrder.enteralFormula.routeofAdministration | Base | extensible | Enteral Route Codes | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| crd-ci-q1 | error | NutritionOrder.extension:Coverage-Information | Questionnaire is only allowed when doc-needed exists |
extension.where(url='questionnaire').exists() implies extension.where(url = 'doc-needed').exists()
|
| crd-ci-q2 | error | NutritionOrder.extension:Coverage-Information | If covered is set to 'not-covered', then 'pa-needed' must not exist. |
extension.where(url = 'covered' and value = 'not-covered').exists() implies extension.where(url = 'pa-needed').exists().not()
|
| crd-ci-q3 | error | NutritionOrder.extension:Coverage-Information | 'info-needed' SHALL exist if and only if at least one of 'covered', 'pa-needed', or 'doc-needed' is set to 'conditional'. |
extension.where((url = 'covered' or url = 'pa-needed' or url = 'doc-needed') and value = 'conditional').count() >= 1 implies extension.where(url = 'info-needed').exists()
|
| crd-ci-q4 | error | NutritionOrder.extension:Coverage-Information | If 'pa-needed' is 'satisfied', 'noauth', or 'not-covered', then 'Doc-purpose' cannot be 'withpa'. |
extension.where(url = 'pa-needed' and (value = 'satisfied' or value = 'noauth' or value = 'not-covered')) and extension.where(url = 'doc-purpose').exists() implies extension.where(url = 'doc-purpose').all(value != 'withpa')
|
| crd-ci-q5 | error | NutritionOrder.extension:Coverage-Information | 'satisfied-pa-id' must exist if and only if 'pa-needed' is set to 'satisfied'. |
extension.where(url = 'pa-needed' and value = 'satisfied').exists() = extension.where(url = 'satisfied-pa-id').exists()
|
| crd-ci-q6 | error | NutritionOrder.extension:Coverage-Information | If 'info-needed' is OTH, then reason must be specified |
extension.where(url = 'info-needed' and value = 'OTH').exists() implies extension.where(url = 'reason').exists()
|
| crd-ci-q7 | error | NutritionOrder.extension:Coverage-Information | If reason.coding is present and is not from the extensible value set, then reason.text must be present |
extension.where(url = 'reason').empty() or extension.where(url = 'reason').value.text.exists() or extension.where(url = 'reason').value.memberOf('http://hl7.org/fhir/us/davinci-crd/ValueSet/coverageAssertionReasons')
|
| crd-ci-q8 | error | NutritionOrder.extension:Coverage-Information | If doc-purpose is present with a value other than 'conditional', then reason must be present |
extension.where(url = 'doc-purpose' and value != 'conditional').exists() implies extension.where(url = 'reason').exists()
|
| dom-2 | error | NutritionOrder | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | NutritionOrder | 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 | NutritionOrder | 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 | NutritionOrder | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | NutritionOrder | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| nor-1 | warning | NutritionOrder | Nutrition Order SHALL contain either Oral Diet , Supplement, or Enteral Formula class |
oralDiet.exists() or supplement.exists() or enteralFormula.exists()
|
Summary
Mandatory: 1 element
Must-Support: 34 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Maturity: 1
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | NutritionOrder | Diet, formula or nutritional supplement request Constraints: nor-1 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
S | 0..* | Resource | Contained, inline Resources |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url, value:value | |
![]() ![]() ![]() |
SC | 0..* | (Complex) | Coverage Info URL: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information Constraints: crd-ci-q1, crd-ci-q2, crd-ci-q3, crd-ci-q4, crd-ci-q5, crd-ci-q6, crd-ci-q7, crd-ci-q8 |
![]() ![]() ![]() |
S | 0..1 | (Complex) | Encounter Category URL: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category" | |
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: ActEncounterCode (3.0.0) (required) | |
![]() ![]() ![]() |
S | 0..1 | (Complex) | Service Category URL: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category" | |
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: X12 Service Type (required) | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
S | 0..* | Identifier | Identifiers assigned to this order |
![]() ![]() |
?!SΣ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): Codes identifying the lifecycle stage of the nutrition order. Example General: draft |
![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): Codes indicating the degree of authority/intentionality associated with a nutrition order. |
![]() ![]() |
SΣ | 1..1 | Reference(CRD Patient) | The person who requires the diet, formula or nutritional supplement |
![]() ![]() |
S | 0..1 | Reference(CRD Encounter) | The encounter associated with this nutrition order |
![]() ![]() |
SΣ | 1..1 | dateTime | Date and time the nutrition order was requested |
![]() ![]() |
SΣ | 1..1 | Reference(CRD Practitioner S | HRex PractitionerRole Profile S) | Who ordered the diet, formula or nutritional supplement |
![]() ![]() |
S | 0..* | Reference(US Core AllergyIntolerance Profile(7.0.0)) | List of the patient's food and nutrition-related allergies and intolerances |
![]() ![]() |
S | 0..* | CodeableConcept | Order-specific modifier about the type of food that should be given Binding: Types of Edible Substances (extensible) |
![]() ![]() |
S | 0..* | CodeableConcept | Order-specific modifier about the type of food that should not be given Binding: Types of Edible Substances (extensible) |
![]() ![]() |
SC | 0..1 | BackboneElement | Oral diet components |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣ | 0..* | CodeableConcept | Type of oral diet or diet restrictions that describe what can be consumed orally Binding: Diet Codes (extensible) |
![]() ![]() ![]() |
S | 0..* | CRDTiming | Scheduled frequency of diet |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Required nutrient modifications |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Type of nutrient that is being modified Binding: Nutrient Codes (extensible) |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Required texture modifications |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Code to indicate how to alter the texture of the foods, e.g. pureed Binding: TextureModifierCodes (extensible) |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Concepts that are used to identify an entity that is ingested for nutritional purposes Binding: TextureModifiedFoodTypeCodes (extensible) |
![]() ![]() |
SC | 0..* | BackboneElement | Supplement components |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | Type of supplement product requested Binding: SupplementTypeCodes (extensible) |
![]() ![]() ![]() |
S | 0..* | CRDTiming | Scheduled frequency of supplement |
![]() ![]() ![]() |
S | 0..1 | SimpleQuantity(4.0.1) | Amount of the nutritional supplement |
![]() ![]() |
SC | 0..1 | BackboneElement | Enteral formula components |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | Type of enteral or infant formula Binding: EnteralFormulaTypeCodes (extensible) |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Type of modular component to add to the feeding Binding: EnteralFormulaAdditiveTypeCode (extensible) |
![]() ![]() ![]() |
S | 0..1 | SimpleQuantity(4.0.1) | Amount of energy per specified volume that is required |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | How the formula should enter the patient's gastrointestinal tract Binding: EnteralRouteCodes (extensible) |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Formula feeding instruction as structured data |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
S | 0..1 | CRDTiming | Scheduled frequency of enteral feeding |
![]() ![]() ![]() ![]() |
S | 0..1 | SimpleQuantity(4.0.1) | The volume of formula to provide |
![]() ![]() ![]() ![]() |
0..1 | Speed with which the formula is provided per period of time Slice: Unordered, Open by type:$this | ||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||
![]() ![]() ![]() ![]() ![]() |
Ratio | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Ratio | Speed with which the formula is provided per period of time |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| NutritionOrder.extension:EncounterCategory.value[x] | Base | required | ActEncounterCode | 📍3.0.0 | THO v7.0 |
| NutritionOrder.extension:ServiceCategory.value[x] | Base | required | X12 Service Type | 📦2.2.0-snapshot | This IG |
| NutritionOrder.status | Base | required | RequestStatus | 📍4.0.1 | FHIR Std. |
| NutritionOrder.intent | Base | required | RequestIntent | 📍4.0.1 | FHIR Std. |
| NutritionOrder.foodPreferenceModifier | Base | extensible | Types of Edible Substances | 📦2.2.0-snapshot | This IG |
| NutritionOrder.excludeFoodModifier | Base | extensible | Types of Edible Substances | 📦2.2.0-snapshot | This IG |
| NutritionOrder.oralDiet.type | Base | extensible | Diet Codes | 📦2.2.0-snapshot | This IG |
| NutritionOrder.oralDiet.nutrient.modifier | Base | extensible | Nutrient Codes | 📦2.2.0-snapshot | This IG |
| NutritionOrder.oralDiet.texture.modifier | Base | extensible | Texture Modifier Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.oralDiet.texture.foodType | Base | extensible | Texture Modified Food Type Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.supplement.type | Base | extensible | Supplement Type Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.enteralFormula.baseFormulaType | Base | extensible | Enteral Formula Type Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.enteralFormula.additiveType | Base | extensible | Enteral Formula Additive Type Code | 📦4.0.1 | FHIR Std. |
| NutritionOrder.enteralFormula.routeofAdministration | Base | extensible | Enteral Route Codes | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| crd-ci-q1 | error | NutritionOrder.extension:Coverage-Information | Questionnaire is only allowed when doc-needed exists |
extension.where(url='questionnaire').exists() implies extension.where(url = 'doc-needed').exists()
|
| crd-ci-q2 | error | NutritionOrder.extension:Coverage-Information | If covered is set to 'not-covered', then 'pa-needed' must not exist. |
extension.where(url = 'covered' and value = 'not-covered').exists() implies extension.where(url = 'pa-needed').exists().not()
|
| crd-ci-q3 | error | NutritionOrder.extension:Coverage-Information | 'info-needed' SHALL exist if and only if at least one of 'covered', 'pa-needed', or 'doc-needed' is set to 'conditional'. |
extension.where((url = 'covered' or url = 'pa-needed' or url = 'doc-needed') and value = 'conditional').count() >= 1 implies extension.where(url = 'info-needed').exists()
|
| crd-ci-q4 | error | NutritionOrder.extension:Coverage-Information | If 'pa-needed' is 'satisfied', 'noauth', or 'not-covered', then 'Doc-purpose' cannot be 'withpa'. |
extension.where(url = 'pa-needed' and (value = 'satisfied' or value = 'noauth' or value = 'not-covered')) and extension.where(url = 'doc-purpose').exists() implies extension.where(url = 'doc-purpose').all(value != 'withpa')
|
| crd-ci-q5 | error | NutritionOrder.extension:Coverage-Information | 'satisfied-pa-id' must exist if and only if 'pa-needed' is set to 'satisfied'. |
extension.where(url = 'pa-needed' and value = 'satisfied').exists() = extension.where(url = 'satisfied-pa-id').exists()
|
| crd-ci-q6 | error | NutritionOrder.extension:Coverage-Information | If 'info-needed' is OTH, then reason must be specified |
extension.where(url = 'info-needed' and value = 'OTH').exists() implies extension.where(url = 'reason').exists()
|
| crd-ci-q7 | error | NutritionOrder.extension:Coverage-Information | If reason.coding is present and is not from the extensible value set, then reason.text must be present |
extension.where(url = 'reason').empty() or extension.where(url = 'reason').value.text.exists() or extension.where(url = 'reason').value.memberOf('http://hl7.org/fhir/us/davinci-crd/ValueSet/coverageAssertionReasons')
|
| crd-ci-q8 | error | NutritionOrder.extension:Coverage-Information | If doc-purpose is present with a value other than 'conditional', then reason must be present |
extension.where(url = 'doc-purpose' and value != 'conditional').exists() implies extension.where(url = 'reason').exists()
|
| dom-2 | error | NutritionOrder | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | NutritionOrder | 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 | NutritionOrder | 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 | NutritionOrder | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | NutritionOrder | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| nor-1 | warning | NutritionOrder | Nutrition Order SHALL contain either Oral Diet , Supplement, or Enteral Formula class |
oralDiet.exists() or supplement.exists() or enteralFormula.exists()
|
Differential View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
NutritionOrder | |||
![]() ![]() |
S | 0..* | Resource | Contained, inline Resources |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url, value:value | |
![]() ![]() ![]() |
S | 0..* | (Complex) | Coverage Info URL: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information |
![]() ![]() ![]() |
S | 0..1 | (Complex) | Encounter Category URL: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category |
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: ActEncounterCode (3.0.0) (required) | |
![]() ![]() ![]() |
S | 0..1 | (Complex) | Service Category URL: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category |
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: X12 Service Type (required) | |
![]() ![]() |
S | 0..* | Identifier | Identifiers assigned to this order |
![]() ![]() |
S | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Example General: draft |
![]() ![]() |
S | 1..1 | Reference(CRD Patient) | The person who requires the diet, formula or nutritional supplement |
![]() ![]() |
S | 0..1 | Reference(CRD Encounter) | The encounter associated with this nutrition order |
![]() ![]() |
S | 1..1 | dateTime | Date and time the nutrition order was requested |
![]() ![]() |
S | 1..1 | Reference(CRD Practitioner S | HRex PractitionerRole Profile S) | Who ordered the diet, formula or nutritional supplement |
![]() ![]() |
S | 0..* | Reference(US Core AllergyIntolerance Profile(7.0.0)) | List of the patient's food and nutrition-related allergies and intolerances |
![]() ![]() |
S | 0..* | CodeableConcept | Order-specific modifier about the type of food that should be given Binding: Types of Edible Substances (extensible) |
![]() ![]() |
S | 0..* | CodeableConcept | Order-specific modifier about the type of food that should not be given Binding: Types of Edible Substances (extensible) |
![]() ![]() |
S | 0..1 | BackboneElement | Oral diet components |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Type of oral diet or diet restrictions that describe what can be consumed orally Binding: Diet Codes (extensible) |
![]() ![]() ![]() |
S | 0..* | CRDTiming | Scheduled frequency of diet |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Required nutrient modifications |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Type of nutrient that is being modified Binding: Nutrient Codes (extensible) |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Required texture modifications |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Code to indicate how to alter the texture of the foods, e.g. pureed Binding: TextureModifierCodes (extensible) |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Concepts that are used to identify an entity that is ingested for nutritional purposes Binding: TextureModifiedFoodTypeCodes (extensible) |
![]() ![]() |
S | 0..* | BackboneElement | Supplement components |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Type of supplement product requested Binding: SupplementTypeCodes (extensible) |
![]() ![]() ![]() |
S | 0..* | CRDTiming | Scheduled frequency of supplement |
![]() ![]() ![]() |
S | 0..1 | SimpleQuantity(4.0.1) | Amount of the nutritional supplement |
![]() ![]() |
S | 0..1 | BackboneElement | Enteral formula components |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Type of enteral or infant formula Binding: EnteralFormulaTypeCodes (extensible) |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Type of modular component to add to the feeding Binding: EnteralFormulaAdditiveTypeCode (extensible) |
![]() ![]() ![]() |
S | 0..1 | SimpleQuantity(4.0.1) | Amount of energy per specified volume that is required |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | How the formula should enter the patient's gastrointestinal tract Binding: EnteralRouteCodes (extensible) |
![]() ![]() ![]() |
S | 0..* | BackboneElement | Formula feeding instruction as structured data |
![]() ![]() ![]() ![]() |
S | 0..1 | CRDTiming | Scheduled frequency of enteral feeding |
![]() ![]() ![]() ![]() |
S | 0..1 | SimpleQuantity(4.0.1) | The volume of formula to provide |
![]() ![]() ![]() ![]() |
0..1 | SimpleQuantity(4.0.1), Ratio | Speed with which the formula is provided per period of time Slice: Unordered, Open by type:$this | |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Ratio | Speed with which the formula is provided per period of time |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| NutritionOrder.extension:EncounterCategory.value[x] | Base | required | ActEncounterCode | 📍3.0.0 | THO v7.0 |
| NutritionOrder.extension:ServiceCategory.value[x] | Base | required | X12 Service Type | 📦2.2.0-snapshot | This IG |
| NutritionOrder.foodPreferenceModifier | Base | extensible | Types of Edible Substances | 📦2.2.0-snapshot | This IG |
| NutritionOrder.excludeFoodModifier | Base | extensible | Types of Edible Substances | 📦2.2.0-snapshot | This IG |
| NutritionOrder.oralDiet.type | Base | extensible | Diet Codes | 📦2.2.0-snapshot | This IG |
| NutritionOrder.oralDiet.nutrient.modifier | Base | extensible | Nutrient Codes | 📦2.2.0-snapshot | This IG |
| NutritionOrder.oralDiet.texture.modifier | Base | extensible | Texture Modifier Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.oralDiet.texture.foodType | Base | extensible | Texture Modified Food Type Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.supplement.type | Base | extensible | Supplement Type Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.enteralFormula.baseFormulaType | Base | extensible | Enteral Formula Type Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.enteralFormula.additiveType | Base | extensible | Enteral Formula Additive Type Code | 📦4.0.1 | FHIR Std. |
| NutritionOrder.enteralFormula.routeofAdministration | Base | extensible | Enteral Route Codes | 📦4.0.1 | FHIR Std. |
Snapshot ViewView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | NutritionOrder | Diet, formula or nutritional supplement request Constraints: nor-1 | ||||
![]() ![]() |
Σ | 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 | |||||
![]() ![]() |
S | 0..* | Resource | Contained, inline Resources | ||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url, value:value | |||||
![]() ![]() ![]() |
SC | 0..* | (Complex) | Coverage Info URL: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information Constraints: crd-ci-q1, crd-ci-q2, crd-ci-q3, crd-ci-q4, crd-ci-q5, crd-ci-q6, crd-ci-q7, crd-ci-q8 | ||||
![]() ![]() ![]() |
S | 0..1 | (Complex) | Encounter Category URL: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category" | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: ActEncounterCode (3.0.0) (required) | |||||
![]() ![]() ![]() |
S | 0..1 | (Complex) | Service Category URL: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category" | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: X12 Service Type (required) | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
S | 0..* | Identifier | Identifiers assigned to this order | ||||
![]() ![]() |
Σ | 0..* | canonical(ActivityDefinition | PlanDefinition) | Instantiates FHIR protocol or definition | ||||
![]() ![]() |
Σ | 0..* | uri | Instantiates external protocol or definition | ||||
![]() ![]() |
0..* | uri | Instantiates protocol or definition | |||||
![]() ![]() |
?!SΣ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): Codes identifying the lifecycle stage of the nutrition order. Example General: draft | ||||
![]() ![]() |
?!Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): Codes indicating the degree of authority/intentionality associated with a nutrition order. | ||||
![]() ![]() |
SΣ | 1..1 | Reference(CRD Patient) | The person who requires the diet, formula or nutritional supplement | ||||
![]() ![]() |
S | 0..1 | Reference(CRD Encounter) | The encounter associated with this nutrition order | ||||
![]() ![]() |
SΣ | 1..1 | dateTime | Date and time the nutrition order was requested | ||||
![]() ![]() |
SΣ | 1..1 | Reference(CRD Practitioner S | HRex PractitionerRole Profile S) | Who ordered the diet, formula or nutritional supplement | ||||
![]() ![]() |
S | 0..* | Reference(US Core AllergyIntolerance Profile(7.0.0)) | List of the patient's food and nutrition-related allergies and intolerances | ||||
![]() ![]() |
S | 0..* | CodeableConcept | Order-specific modifier about the type of food that should be given Binding: Types of Edible Substances (extensible) | ||||
![]() ![]() |
S | 0..* | CodeableConcept | Order-specific modifier about the type of food that should not be given Binding: Types of Edible Substances (extensible) | ||||
![]() ![]() |
SC | 0..1 | BackboneElement | Oral diet components | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 0..* | CodeableConcept | Type of oral diet or diet restrictions that describe what can be consumed orally Binding: Diet Codes (extensible) | ||||
![]() ![]() ![]() |
S | 0..* | CRDTiming | Scheduled frequency of diet | ||||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Required nutrient modifications | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Type of nutrient that is being modified Binding: Nutrient Codes (extensible) | ||||
![]() ![]() ![]() ![]() |
0..1 | SimpleQuantity(4.0.1) | Quantity of the specified nutrient | |||||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Required texture modifications | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Code to indicate how to alter the texture of the foods, e.g. pureed Binding: TextureModifierCodes (extensible) | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Concepts that are used to identify an entity that is ingested for nutritional purposes Binding: TextureModifiedFoodTypeCodes (extensible) | ||||
![]() ![]() ![]() |
0..* | CodeableConcept | The required consistency of fluids and liquids provided to the patient Binding: FluidConsistencyTypeCodes (example): Codes used to represent the consistency of fluids and liquids provided to the patient. | |||||
![]() ![]() ![]() |
Σ | 0..1 | string | Instructions or additional information about the oral diet | ||||
![]() ![]() |
SC | 0..* | BackboneElement | Supplement components | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | Type of supplement product requested Binding: SupplementTypeCodes (extensible) | ||||
![]() ![]() ![]() |
0..1 | string | Product or brand name of the nutritional supplement | |||||
![]() ![]() ![]() |
S | 0..* | CRDTiming | Scheduled frequency of supplement | ||||
![]() ![]() ![]() |
S | 0..1 | SimpleQuantity(4.0.1) | Amount of the nutritional supplement | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Instructions or additional information about the oral supplement | ||||
![]() ![]() |
SC | 0..1 | BackboneElement | Enteral formula components | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | Type of enteral or infant formula Binding: EnteralFormulaTypeCodes (extensible) | ||||
![]() ![]() ![]() |
0..1 | string | Product or brand name of the enteral or infant formula | |||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Type of modular component to add to the feeding Binding: EnteralFormulaAdditiveTypeCode (extensible) | ||||
![]() ![]() ![]() |
0..1 | string | Product or brand name of the modular additive | |||||
![]() ![]() ![]() |
S | 0..1 | SimpleQuantity(4.0.1) | Amount of energy per specified volume that is required | ||||
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | How the formula should enter the patient's gastrointestinal tract Binding: EnteralRouteCodes (extensible) | ||||
![]() ![]() ![]() |
S | 0..* | BackboneElement | Formula feeding instruction as structured data | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | CRDTiming | Scheduled frequency of enteral feeding | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | SimpleQuantity(4.0.1) | The volume of formula to provide | ||||
![]() ![]() ![]() ![]() |
0..1 | Speed with which the formula is provided per period of time Slice: Unordered, Open by type:$this | ||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Ratio | Speed with which the formula is provided per period of time | ||||
![]() ![]() ![]() |
0..1 | SimpleQuantity(4.0.1) | Upper limit on formula volume per unit of time | |||||
![]() ![]() ![]() |
Σ | 0..1 | string | Formula feeding instructions expressed as text | ||||
![]() ![]() |
0..* | Annotation | Comments | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| NutritionOrder.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| NutritionOrder.extension:EncounterCategory.value[x] | Base | required | ActEncounterCode | 📍3.0.0 | THO v7.0 |
| NutritionOrder.extension:ServiceCategory.value[x] | Base | required | X12 Service Type | 📦2.2.0-snapshot | This IG |
| NutritionOrder.status | Base | required | RequestStatus | 📍4.0.1 | FHIR Std. |
| NutritionOrder.intent | Base | required | RequestIntent | 📍4.0.1 | FHIR Std. |
| NutritionOrder.foodPreferenceModifier | Base | extensible | Types of Edible Substances | 📦2.2.0-snapshot | This IG |
| NutritionOrder.excludeFoodModifier | Base | extensible | Types of Edible Substances | 📦2.2.0-snapshot | This IG |
| NutritionOrder.oralDiet.type | Base | extensible | Diet Codes | 📦2.2.0-snapshot | This IG |
| NutritionOrder.oralDiet.nutrient.modifier | Base | extensible | Nutrient Codes | 📦2.2.0-snapshot | This IG |
| NutritionOrder.oralDiet.texture.modifier | Base | extensible | Texture Modifier Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.oralDiet.texture.foodType | Base | extensible | Texture Modified Food Type Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.oralDiet.fluidConsistencyType | Base | example | Fluid Consistency Type Codes | 📍4.0.1 | FHIR Std. |
| NutritionOrder.supplement.type | Base | extensible | Supplement Type Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.enteralFormula.baseFormulaType | Base | extensible | Enteral Formula Type Codes | 📦4.0.1 | FHIR Std. |
| NutritionOrder.enteralFormula.additiveType | Base | extensible | Enteral Formula Additive Type Code | 📦4.0.1 | FHIR Std. |
| NutritionOrder.enteralFormula.routeofAdministration | Base | extensible | Enteral Route Codes | 📦4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| crd-ci-q1 | error | NutritionOrder.extension:Coverage-Information | Questionnaire is only allowed when doc-needed exists |
extension.where(url='questionnaire').exists() implies extension.where(url = 'doc-needed').exists()
|
| crd-ci-q2 | error | NutritionOrder.extension:Coverage-Information | If covered is set to 'not-covered', then 'pa-needed' must not exist. |
extension.where(url = 'covered' and value = 'not-covered').exists() implies extension.where(url = 'pa-needed').exists().not()
|
| crd-ci-q3 | error | NutritionOrder.extension:Coverage-Information | 'info-needed' SHALL exist if and only if at least one of 'covered', 'pa-needed', or 'doc-needed' is set to 'conditional'. |
extension.where((url = 'covered' or url = 'pa-needed' or url = 'doc-needed') and value = 'conditional').count() >= 1 implies extension.where(url = 'info-needed').exists()
|
| crd-ci-q4 | error | NutritionOrder.extension:Coverage-Information | If 'pa-needed' is 'satisfied', 'noauth', or 'not-covered', then 'Doc-purpose' cannot be 'withpa'. |
extension.where(url = 'pa-needed' and (value = 'satisfied' or value = 'noauth' or value = 'not-covered')) and extension.where(url = 'doc-purpose').exists() implies extension.where(url = 'doc-purpose').all(value != 'withpa')
|
| crd-ci-q5 | error | NutritionOrder.extension:Coverage-Information | 'satisfied-pa-id' must exist if and only if 'pa-needed' is set to 'satisfied'. |
extension.where(url = 'pa-needed' and value = 'satisfied').exists() = extension.where(url = 'satisfied-pa-id').exists()
|
| crd-ci-q6 | error | NutritionOrder.extension:Coverage-Information | If 'info-needed' is OTH, then reason must be specified |
extension.where(url = 'info-needed' and value = 'OTH').exists() implies extension.where(url = 'reason').exists()
|
| crd-ci-q7 | error | NutritionOrder.extension:Coverage-Information | If reason.coding is present and is not from the extensible value set, then reason.text must be present |
extension.where(url = 'reason').empty() or extension.where(url = 'reason').value.text.exists() or extension.where(url = 'reason').value.memberOf('http://hl7.org/fhir/us/davinci-crd/ValueSet/coverageAssertionReasons')
|
| crd-ci-q8 | error | NutritionOrder.extension:Coverage-Information | If doc-purpose is present with a value other than 'conditional', then reason must be present |
extension.where(url = 'doc-purpose' and value != 'conditional').exists() implies extension.where(url = 'reason').exists()
|
| dom-2 | error | NutritionOrder | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | NutritionOrder | 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 | NutritionOrder | 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 | NutritionOrder | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | NutritionOrder | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| nor-1 | warning | NutritionOrder | Nutrition Order SHALL contain either Oral Diet , Supplement, or Enteral Formula class |
oralDiet.exists() or supplement.exists() or enteralFormula.exists()
|
Summary
Mandatory: 1 element
Must-Support: 34 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Maturity: 1
Other representations of profile: CSV, Excel, Schematron