Referral Prescription
1.0.0 - STU

Referral Prescription, published by . This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-be/referral/ and changes regularly. See the Directory of published versions

## Data Type Profile: BeYearMonthDay - Detailed Descriptions

Draft as of 2025-10-10

Definitions for the be-year-month-day data type profile.

- Key Elements Table
- Differential Elements Table
- Snapshot Elements Table

Guidance on how to interpret the contents of this table can be foundhere

0. dateTime
Definition | A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates.
Short | Primitive Type dateTime
Control | 0..*
Is Modifier | false
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count())) be-inv-year-month-day: date SHALL be of format YYYY-MM-DD (`empty() or toString().length()=10`)

Guidance on how to interpret the contents of this table can be foundhere

0. dateTime
Invariants | be-inv-year-month-day: date SHALL be of format YYYY-MM-DD (`empty() or toString().length()=10`)

Guidance on how to interpret the contents of this table can be foundhere

0. dateTime
Definition | A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates.
Short | Primitive Type dateTime
Control | 0..*
Is Modifier | false
Summary | false
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) be-inv-year-month-day: date SHALL be of format YYYY-MM-DD (`empty() or toString().length()=10`)
2. dateTime.id
Definition | unique id for the element within a resource (for internal references)
Short | xml:id (or equivalent in JSON)
Control | 0..1
Type | string
Is Modifier | false
XML Format | In the XML format, this property is represented as an attribute.
Summary | false
4. dateTime.extension
Definition | May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Short | Additional content defined by implementations
Comments | There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Control | 0..*
Type | Extension
Is Modifier | false
Summary | false
Alternate Names | extensions, user content
Invariants | ele-1: All FHIR elements must have a @value or children (`hasValue() or (children().count() > id.count())`) ext-1: Must have either extensions or value[x], not both (`extension.exists() != value.exists()`)
6. dateTime.value
Definition | The actual value
Short | Primitive value for dateTime
Control | 0..1
Type | dateTime
Is Modifier | false
XML Format | In the XML format, this property is represented as an attribute.
Summary | false