FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packageopenehr.ehds.fhir.dataexchange
Resource TypeStructureDefinition
IdStructureDefinition-DvInterval-DvDate.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/freshehr/EHDS-openEHR-FHIR-IG/StructureDefinition-DvInterval-DvDate.html
URLhttps://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvInterval-DvDate
Version0.1.0
Statusdraft
Date2026-03-25T15:55:34+00:00
NameDvIntervalDvDate
Typehttps://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvInterval-DvDate
Kindlogical

Resources that use this resource

StructureDefinition
openehr.ehds.fhir.dataexchange#currentInternationalPatientSummaryInternational Patient Summary

Resources that this resource uses

StructureDefinition
openehr.base#currentDV-DATEDV_DATE

Narrative

Note: links and images are rebased to the (stated) source


Source1

{
  "resourceType": "StructureDefinition",
  "id": "DvInterval-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/DvInterval-DvDate",
  "version": "0.1.0",
  "name": "DvIntervalDvDate",
  "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/DvInterval-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": "DvInterval-DvDate",
        "path": "DvInterval-DvDate",
        "short": "Interval of Date",
        "definition": "openEHR Interval of 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": "DvInterval-DvDate.CR",
        "path": "DvInterval-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": "DvInterval-DvDate.LF",
        "path": "DvInterval-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": "DvInterval-DvDate.Local-terminology-id",
        "path": "DvInterval-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": "DvInterval-DvDate.normal-status",
        "path": "DvInterval-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": "DvInterval-DvDate.normal-range",
        "path": "DvInterval-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": "DvInterval-DvDate.other-reference-ranges",
        "path": "DvInterval-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": "DvInterval-DvDate.magnitude-status",
        "path": "DvInterval-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": "DvInterval-DvDate.accuracy",
        "path": "DvInterval-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": "DvInterval-DvDate.value",
        "path": "DvInterval-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": "DvInterval-DvDate",
        "path": "DvInterval-DvDate",
        "short": "Interval of Date",
        "definition": "openEHR Interval of Date"
      }
    ]
  }
}