Healthcare Financial Services IG Edition 1
0.3.0 - ci-build Saudi Arabia flag

Healthcare Financial Services IG Edition 1 - Local Development build (v0.3.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Data Type Profile: DP_date

Official URL: http://nphies.sa/fhir/ksa/nphies-fs/StructureDefinition/DP-date Version: 0.3.0
Draft as of 2025-06-23 Computable Name: DP_date

A date which must be a complete date (YYYY-MM-DD).

Usage:

Formal Views of Profile Content

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

This structure is derived from date

NameFlagsCard.TypeDescription & Constraintsdoco
.. date C 0..* date Primitive Type date
ksa-date-1: Must provide a complete date YYYY-MM-DD
... value 0..1 date Primitive value for date
Max Length:10

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ksa-date-1errordateMust provide a complete date YYYY-MM-DD
: toString().matches('([0-9][0-9][0-9][0-9])-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])')
NameFlagsCard.TypeDescription & Constraintsdoco
.. date C 0..* date Primitive Type date
ele-1: All FHIR elements must have a @value or children
ksa-date-1: Must provide a complete date YYYY-MM-DD
... value 0..1 date Primitive value for date
Max Length:10

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ksa-date-1errordateMust provide a complete date YYYY-MM-DD
: toString().matches('([0-9][0-9][0-9][0-9])-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])')
NameFlagsCard.TypeDescription & Constraintsdoco
.. date C 0..* date Primitive Type date
ksa-date-1: Must provide a complete date YYYY-MM-DD
... id 0..1 string xml:id (or equivalent in JSON)
... extension 0..* Extension Additional content defined by implementations
... value 0..1 date Primitive value for date
Max Length:10

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ksa-date-1errordateMust provide a complete date YYYY-MM-DD
: toString().matches('([0-9][0-9][0-9][0-9])-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])')

This structure is derived from date

Summary

Differential View

This structure is derived from date

NameFlagsCard.TypeDescription & Constraintsdoco
.. date C 0..* date Primitive Type date
ksa-date-1: Must provide a complete date YYYY-MM-DD
... value 0..1 date Primitive value for date
Max Length:10

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ksa-date-1errordateMust provide a complete date YYYY-MM-DD
: toString().matches('([0-9][0-9][0-9][0-9])-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])')

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. date C 0..* date Primitive Type date
ele-1: All FHIR elements must have a @value or children
ksa-date-1: Must provide a complete date YYYY-MM-DD
... value 0..1 date Primitive value for date
Max Length:10

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ksa-date-1errordateMust provide a complete date YYYY-MM-DD
: toString().matches('([0-9][0-9][0-9][0-9])-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])')

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. date C 0..* date Primitive Type date
ksa-date-1: Must provide a complete date YYYY-MM-DD
... id 0..1 string xml:id (or equivalent in JSON)
... extension 0..* Extension Additional content defined by implementations
... value 0..1 date Primitive value for date
Max Length:10

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ksa-date-1errordateMust provide a complete date YYYY-MM-DD
: toString().matches('([0-9][0-9][0-9][0-9])-(1[0-2]|0[1-9])-(3[01]|[12][0-9]|0[1-9])')

This structure is derived from date

Summary

 

Other representations of profile: CSV, Excel, Schematron