Standard Health Record FHIR Implementation Guide

SHR GeneralizedDateTime Extension

 

The official URL for this profile is:

http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedDateTime-extension

A point in time, specified qualitatively or quantitatively.

This profile builds on Extension.

This profile was published on Tue Feb 27 00:00:00 EST 2018 as a draft by The MITRE Corporation: Standard Health Record Collaborative.

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR GeneralizedDateTime Extension
choice-1: shr-core-GeneralizedDateTime-extension SHALL have either extension('datetime') or extension('timeperiod') or extension('qualitativedatetime')
... url uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedDateTime-extension"
... value[x] 0..0
... primitive-dateTime-extension 0..1dateTimedateTime
URL: http://standardhealthrecord.org/fhir/StructureDefinition/primitive-dateTime-extension
... shr-core-TimePeriod-extension 0..1PeriodSHR TimePeriod Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod-extension
... shr-core-QualitativeDateTime-extension 0..1CodeableConceptSHR QualitativeDateTime Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-QualitativeDateTime-extension
Binding: SHR QualitativeDateTimeVS ValueSet (required)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR GeneralizedDateTime Extension
choice-1: shr-core-GeneralizedDateTime-extension SHALL have either extension('datetime') or extension('timeperiod') or extension('qualitativedatetime')
... id 0..1stringxml:id (or equivalent in JSON)
... primitive-dateTime-extension 0..1dateTimedateTime
URL: http://standardhealthrecord.org/fhir/StructureDefinition/primitive-dateTime-extension
... shr-core-TimePeriod-extension 0..1PeriodSHR TimePeriod Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod-extension
... shr-core-QualitativeDateTime-extension 0..1CodeableConceptSHR QualitativeDateTime Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-QualitativeDateTime-extension
Binding: SHR QualitativeDateTimeVS ValueSet (required)
... url 1..1uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedDateTime-extension"

doco Documentation for this format

Differential View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR GeneralizedDateTime Extension
choice-1: shr-core-GeneralizedDateTime-extension SHALL have either extension('datetime') or extension('timeperiod') or extension('qualitativedatetime')
... url uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedDateTime-extension"
... value[x] 0..0
... primitive-dateTime-extension 0..1dateTimedateTime
URL: http://standardhealthrecord.org/fhir/StructureDefinition/primitive-dateTime-extension
... shr-core-TimePeriod-extension 0..1PeriodSHR TimePeriod Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod-extension
... shr-core-QualitativeDateTime-extension 0..1CodeableConceptSHR QualitativeDateTime Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-QualitativeDateTime-extension
Binding: SHR QualitativeDateTimeVS ValueSet (required)

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR GeneralizedDateTime Extension
choice-1: shr-core-GeneralizedDateTime-extension SHALL have either extension('datetime') or extension('timeperiod') or extension('qualitativedatetime')
... id 0..1stringxml:id (or equivalent in JSON)
... primitive-dateTime-extension 0..1dateTimedateTime
URL: http://standardhealthrecord.org/fhir/StructureDefinition/primitive-dateTime-extension
... shr-core-TimePeriod-extension 0..1PeriodSHR TimePeriod Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod-extension
... shr-core-QualitativeDateTime-extension 0..1CodeableConceptSHR QualitativeDateTime Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-QualitativeDateTime-extension
Binding: SHR QualitativeDateTimeVS ValueSet (required)
... url 1..1uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedDateTime-extension"

doco Documentation for this format

Downloads: StructureDefinition: (XML, JSON, TTL), Schema: XML Schematron

 

 

Constraints

IdPathDetailsRequirements
ele-1ExtensionAll FHIR elements must have a @value or children
: children().count() > id.count()
ext-1ExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
choice-1Extensionshr-core-GeneralizedDateTime-extension SHALL have either extension('datetime') or extension('timeperiod') or extension('qualitativedatetime')
: ( extension('datetime').url | extension('timeperiod').url | extension('qualitativedatetime').url ).distinct().count() == 1