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

FHIR IG analytics

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

Resources that use this resource

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

Resources that this resource uses

StructureDefinition
openehr.base#currentDV-ORDINALDV_ORDINAL

Narrative

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

Generated Narrative: StructureDefinition DvOrdinal

NameFlagsCard.TypeDescription & Constraintsdoco
.. DvOrdinal 0..*DV_ORDINALOrdinal

Elements defined in Ancestors:CR, LF, Local_terminology_id, normal_status, normal_range, other_reference_ranges, symbol, value
Instances of this logical model are not marked to be the target of a Reference

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "DvOrdinal",
  "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_ordinal_class"
    },
    {
      "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/StructureDefinition/structuredefinition-type-characteristics",
      "valueCode": "can-bind"
    },
    {
      "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/DvOrdinal",
  "version": "0.1.0",
  "name": "DvOrdinal",
  "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/DvOrdinal",
  "baseDefinition": "http://openehr.org/fhir/StructureDefinition/DV-ORDINAL",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "0.1.0-snapshot"
      }
    ],
    "element": [
      {
        "id": "DvOrdinal",
        "path": "DvOrdinal",
        "short": "Ordinal",
        "definition": "openEHR Ordinal",
        "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": "Limits_valid",
            "severity": "error",
            "human": "Limits valid",
            "expression": "null # TODO: manual translation needed",
            "source": "http://openehr.org/fhir/StructureDefinition/DV-ORDINAL"
          },
          {
            "key": "Reference_range_valid",
            "severity": "error",
            "human": "Reference range valid",
            "expression": "null # TODO: manual translation needed",
            "source": "http://openehr.org/fhir/StructureDefinition/DV-ORDINAL"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "DvOrdinal.CR",
        "path": "DvOrdinal.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": "DvOrdinal.LF",
        "path": "DvOrdinal.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": "DvOrdinal.Local-terminology-id",
        "path": "DvOrdinal.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": "DvOrdinal.normal-status",
        "path": "DvOrdinal.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": "DvOrdinal.normal-range",
        "path": "DvOrdinal.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": "DvOrdinal.other-reference-ranges",
        "path": "DvOrdinal.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": "DvOrdinal.symbol",
        "path": "DvOrdinal.symbol",
        "short": "Coded textual representation of this value in the enumeration, which may be strings made from  +  symbols, or other enumerations of terms such as  `mild`, `moderate`, `severe`, or even the same number series as the values, e.",
        "definition": "Coded textual representation of this value in the enumeration, which may be strings made from  +  symbols, or other enumerations of terms such as  `mild`, `moderate`, `severe`, or even the same number series as the values, e.g. 1, 2, 3.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DV_ORDINAL.symbol",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV-CODED-TEXT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "DvOrdinal.value",
        "path": "DvOrdinal.value",
        "short": "Value in ordered enumeration of values.",
        "definition": "Value in ordered enumeration of values. Any integer value can be used.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "DV_ORDINAL.value",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "isModifier": false
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "DvOrdinal",
        "path": "DvOrdinal",
        "short": "Ordinal",
        "definition": "openEHR Ordinal"
      }
    ]
  }
}