{
"description": "Abstract class defining the concept of quantified entities whose values are absolute with respect to an origin. Dates and Times are the main example.",
"_filename": "StructureDefinition-DV-ABSOLUTE-QUANTITY.json",
"package_name": "openehr.base",
"date": "2025-09-06T15:35:39+10:00",
"derivation": "specialization",
"publisher": "openEHR + HL7",
"fhirVersion": "5.0.0",
"jurisdiction": [ {
"coding": [ {
"code": "001",
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm"
} ]
} ],
"name": "DV_ABSOLUTE_QUANTITY",
"mapping": [ {
"uri": "http://hl7.org/v3",
"name": "RIM Mapping",
"identity": "rim"
} ],
"abstract": true,
"type": "http://openehr.org/fhir/StructureDefinition/DV_ABSOLUTE_QUANTITY",
"experimental": "false",
"resourceType": "StructureDefinition",
"title": "DV_ABSOLUTE_QUANTITY",
"package_version": "0.1.0-snapshot",
"extension": [ {
"url": "http://hl7.org/fhir/tools/StructureDefinition/web-source",
"valueUrl": "https://specifications.openehr.org/releases/RM/Release-1.1.0/data_types.html#_dv_absolute_quantity_class"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/type-operation",
"valueCanonical": "#add"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/type-operation",
"valueCanonical": "#subtract"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/type-operation",
"valueCanonical": "#diff"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode": "fhir"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint",
"valueCode": "element-view-as-leaf"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint",
"valueCode": "element-view-defns-parent"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint",
"valueCode": "element-view-replace-cardinality"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger": 3,
"_valueInteger": {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical": "http://openehr.org/fhir/ImplementationGuide/openehr.base"
} ]
}
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "informative",
"_valueCode": {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical": "http://openehr.org/fhir/ImplementationGuide/openehr.base"
} ]
}
} ],
"contained": [ {
"description": "Addition of a differential amount to this quantity. \n\nThe value of accuracy in the result is either:\n\n* the sum of the accuracies of the operands, if both present, or;\n* unknown, if either or both operand accuracies are unknown.",
"system": false,
"instance": true,
"name": "add",
"resourceType": "OperationDefinition",
"title": "add",
"status": "active",
"id": "add",
"kind": "operation",
"code": "add",
"parameter": [ {
"max": "1",
"min": 1,
"use": "in",
"name": "a_diff",
"type": "Parameters"
}, {
"max": "1",
"min": 1,
"use": "out",
"name": "return",
"type": "Parameters"
} ]
}, {
"description": "Result of subtracting a differential amount from this quantity.\n\nThe value of `_accuracy_` in the result is either:\n\n* the sum of the accuracies of the operands, if both present, or;\n* unknown, if either or both operand accuracies are unknown.",
"system": false,
"instance": true,
"name": "subtract",
"resourceType": "OperationDefinition",
"title": "subtract",
"status": "active",
"id": "subtract",
"kind": "operation",
"code": "subtract",
"parameter": [ {
"max": "1",
"min": 1,
"use": "in",
"name": "a_diff",
"type": "Parameters"
}, {
"max": "1",
"min": 1,
"use": "out",
"name": "return",
"type": "Parameters"
} ]
}, {
"description": "Difference of two quantities.\n\nThe value of accuracy in the result is either:\n\n* the sum of the accuracies of the operands, if both present, or;\n* unknown, if either or both operand accuracies are unknown.",
"system": false,
"instance": true,
"name": "diff",
"resourceType": "OperationDefinition",
"title": "diff",
"status": "active",
"id": "diff",
"kind": "operation",
"code": "diff",
"parameter": [ {
"max": "1",
"min": 1,
"use": "in",
"name": "other",
"type": "Parameters"
}, {
"max": "1",
"min": 1,
"use": "out",
"name": "return",
"type": "Parameters"
} ]
} ],
"snapshot": {
"element": [ {
"constraint": [ {
"key": "Other_reference_ranges_validity",
"human": "Other reference ranges validity must be present",
"source": "http://openehr.org/fhir/StructureDefinition/DV-ORDERED",
"severity": "error",
"expression": "other_reference_ranges.exists() implies other_reference_ranges.empty().not()"
}, {
"key": "Is_simple_validity",
"human": "Is simple validity must satisfy conditional constraints",
"source": "http://openehr.org/fhir/StructureDefinition/DV-ORDERED",
"severity": "error",
"expression": "(normal_range .empty() and other_reference_ranges .empty()) implies is_simple()"
}, {
"key": "Normal_range_and_status_consistency",
"human": "Normal range and status consistency must be present",
"source": "http://openehr.org/fhir/StructureDefinition/DV-ORDERED",
"severity": "error",
"expression": "(normal_range.exists() and normal_status.exists()) implies (normal_status.code_string.is_equal (āNā) xor normal_range.not().has (self))"
}, {
"key": "Magnitude_status_valid",
"human": "Magnitude status valid must be present",
"source": "http://openehr.org/fhir/StructureDefinition/DV-QUANTIFIED",
"severity": "error",
"expression": "magnitude_status.exists() implies valid_magnitude_status() (magnitude_status)"
} ],
"path": "DV_ABSOLUTE_QUANTITY",
"min": 0,
"definition": "Abstract class defining the concept of quantified entities whose values are absolute with respect to an origin. Dates and Times are the main example.",
"isModifier": false,
"short": "Abstract class defining the concept of quantified entities whose values are absolute with respect to an origin.",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"max": "*",
"id": "DV_ABSOLUTE_QUANTITY",
"base": {
"max": "*",
"min": 0,
"path": "Base"
}
}, {
"path": "DV_ABSOLUTE_QUANTITY.CR",
"min": 1,
"definition": "Carriage return character.",
"isModifier": false,
"short": "Carriage return character.",
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "DV_ABSOLUTE_QUANTITY.CR",
"base": {
"max": "1",
"min": 1,
"path": "BASIC_DEFINITIONS.CR"
}
}, {
"path": "DV_ABSOLUTE_QUANTITY.LF",
"min": 1,
"definition": "Line feed character.",
"isModifier": false,
"short": "Line feed character.",
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "DV_ABSOLUTE_QUANTITY.LF",
"base": {
"max": "1",
"min": 1,
"path": "BASIC_DEFINITIONS.LF"
}
}, {
"path": "DV_ABSOLUTE_QUANTITY.Local_terminology_id",
"min": 1,
"definition": "Predefined terminology identifier to indicate it is local to the knowledge resource in which it occurs, e.g. an archetype",
"isModifier": false,
"short": "Predefined terminology identifier",
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "DV_ABSOLUTE_QUANTITY.Local-terminology-id",
"base": {
"max": "1",
"min": 1,
"path": "OPENEHR_DEFINITIONS.Local_terminology_id"
}
}, {
"path": "DV_ABSOLUTE_QUANTITY.normal_status",
"min": 0,
"definition": "Optional normal status indicator of value with respect to normal range for this value. Often included by lab, even if the normal range itself is not included. Coded by ordinals in series HHH, HH, H, (nothing), L, LL, LLL; see openEHR terminology group `normal_status`.",
"isModifier": false,
"short": "Optional normal status indicator of value with respect to normal range for this value.",
"type": [ {
"code": "http://openehr.org/fhir/StructureDefinition/CODE-PHRASE"
} ],
"max": "1",
"id": "DV_ABSOLUTE_QUANTITY.normal-status",
"base": {
"max": "1",
"min": 0,
"path": "DV_ORDERED.normal_status"
}
}, {
"path": "DV_ABSOLUTE_QUANTITY.normal_range",
"min": 0,
"definition": "Optional normal range.",
"isModifier": false,
"short": "Optional normal range.",
"type": [ {
"code": "http://openehr.org/fhir/StructureDefinition/DV-INTERVAL"
} ],
"max": "1",
"id": "DV_ABSOLUTE_QUANTITY.normal-range",
"base": {
"max": "1",
"min": 0,
"path": "DV_ORDERED.normal_range"
}
}, {
"path": "DV_ABSOLUTE_QUANTITY.other_reference_ranges",
"min": 0,
"definition": "Optional tagged other reference ranges for this value in its particular measurement context.",
"isModifier": false,
"short": "Optional tagged other reference ranges for this value in its particular measurement context.",
"type": [ {
"code": "http://openehr.org/fhir/StructureDefinition/REFERENCE-RANGE",
"extension": [ {
"url": "http://hl7.org/fhir/tools/StructureDefinition/type-parameter",
"extension": [ {
"url": "name",
"valueCode": "T"
}, {
"url": "type",
"valueUri": "http://openehr.org/fhir/StructureDefinition/DV-ORDERED"
} ]
} ]
} ],
"max": "*",
"id": "DV_ABSOLUTE_QUANTITY.other-reference-ranges",
"base": {
"max": "*",
"min": 0,
"path": "DV_ORDERED.other_reference_ranges"
}
}, {
"path": "DV_ABSOLUTE_QUANTITY.magnitude_status",
"min": 0,
"definition": "Optional status of magnitude with values: \n\n* `\"=\"` : magnitude is a point value \n* `\"<\"` : value is < magnitude \n* `\">\"` : value is > magnitude \n* `\"<=\"` : value is <= magnitude \n* `\">=\"` : value is >= magnitude \n* `\"~\"` : value is approximately magnitude \n\nIf not present, assumed meaning is `\"=\"` .",
"isModifier": false,
"short": "Optional status of magnitude with values: \n\n* `\"=\"` : magnitude is a point value \n* `\"<\"` : value is < magnitude \n* `\">\"` : value is > magnitude \n* `\"<=\"` : value is <= magnitude \n* `\">=\"` : value is >= magnitude \n* `\"~\"` : value is approximately magnitude \n\nIf not present, assumed meaning is `\"=\"` .",
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "DV_ABSOLUTE_QUANTITY.magnitude-status",
"base": {
"max": "1",
"min": 0,
"path": "DV_QUANTIFIED.magnitude_status"
}
}, {
"path": "DV_ABSOLUTE_QUANTITY.accuracy",
"min": 0,
"definition": "Accuracy of measurement. Exact form of expression determined in descendants.",
"isModifier": false,
"short": "Accuracy of measurement.",
"type": [ {
"code": "http://openehr.org/fhir/StructureDefinition/DV-AMOUNT"
} ],
"max": "1",
"id": "DV_ABSOLUTE_QUANTITY.accuracy",
"base": {
"max": "1",
"min": 0,
"path": "DV_QUANTIFIED.accuracy"
}
} ],
"extension": [ {
"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
"valueString": "0.1.0-snapshot"
} ]
},
"status": "active",
"id": "e14ccd48-4d09-46ba-9cea-2a448a9a88af",
"kind": "logical",
"url": "http://openehr.org/fhir/StructureDefinition/DV-ABSOLUTE-QUANTITY",
"version": "0.1.0-snapshot",
"differential": {
"element": [ {
"id": "DV_ABSOLUTE_QUANTITY",
"max": "*",
"min": 0,
"path": "DV_ABSOLUTE_QUANTITY",
"short": "Abstract class defining the concept of quantified entities whose values are absolute with respect to an origin.",
"definition": "Abstract class defining the concept of quantified entities whose values are absolute with respect to an origin. Dates and Times are the main example.",
"isModifier": false
}, {
"id": "DV_ABSOLUTE_QUANTITY.accuracy",
"max": "1",
"min": 0,
"path": "DV_ABSOLUTE_QUANTITY.accuracy",
"type": [ {
"code": "http://openehr.org/fhir/StructureDefinition/DV-AMOUNT"
} ],
"isModifier": false
} ]
},
"contact": [ {
"telecom": [ {
"value": "http://www.openehr.org",
"system": "url"
} ]
} ],
"baseDefinition": "http://openehr.org/fhir/StructureDefinition/DV-QUANTIFIED"
}