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

FHIR IG analytics

Packageopenehr.base
Resource TypeStructureDefinition
IdStructureDefinition-DV-INTERVAL.json
FHIR VersionR5
Sourcehttp://fhir.org/guides/openehr/base/0.1.0-snapshot/StructureDefinition-DV-INTERVAL.html
URLhttp://openehr.org/fhir/StructureDefinition/DV-INTERVAL
Version0.1.0-snapshot
Statusactive
Date2025-09-06T15:35:39+10:00
NameDV_INTERVAL
TitleDV_INTERVAL
Realmuv
Authorityhl7
DescriptionGeneric class defining an interval (i.e. range) of a comparable type. An interval is a contiguous subrange of a comparable base type. Used to define intervals of dates, times, quantities (whose units match) and so on. The type parameter, `T`, must be a descendant of the type `DV_ORDERED`, which is necessary (but not sufficient) for instances to be compared (`_strictly_comparable_` is also needed). Without the `DV_INTERVAL` class, quite a few more `DV_` classes would be needed to express logical intervals, namely interval versions of all the date/time classes, and of quantity classes. Further, it allows the semantics of intervals to be stated in one place unequivocally, including the conditions for strict comparison. The basic semantics are derived from the class `Interval<T>`, described in the support RM.
Typehttp://openehr.org/fhir/StructureDefinition/DV_INTERVAL
Kindlogical

Resources that use this resource

StructureDefinition
openehr.base#0.1.0-snapshotCAPABILITYCAPABILITY
openehr.base#0.1.0-snapshotCONTACTCONTACT
openehr.base#0.1.0-snapshotDV-COUNTDV_COUNT
openehr.base#0.1.0-snapshotDV-ORDEREDDV_ORDERED
openehr.base#0.1.0-snapshotDV-PROPORTIONDV_PROPORTION
openehr.base#0.1.0-snapshotDV-QUANTITYDV_QUANTITY
openehr.base#0.1.0-snapshotEXTRACT-PARTICIPATIONEXTRACT_PARTICIPATION
openehr.base#0.1.0-snapshotEXTRACT-VERSION-SPECEXTRACT_VERSION_SPEC
openehr.base#0.1.0-snapshotPARTICIPATIONPARTICIPATION
openehr.base#0.1.0-snapshotPARTY-RELATIONSHIPPARTY_RELATIONSHIP
openehr.base#0.1.0-snapshotREFERENCE-RANGEREFERENCE_RANGE
openehr.base#0.1.0-snapshotROLEROLE

Resources that this resource uses

StructureDefinition
openehr.base#0.1.0-snapshotDATA-VALUEDATA_VALUE

Narrative

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

Generated Narrative: StructureDefinition DV-INTERVAL

NameFlagsCard.TypeDescription & Constraintsdoco
.. DV_INTERVAL<T : DV_ORDERED> C0..*DATA_VALUEGeneric class defining an interval (i.

Elements defined in Ancestors:CR, LF, Local_terminology_id
Constraints: Limits_consistent

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "DV-INTERVAL",
  "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_interval_class"
    },
    {
      "extension": [
        {
          "url": "name",
          "valueCode": "T"
        },
        {
          "url": "type",
          "valueUri": "http://openehr.org/fhir/StructureDefinition/DV-ORDERED"
        }
      ],
      "url": "http://hl7.org/fhir/tools/StructureDefinition/type-parameter"
    },
    {
      "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"
          }
        ]
      }
    }
  ],
  "url": "http://openehr.org/fhir/StructureDefinition/DV-INTERVAL",
  "version": "0.1.0-snapshot",
  "name": "DV_INTERVAL",
  "title": "DV_INTERVAL",
  "status": "active",
  "experimental": false,
  "date": "2025-09-06T15:35:39+10:00",
  "publisher": "openEHR + HL7",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.openehr.org"
        }
      ]
    }
  ],
  "description": "Generic class defining an interval (i.e. range) of a comparable type. An interval is a contiguous subrange of a comparable base type. Used to define intervals of dates, times, quantities (whose units match) and so on. The type parameter, `T`, must be a descendant of the type `DV_ORDERED`, which is necessary (but not sufficient) for instances to be compared (`_strictly_comparable_` is also needed). \n\nWithout the `DV_INTERVAL` class, quite a few more `DV_` classes would be needed to express logical intervals, namely interval versions of all the date/time classes, and of quantity classes. Further, it allows the semantics of intervals to be stated in one place unequivocally, including the conditions for strict comparison. \n\nThe basic semantics are derived from the class `Interval<T>`, described in the support RM. ",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://openehr.org/fhir/StructureDefinition/DV_INTERVAL",
  "baseDefinition": "http://openehr.org/fhir/StructureDefinition/DATA-VALUE",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "0.1.0-snapshot"
      }
    ],
    "element": [
      {
        "id": "DV_INTERVAL",
        "path": "DV_INTERVAL",
        "short": "Generic class defining an interval (i.",
        "definition": "Generic class defining an interval (i.e. range) of a comparable type. An interval is a contiguous subrange of a comparable base type. Used to define intervals of dates, times, quantities (whose units match) and so on. The type parameter, `T`, must be a descendant of the type `DV_ORDERED`, which is necessary (but not sufficient) for instances to be compared (`_strictly_comparable_` is also needed). \n\nWithout the `DV_INTERVAL` class, quite a few more `DV_` classes would be needed to express logical intervals, namely interval versions of all the date/time classes, and of quantity classes. Further, it allows the semantics of intervals to be stated in one place unequivocally, including the conditions for strict comparison. \n\nThe basic semantics are derived from the class `Interval<T>`, described in the support RM. ",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "constraint": [
          {
            "key": "Limits_consistent",
            "severity": "error",
            "human": "Limits consistent must satisfy range constraints",
            "expression": "(upper_unbounde.not()d and lower_unbounded.not()) implies (lower.is_strictly_comparable_to(upper) and lower <= upper)"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "DV_INTERVAL.CR",
        "path": "DV_INTERVAL.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": "DV_INTERVAL.LF",
        "path": "DV_INTERVAL.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": "DV_INTERVAL.Local-terminology-id",
        "path": "DV_INTERVAL.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
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "DV_INTERVAL",
        "path": "DV_INTERVAL",
        "short": "Generic class defining an interval (i.",
        "definition": "Generic class defining an interval (i.e. range) of a comparable type. An interval is a contiguous subrange of a comparable base type. Used to define intervals of dates, times, quantities (whose units match) and so on. The type parameter, `T`, must be a descendant of the type `DV_ORDERED`, which is necessary (but not sufficient) for instances to be compared (`_strictly_comparable_` is also needed). \n\nWithout the `DV_INTERVAL` class, quite a few more `DV_` classes would be needed to express logical intervals, namely interval versions of all the date/time classes, and of quantity classes. Further, it allows the semantics of intervals to be stated in one place unequivocally, including the conditions for strict comparison. \n\nThe basic semantics are derived from the class `Interval<T>`, described in the support RM. ",
        "min": 0,
        "max": "*",
        "constraint": [
          {
            "key": "Limits_consistent",
            "severity": "error",
            "human": "Limits consistent must satisfy range constraints",
            "expression": "(upper_unbounde.not()d and lower_unbounded.not()) implies (lower.is_strictly_comparable_to(upper) and lower <= upper)"
          }
        ],
        "isModifier": false
      }
    ]
  }
}