MedicationRequestAdviceMealSelected
This extension represents the advice meal quantity selected by the patient in glucometer.
Used in MedicationRequest resource.
The scope of this extension is ACSPIX BG file.
An example of the XML code is given below and the FHIR output:
<BG Val="83" Dt="2018-11-02" Tm="20:49" Flg="M1" Carb="61" cmd="3" D="1">
<ADVICED_BOLUS type="Std">
<RECOMMENDED BgIU="1.50" CarbIU="3.00" TotalIU="4.50"/>
<SELECTED BgIU="2.50" CarbIU="1.10" TotalIU="3.60"/>
<CONFIRMED BgIU="2.00" CarbIU="3.00" TotalIU="5.00"/>
</ADVICED_BOLUS>
</BG>
FHIR output example for CarbIU="1.10" inside of SELECTED tag:
"extension": [
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/advice-meal-component-selected",
"valueQuantity": {
"value": "1.10",
"unit": "[iU]",
"system": "http://unitsofmeasure.org",
"code": "[iU]"
}
}
]
Overview
The below overview shows the elements of the resource, data type and the cardinality of each. Further details like "Binding"/"Fixed values"/"contraints" etc can be found on clicking on each element.
Canonical URL - http://roche.com/fhir/rdc/StructureDefinition/advice-meal-component-selected
Details
| Extension | |
| Short | Optional Extensions Element |
| Definition | Optional Extension Element - found in all resources. |
| Cardinality | 0..* |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 |
| Constraints |
|
| Mappings |
|
| Extension.id | |
| Short | xml:id (or equivalent in JSON) |
| Definition | unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
| Cardinality | 0..1 |
| Type | string |
| Comments | Note that FHIR strings may not exceed 1MB in size |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 |
| Constraints |
|
| Mappings |
|
| Extension.extension | |
| Short | Additional Content defined by implementations |
| Definition | May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
| Cardinality | 0..* |
| Type | Extension |
| Alias | extensions, user content |
| Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
| Slicing | Unordered, Open, by url(Value) Extensions are always sliced by (at least) url |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 |
| Constraints |
|
| Mappings |
|
| Extension.url | |
| Short | identifies the meaning of the extension |
| Definition | Source of the definition for the extension code - a logical name or a URL. |
| Cardinality | 1..1 |
| Type | uri |
| Comments | The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension. |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 |
| Constraints |
|
| Fixed Value | http://roche.com/fhir/rdc/StructureDefinition/advice-meal-component-selected |
| Mappings |
|
| Extension.value[x]:valueQuantity | |
| Short | Value of extension |
| Definition | Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list). |
| Cardinality | 1..1 |
| Type | Quantity |
| Binding | |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 |
| Constraints |
|
| Mappings |
|
| Extension.value[x]:valueQuantity.id | |
| Short | xml:id (or equivalent in JSON) |
| Definition | unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. |
| Cardinality | 0..1 |
| Type | string |
| Comments | Note that FHIR strings may not exceed 1MB in size |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 |
| Constraints |
|
| Mappings |
|
| Extension.value[x]:valueQuantity.extension | |
| Short | Additional Content defined by implementations |
| Definition | May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
| Cardinality | 0..* |
| Type | Extension |
| Alias | extensions, user content |
| Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. |
| Slicing | Unordered, Open, by url(Value) Extensions are always sliced by (at least) url |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 |
| Constraints |
|
| Mappings |
|
| Extension.value[x]:valueQuantity.value | |
| Short | Numerical value (with implicit precision) |
| Definition | The value of the measured amount. The value includes an implicit precision in the presentation of the value. |
| Cardinality | 1..1 |
| Type | decimal |
| Summary | True |
| Requirements | Precision is handled implicitly in almost all cases of measurement. |
| Comments | The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books). |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 |
| Constraints |
|
| Mappings |
|
| Extension.value[x]:valueQuantity.comparator | |
| Short | < | <= | >= | > - how to understand the value |
| Definition | How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value. |
| Cardinality | 0..1 |
| Type | code |
| Binding | How the Quantity should be understood and represented. |
| Modifier | True |
| Summary | True |
| Requirements | Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology. |
| Comments | This is labeled as "Is Modifier" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value. |
| Meaning when missing | If there is no comparator, then there is no modification of the value |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 |
| Constraints |
|
| Mappings |
|
| Extension.value[x]:valueQuantity.unit | |
| Short | Unit representation |
| Definition | A human-readable form of the unit. |
| Cardinality | 1..1 |
| Type | string |
| Summary | True |
| Requirements | There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms. |
| Comments | Note that FHIR strings may not exceed 1MB in size |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 |
| Constraints |
|
| Mappings |
|
| Extension.value[x]:valueQuantity.system | |
| Short | System that defines coded unit form |
| Definition | The identification of the system that provides the coded form of the unit. |
| Cardinality | 1..1 |
| Type | uri |
| Summary | True |
| Requirements | Need to know the system that defines the coded form of the unit. |
| Comments | see http://en.wikipedia.org/wiki/Uniform_resource_identifier |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1, qty-3 |
| Constraints |
|
| Mappings |
|
| Extension.value[x]:valueQuantity.code | |
| Short | Coded form of the unit |
| Definition | A computer processable form of the unit in some unit representation system. |
| Cardinality | 1..1 |
| Type | code |
| Summary | True |
| Requirements | Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest. |
| Comments | The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system. |
| Conditions | The cardinality or value of this element may be affected by these constraints: ele-1 |
| Constraints |
|
| Mappings |
|
Table
| Extension | 0..* | |
| Extension.id | string | 0..1 |
| Extension.extension | Extension | 0..* |
| Extension.url | uri | 1..1 |
| Extension.value[x]:valueQuantity | Quantity | 1..1 |
| Extension.value[x]:valueQuantity.id | string | 0..1 |
| Extension.value[x]:valueQuantity.extension | Extension | 0..* |
| Extension.value[x]:valueQuantity.value | decimal | 1..1 |
| Extension.value[x]:valueQuantity.comparator | code | 0..1 |
| Extension.value[x]:valueQuantity.unit | string | 1..1 |
| Extension.value[x]:valueQuantity.system | uri | 1..1 |
| Extension.value[x]:valueQuantity.code | code | 1..1 |