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

Official URL: https://www.ehealth.fgov.be/standards/fhir/referral/StructureDefinition/be-year-month-day | Version: 1.0.0
Draft as of 2025-10-10 | Computable Name: BeYearMonthDay

a datetime of length 10 or empty

Usages:

- Use this Primitive Type Profile: BeLatestDraftDate, BeLatestEndDate, BeValidityPeriod and BeReferralTask

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
dateTime | C | 0..* | dateTime | Primitive Type dateTime Constraints: be-inv-year-month-day
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
be-inv-year-month-day | error | dateTime | date SHALL be of format YYYY-MM-DD | `empty() or toString().length()=10`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`

This structure is derived from dateTime

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
dateTime | C | 0..* | dateTime | Primitive Type dateTime Constraints: be-inv-year-month-day
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
be-inv-year-month-day | error | dateTime | date SHALL be of format YYYY-MM-DD | `empty() or toString().length()=10`

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
dateTime | C | 0..* | dateTime | Primitive Type dateTime Constraints: be-inv-year-month-day
id |  | 0..1 | string | xml:id (or equivalent in JSON)
extension |  | 0..* | Extension | Additional content defined by implementations
value |  | 0..1 | dateTime | Primitive value for dateTime
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
be-inv-year-month-day | error | dateTime | date SHALL be of format YYYY-MM-DD | `empty() or toString().length()=10`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from dateTime

Summary

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
dateTime | C | 0..* | dateTime | Primitive Type dateTime Constraints: be-inv-year-month-day
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
be-inv-year-month-day | error | dateTime | date SHALL be of format YYYY-MM-DD | `empty() or toString().length()=10`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`

Differential View

This structure is derived from dateTime

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
dateTime | C | 0..* | dateTime | Primitive Type dateTime Constraints: be-inv-year-month-day
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
be-inv-year-month-day | error | dateTime | date SHALL be of format YYYY-MM-DD | `empty() or toString().length()=10`

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
dateTime | C | 0..* | dateTime | Primitive Type dateTime Constraints: be-inv-year-month-day
id |  | 0..1 | string | xml:id (or equivalent in JSON)
extension |  | 0..* | Extension | Additional content defined by implementations
value |  | 0..1 | dateTime | Primitive value for dateTime
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
be-inv-year-month-day | error | dateTime | date SHALL be of format YYYY-MM-DD | `empty() or toString().length()=10`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from dateTime

Summary

Other representations of profile: CSV, Excel, Schematron