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_dateTime

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

DateTime datatype length limited to 29 characters.

Usage:

Formal Views of Profile Content

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

This structure is derived from dateTime

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

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ksa-dateTime-1errordateTimeMust provide a complete date YYYY-MM-DD or DateTime string
: toString().length() = 10 or toString().length() >= 19
NameFlagsCard.TypeDescription & Constraintsdoco
.. dateTime C 0..* dateTime Primitive Type dateTime
ele-1: All FHIR elements must have a @value or children
ksa-dateTime-1: Must provide a complete date YYYY-MM-DD or DateTime string
... value 0..1 dateTime Primitive value for dateTime
Max Length:29

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-dateTime-1errordateTimeMust provide a complete date YYYY-MM-DD or DateTime string
: toString().length() = 10 or toString().length() >= 19
NameFlagsCard.TypeDescription & Constraintsdoco
.. dateTime C 0..* dateTime Primitive Type dateTime
ksa-dateTime-1: Must provide a complete date YYYY-MM-DD or DateTime string
... 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
Max Length:29

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-dateTime-1errordateTimeMust provide a complete date YYYY-MM-DD or DateTime string
: toString().length() = 10 or toString().length() >= 19

This structure is derived from dateTime

Summary

Differential View

This structure is derived from dateTime

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

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ksa-dateTime-1errordateTimeMust provide a complete date YYYY-MM-DD or DateTime string
: toString().length() = 10 or toString().length() >= 19

Key Elements View

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

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-dateTime-1errordateTimeMust provide a complete date YYYY-MM-DD or DateTime string
: toString().length() = 10 or toString().length() >= 19

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. dateTime C 0..* dateTime Primitive Type dateTime
ksa-dateTime-1: Must provide a complete date YYYY-MM-DD or DateTime string
... 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
Max Length:29

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-dateTime-1errordateTimeMust provide a complete date YYYY-MM-DD or DateTime string
: toString().length() = 10 or toString().length() >= 19

This structure is derived from dateTime

Summary

 

Other representations of profile: CSV, Excel, Schematron