OpenEHR Base package
0.1.0 - First Draft
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
| Page standards status: Informative | Maturity Level: 3 |
<CodeSystem xmlns="http://hl7.org/fhir">
<id value="time-definitions"/>
<language value="en"/>
<text>
<status value="generated"/>
<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>
</text>
<extension url="http://hl7.org/fhir/StructureDefinition/web-source">
<valueUrl
value="https://specifications.openehr.org/releases/BASE/1.1.0/foundation_types.html#_time_definitions_class"/>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
<valueCode value="fhir"/>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<valueInteger value="3">
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
<valueCanonical
value="http://openehr.org/fhir/ImplementationGuide/openehr.base"/>
</extension>
</valueInteger>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="informative">
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
<valueCanonical
value="http://openehr.org/fhir/ImplementationGuide/openehr.base"/>
</extension>
</valueCode>
</extension>
<url
value="https://specifications.openehr.org/fhir/codesystem-time_definitions"/>
<version value="0.1.0"/>
<name value="TIME_DEFINITIONS"/>
<title value="TIME_DEFINITIONS Code System"/>
<status value="active"/>
<experimental value="false"/>
<date value="2023-06-27T18:45:58+10:00"/>
<publisher value="openEHR + HL7"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://www.openehr.org"/>
</telecom>
</contact>
<description
value="Class of enumeration constants defining constants for the Time_Definitions class."/>
<jurisdiction>
<coding>
<system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
<code value="001"/>
</coding>
</jurisdiction>
<caseSensitive value="true"/>
<content value="complete"/>
<property>
<code value="constant-integer-value"/>
<description value="Integer value of the enumeration constant."/>
<type value="integer"/>
</property>
<property>
<code value="constant-decimal-value"/>
<description value="Decimal value of the enumeration constant."/>
<type value="decimal"/>
</property>
<concept>
<code value="Seconds_in_minute"/>
<display value="Seconds_in_minute"/>
<definition value="Number of seconds in a minute."/>
<property>
<code value="constant-integer-value"/>
<valueInteger value="60"/>
</property>
</concept>
<concept>
<code value="Minutes_in_hour"/>
<display value="Minutes_in_hour"/>
<definition value="Number of minutes in an hour."/>
<property>
<code value="constant-integer-value"/>
<valueInteger value="60"/>
</property>
</concept>
<concept>
<code value="Hours_in_day"/>
<display value="Hours_in_day"/>
<definition value="Number of hours in a day."/>
<property>
<code value="constant-integer-value"/>
<valueInteger value="24"/>
</property>
</concept>
<concept>
<code value="Average_days_in_month"/>
<display value="Average_days_in_month"/>
<definition
value="Used for conversions of durations containing months to days and / or seconds."/>
<property>
<code value="constant-decimal-value"/>
<valueDecimal value="30.42"/>
</property>
</concept>
<concept>
<code value="Max_days_in_month"/>
<display value="Max_days_in_month"/>
<definition value="Maximum number of days in a month."/>
<property>
<code value="constant-integer-value"/>
<valueInteger value="31"/>
</property>
</concept>
<concept>
<code value="Days_in_year"/>
<display value="Days_in_year"/>
<definition value="Calendar days in a normal year, i.e. 365."/>
<property>
<code value="constant-integer-value"/>
<valueInteger value="365"/>
</property>
</concept>
<concept>
<code value="Average_days_in_year"/>
<display value="Average_days_in_year"/>
<definition
value="Used for conversions of durations containing years to days and / or seconds."/>
<property>
<code value="constant-decimal-value"/>
<valueDecimal value="365.25"/>
</property>
</concept>
<concept>
<code value="Days_in_leap_year"/>
<display value="Days_in_leap_year"/>
<definition value="Calendar days in a standard leap year, i.e. 366."/>
<property>
<code value="constant-integer-value"/>
<valueInteger value="366"/>
</property>
</concept>
<concept>
<code value="Max_days_in_year"/>
<display value="Max_days_in_year"/>
<definition
value="Maximum number of days in a year, i.e. accounting for leap years."/>
<property>
<code value="constant-integer-value"/>
<valueInteger value="366"/>
</property>
</concept>
<concept>
<code value="Days_in_week"/>
<display value="Days_in_week"/>
<definition value="Number of days in a week."/>
<property>
<code value="constant-integer-value"/>
<valueInteger value="7"/>
</property>
</concept>
<concept>
<code value="Months_in_year"/>
<display value="Months_in_year"/>
<definition value="Number of months in a year."/>
<property>
<code value="constant-integer-value"/>
<valueInteger value="12"/>
</property>
</concept>
<concept>
<code value="Min_timezone_hour"/>
<display value="Min_timezone_hour"/>
<definition
value="Minimum hour value of a timezone according to ISO 8601 (note that the -ve sign is supplied in the ISO8601_TIMEZONE class)."/>
<property>
<code value="constant-integer-value"/>
<valueInteger value="12"/>
</property>
</concept>
<concept>
<code value="Max_timezone_hour"/>
<display value="Max_timezone_hour"/>
<definition
value="Maximum hour value of a timezone according to ISO 8601 (note that the +ve sign is supplied in the ISO8601_TIMEZONE class)."/>
<property>
<code value="constant-integer-value"/>
<valueInteger value="14"/>
</property>
</concept>
<concept>
<code value="Nominal_days_in_month"/>
<display value="Nominal_days_in_month"/>
<definition
value="Used for conversions of durations containing months to days and / or seconds."/>
<property>
<code value="constant-decimal-value"/>
<valueDecimal value="30.42"/>
</property>
</concept>
<concept>
<code value="Nominal_days_in_year"/>
<display value="Nominal_days_in_year"/>
<definition
value="Used for conversions of durations containing years to days and / or seconds."/>
<property>
<code value="constant-decimal-value"/>
<valueDecimal value="365.24"/>
</property>
</concept>
</CodeSystem>