OpenEHR Base package
0.1.0 - First Draft International flag

OpenEHR Base package, published by openEHR + HL7. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/FHIR/openehr-base-ig/ and changes regularly. See the Directory of published versions

: TIME_DEFINITIONS Code System

Page standards status: Informative Maturity Level: 3

Raw json | Download

{
  "resourceType" : "CodeSystem",
  "id" : "time-definitions",
  "language" : "en",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem time-definitions</b></p><a name=\"time-definitions\"> </a><a name=\"hctime-definitions\"> </a><p><b>Properties</b></p><p><b>This code system defines the following properties for its concepts</b></p><table class=\"grid\"><tr><td><b>Name</b></td><td><b>Code</b></td><td><b>Type</b></td><td><b>Description</b></td></tr><tr><td>constant-integer-value</td><td>constant-integer-value</td><td>integer</td><td>Integer value of the enumeration constant.</td></tr><tr><td>constant-decimal-value</td><td>constant-decimal-value</td><td>decimal</td><td>Decimal value of the enumeration constant.</td></tr></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>https://specifications.openehr.org/fhir/codesystem-time_definitions</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Definition</b></td><td><b>constant-integer-value</b></td><td><b>constant-decimal-value</b></td></tr><tr><td style=\"white-space:nowrap\">Seconds_in_minute<a name=\"time-definitions-Seconds_in_minute\"> </a></td><td>Number of seconds in a minute.</td><td>60</td><td/></tr><tr><td style=\"white-space:nowrap\">Minutes_in_hour<a name=\"time-definitions-Minutes_in_hour\"> </a></td><td>Number of minutes in an hour.</td><td>60</td><td/></tr><tr><td style=\"white-space:nowrap\">Hours_in_day<a name=\"time-definitions-Hours_in_day\"> </a></td><td>Number of hours in a day.</td><td>24</td><td/></tr><tr><td style=\"white-space:nowrap\">Average_days_in_month<a name=\"time-definitions-Average_days_in_month\"> </a></td><td>Used for conversions of durations containing months to days and / or seconds.</td><td/><td>30.42</td></tr><tr><td style=\"white-space:nowrap\">Max_days_in_month<a name=\"time-definitions-Max_days_in_month\"> </a></td><td>Maximum number of days in a month.</td><td>31</td><td/></tr><tr><td style=\"white-space:nowrap\">Days_in_year<a name=\"time-definitions-Days_in_year\"> </a></td><td>Calendar days in a normal year, i.e. 365.</td><td>365</td><td/></tr><tr><td style=\"white-space:nowrap\">Average_days_in_year<a name=\"time-definitions-Average_days_in_year\"> </a></td><td>Used for conversions of durations containing years to days and / or seconds.</td><td/><td>365.25</td></tr><tr><td style=\"white-space:nowrap\">Days_in_leap_year<a name=\"time-definitions-Days_in_leap_year\"> </a></td><td>Calendar days in a standard leap year, i.e. 366.</td><td>366</td><td/></tr><tr><td style=\"white-space:nowrap\">Max_days_in_year<a name=\"time-definitions-Max_days_in_year\"> </a></td><td>Maximum number of days in a year, i.e. accounting for leap years.</td><td>366</td><td/></tr><tr><td style=\"white-space:nowrap\">Days_in_week<a name=\"time-definitions-Days_in_week\"> </a></td><td>Number of days in a week.</td><td>7</td><td/></tr><tr><td style=\"white-space:nowrap\">Months_in_year<a name=\"time-definitions-Months_in_year\"> </a></td><td>Number of months in a year.</td><td>12</td><td/></tr><tr><td style=\"white-space:nowrap\">Min_timezone_hour<a name=\"time-definitions-Min_timezone_hour\"> </a></td><td>Minimum hour value of a timezone according to ISO 8601 (note that the -ve sign is supplied in the ISO8601_TIMEZONE class).</td><td>12</td><td/></tr><tr><td style=\"white-space:nowrap\">Max_timezone_hour<a name=\"time-definitions-Max_timezone_hour\"> </a></td><td>Maximum hour value of a timezone according to ISO 8601 (note that the +ve sign is supplied in the ISO8601_TIMEZONE class).</td><td>14</td><td/></tr><tr><td style=\"white-space:nowrap\">Nominal_days_in_month<a name=\"time-definitions-Nominal_days_in_month\"> </a></td><td>Used for conversions of durations containing months to days and / or seconds.</td><td/><td>30.42</td></tr><tr><td style=\"white-space:nowrap\">Nominal_days_in_year<a name=\"time-definitions-Nominal_days_in_year\"> </a></td><td>Used for conversions of durations containing years to days and / or seconds.</td><td/><td>365.24</td></tr></table></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/web-source",
      "valueUrl" : "https://specifications.openehr.org/releases/BASE/1.1.0/foundation_types.html#_time_definitions_class"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode" : "fhir"
    },
    {
      "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" : "https://specifications.openehr.org/fhir/codesystem-time_definitions",
  "version" : "0.1.0",
  "name" : "TIME_DEFINITIONS",
  "title" : "TIME_DEFINITIONS Code System",
  "status" : "active",
  "experimental" : false,
  "date" : "2023-06-27T18:45:58+10:00",
  "publisher" : "openEHR + HL7",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.openehr.org"
        }
      ]
    }
  ],
  "description" : "Class of enumeration constants defining constants for the Time_Definitions class.",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "caseSensitive" : true,
  "content" : "complete",
  "property" : [
    {
      "code" : "constant-integer-value",
      "description" : "Integer value of the enumeration constant.",
      "type" : "integer"
    },
    {
      "code" : "constant-decimal-value",
      "description" : "Decimal value of the enumeration constant.",
      "type" : "decimal"
    }
  ],
  "concept" : [
    {
      "code" : "Seconds_in_minute",
      "display" : "Seconds_in_minute",
      "definition" : "Number of seconds in a minute.",
      "property" : [
        {
          "code" : "constant-integer-value",
          "valueInteger" : 60
        }
      ]
    },
    {
      "code" : "Minutes_in_hour",
      "display" : "Minutes_in_hour",
      "definition" : "Number of minutes in an hour.",
      "property" : [
        {
          "code" : "constant-integer-value",
          "valueInteger" : 60
        }
      ]
    },
    {
      "code" : "Hours_in_day",
      "display" : "Hours_in_day",
      "definition" : "Number of hours in a day.",
      "property" : [
        {
          "code" : "constant-integer-value",
          "valueInteger" : 24
        }
      ]
    },
    {
      "code" : "Average_days_in_month",
      "display" : "Average_days_in_month",
      "definition" : "Used for conversions of durations containing months to days and / or seconds.",
      "property" : [
        {
          "code" : "constant-decimal-value",
          "valueDecimal" : 30.42
        }
      ]
    },
    {
      "code" : "Max_days_in_month",
      "display" : "Max_days_in_month",
      "definition" : "Maximum number of days in a month.",
      "property" : [
        {
          "code" : "constant-integer-value",
          "valueInteger" : 31
        }
      ]
    },
    {
      "code" : "Days_in_year",
      "display" : "Days_in_year",
      "definition" : "Calendar days in a normal year, i.e. 365.",
      "property" : [
        {
          "code" : "constant-integer-value",
          "valueInteger" : 365
        }
      ]
    },
    {
      "code" : "Average_days_in_year",
      "display" : "Average_days_in_year",
      "definition" : "Used for conversions of durations containing years to days and / or seconds.",
      "property" : [
        {
          "code" : "constant-decimal-value",
          "valueDecimal" : 365.25
        }
      ]
    },
    {
      "code" : "Days_in_leap_year",
      "display" : "Days_in_leap_year",
      "definition" : "Calendar days in a standard leap year, i.e. 366.",
      "property" : [
        {
          "code" : "constant-integer-value",
          "valueInteger" : 366
        }
      ]
    },
    {
      "code" : "Max_days_in_year",
      "display" : "Max_days_in_year",
      "definition" : "Maximum number of days in a year, i.e. accounting for leap years.",
      "property" : [
        {
          "code" : "constant-integer-value",
          "valueInteger" : 366
        }
      ]
    },
    {
      "code" : "Days_in_week",
      "display" : "Days_in_week",
      "definition" : "Number of days in a week.",
      "property" : [
        {
          "code" : "constant-integer-value",
          "valueInteger" : 7
        }
      ]
    },
    {
      "code" : "Months_in_year",
      "display" : "Months_in_year",
      "definition" : "Number of months in a year.",
      "property" : [
        {
          "code" : "constant-integer-value",
          "valueInteger" : 12
        }
      ]
    },
    {
      "code" : "Min_timezone_hour",
      "display" : "Min_timezone_hour",
      "definition" : "Minimum hour value of a timezone according to ISO 8601 (note that the -ve sign is supplied in the ISO8601_TIMEZONE class).",
      "property" : [
        {
          "code" : "constant-integer-value",
          "valueInteger" : 12
        }
      ]
    },
    {
      "code" : "Max_timezone_hour",
      "display" : "Max_timezone_hour",
      "definition" : "Maximum hour value of a timezone according to ISO 8601 (note that the +ve sign is supplied in the ISO8601_TIMEZONE class).",
      "property" : [
        {
          "code" : "constant-integer-value",
          "valueInteger" : 14
        }
      ]
    },
    {
      "code" : "Nominal_days_in_month",
      "display" : "Nominal_days_in_month",
      "definition" : "Used for conversions of durations containing months to days and / or seconds.",
      "property" : [
        {
          "code" : "constant-decimal-value",
          "valueDecimal" : 30.42
        }
      ]
    },
    {
      "code" : "Nominal_days_in_year",
      "display" : "Nominal_days_in_year",
      "definition" : "Used for conversions of durations containing years to days and / or seconds.",
      "property" : [
        {
          "code" : "constant-decimal-value",
          "valueDecimal" : 365.24
        }
      ]
    }
  ]
}