FHIR IG analytics
Resources that use this resource
Resources that this resource uses
| StructureDefinition |
| openehr.base#current | DV-DATE | DV_DATE |
Narrative
Note: links and images are rebased to the (stated) source
| Name | Flags | Card. | Type | Description & Constraints |
|---|
 DvDate | | 0..* | DV_DATE | Date
Elements defined in Ancestors:CR, LF, Local_terminology_id, normal_status, normal_range, other_reference_ranges, magnitude_status, accuracy, accuracy, accuracy, value |
Documentation for this format |
Source1
{
"resourceType": "StructureDefinition",
"id": "DvDate",
"text": {
"status": "extensions",
"div": "<!-- snip (see above) -->"
},
"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_date_class"
},
{
"url": "http://hl7.org/fhir/tools/StructureDefinition/type-operation",
"valueCanonical": "#magnitude"
},
{
"url": "http://hl7.org/fhir/tools/StructureDefinition/type-operation",
"valueCanonical": "#is_equal"
},
{
"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/tools/StructureDefinition/type-operation",
"valueCanonical": "#less_than"
},
{
"url": "http://hl7.org/fhir/tools/StructureDefinition/type-operation",
"valueCanonical": "#is_strictly_comparable_to"
},
{
"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/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": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvDate",
"version": "0.1.0",
"name": "DvDate",
"status": "draft",
"date": "2026-03-25T15:55:34+00:00",
"publisher": "Ian",
"contact": [
{
"name": "Ian",
"telecom": [
{
"system": "url",
"value": "http://example.org/example-publisher"
}
]
}
],
"fhirVersion": "4.0.1",
"mapping": [
{
"identity": "rim",
"uri": "http://hl7.org/v3",
"name": "RIM Mapping"
}
],
"kind": "logical",
"abstract": false,
"type": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvDate",
"baseDefinition": "http://openehr.org/fhir/StructureDefinition/DV-DATE",
"derivation": "specialization",
"snapshot": {
"extension": [
{
"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
"valueString": "0.1.0-snapshot"
}
],
"element": [
{
"id": "DvDate",
"path": "DvDate",
"short": "Date",
"definition": "openEHR Date",
"min": 0,
"max": "*",
"base": {
"path": "Base",
"min": 0,
"max": "*"
},
"constraint": [
{
"key": "Other_reference_ranges_validity",
"severity": "error",
"human": "Other reference ranges validity must be present",
"expression": "other_reference_ranges.exists() implies other_reference_ranges.empty().not()",
"source": "http://openehr.org/fhir/StructureDefinition/DV-ORDERED"
},
{
"key": "Is_simple_validity",
"severity": "error",
"human": "Is simple validity must satisfy conditional constraints",
"expression": "(normal_range .empty() and other_reference_ranges .empty()) implies is_simple()",
"source": "http://openehr.org/fhir/StructureDefinition/DV-ORDERED"
},
{
"key": "Normal_range_and_status_consistency",
"severity": "error",
"human": "Normal range and status consistency must be present",
"expression": "(normal_range.exists() and normal_status.exists()) implies (normal_status.code_string.is_equal (āNā) xor normal_range.not().has (self))",
"source": "http://openehr.org/fhir/StructureDefinition/DV-ORDERED"
},
{
"key": "Magnitude_status_valid",
"severity": "error",
"human": "Magnitude status valid must be present",
"expression": "magnitude_status.exists() implies valid_magnitude_status() (magnitude_status)",
"source": "http://openehr.org/fhir/StructureDefinition/DV-QUANTIFIED"
},
{
"key": "Value_valid",
"severity": "error",
"human": "Value valid",
"expression": "null # TODO: manual translation needed",
"source": "http://openehr.org/fhir/StructureDefinition/DV-DATE"
}
],
"isModifier": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "DvDate.CR",
"path": "DvDate.CR",
"short": "Carriage return character.",
"definition": "Carriage return character.",
"min": 1,
"max": "1",
"base": {
"path": "BASIC_DEFINITIONS.CR",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"isModifier": false
},
{
"id": "DvDate.LF",
"path": "DvDate.LF",
"short": "Line feed character.",
"definition": "Line feed character.",
"min": 1,
"max": "1",
"base": {
"path": "BASIC_DEFINITIONS.LF",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"isModifier": false
},
{
"id": "DvDate.Local-terminology-id",
"path": "DvDate.Local_terminology_id",
"short": "Predefined terminology identifier",
"definition": "Predefined terminology identifier to indicate it is local to the knowledge resource in which it occurs, e.g. an archetype",
"min": 1,
"max": "1",
"base": {
"path": "OPENEHR_DEFINITIONS.Local_terminology_id",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"isModifier": false
},
{
"id": "DvDate.normal-status",
"path": "DvDate.normal_status",
"short": "Optional normal status indicator of value with respect to normal range for this value.",
"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`.",
"min": 0,
"max": "1",
"base": {
"path": "DV_ORDERED.normal_status",
"min": 0,
"max": "1"
},
"type": [
{
"code": "http://openehr.org/fhir/StructureDefinition/CODE-PHRASE"
}
],
"isModifier": false
},
{
"id": "DvDate.normal-range",
"path": "DvDate.normal_range",
"short": "Optional normal range.",
"definition": "Optional normal range.",
"min": 0,
"max": "1",
"base": {
"path": "DV_ORDERED.normal_range",
"min": 0,
"max": "1"
},
"type": [
{
"code": "http://openehr.org/fhir/StructureDefinition/DV-INTERVAL"
}
],
"isModifier": false
},
{
"id": "DvDate.other-reference-ranges",
"path": "DvDate.other_reference_ranges",
"short": "Optional tagged other reference ranges for this value in its particular measurement context.",
"definition": "Optional tagged other reference ranges for this value in its particular measurement context.",
"min": 0,
"max": "*",
"base": {
"path": "DV_ORDERED.other_reference_ranges",
"min": 0,
"max": "*"
},
"type": [
{
"extension": [
{
"extension": [
{
"url": "name",
"valueCode": "T"
},
{
"url": "type",
"valueUri": "http://openehr.org/fhir/StructureDefinition/DV-ORDERED"
}
],
"url": "http://hl7.org/fhir/tools/StructureDefinition/type-parameter"
}
],
"code": "http://openehr.org/fhir/StructureDefinition/REFERENCE-RANGE"
}
],
"isModifier": false
},
{
"id": "DvDate.magnitude-status",
"path": "DvDate.magnitude_status",
"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 `\"=\"` .",
"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 `\"=\"` .",
"min": 0,
"max": "1",
"base": {
"path": "DV_QUANTIFIED.magnitude_status",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"isModifier": false
},
{
"id": "DvDate.accuracy",
"path": "DvDate.accuracy",
"short": "Time accuracy, expressed as a duration.",
"definition": "Time accuracy, expressed as a duration.",
"min": 0,
"max": "1",
"base": {
"path": "DV_QUANTIFIED.accuracy",
"min": 0,
"max": "1"
},
"type": [
{
"code": "http://openehr.org/fhir/StructureDefinition/DV-DURATION"
}
],
"isModifier": false
},
{
"id": "DvDate.value",
"path": "DvDate.value",
"short": "ISO8601 date string.",
"definition": "ISO8601 date string.",
"min": 1,
"max": "1",
"base": {
"path": "DV_DATE.value",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"isModifier": false
}
]
},
"differential": {
"element": [
{
"id": "DvDate",
"path": "DvDate",
"short": "Date",
"definition": "openEHR Date"
}
]
}
}