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

CodeSystem: TIME_DEFINITIONS Code System

Official URL: https://specifications.openehr.org/fhir/codesystem-time_definitions Version: 0.1.0
Standards status: Informative Maturity Level: 3 Computable Name: TIME_DEFINITIONS

Class of enumeration constants defining constants for the Time_Definitions class.

This Code system is referenced in the definition of the following value sets:

Properties

This code system defines the following properties for its concepts

NameCodeTypeDescription
constant-integer-value constant-integer-value integer Integer value of the enumeration constant.
constant-decimal-value constant-decimal-value decimal Decimal value of the enumeration constant.

Concepts

This case-sensitive code system https://specifications.openehr.org/fhir/codesystem-time_definitions defines the following codes:

CodeDefinitionconstant-integer-valueconstant-decimal-value
Seconds_in_minute Number of seconds in a minute. 60
Minutes_in_hour Number of minutes in an hour. 60
Hours_in_day Number of hours in a day. 24
Average_days_in_month Used for conversions of durations containing months to days and / or seconds. 30.42
Max_days_in_month Maximum number of days in a month. 31
Days_in_year Calendar days in a normal year, i.e. 365. 365
Average_days_in_year Used for conversions of durations containing years to days and / or seconds. 365.25
Days_in_leap_year Calendar days in a standard leap year, i.e. 366. 366
Max_days_in_year Maximum number of days in a year, i.e. accounting for leap years. 366
Days_in_week Number of days in a week. 7
Months_in_year Number of months in a year. 12
Min_timezone_hour Minimum hour value of a timezone according to ISO 8601 (note that the -ve sign is supplied in the ISO8601_TIMEZONE class). 12
Max_timezone_hour Maximum hour value of a timezone according to ISO 8601 (note that the +ve sign is supplied in the ISO8601_TIMEZONE class). 14
Nominal_days_in_month Used for conversions of durations containing months to days and / or seconds. 30.42
Nominal_days_in_year Used for conversions of durations containing years to days and / or seconds. 365.24

Description of the above table(s).