Standard Health Record FHIR Implementation Guide

SHR GeneralizedTemporalContext Extension

 

The official URL for this profile is:

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

A generalized indicator of a dateTime or an age when an event happened.

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 GeneralizedTemporalContext Extension
choice-1: shr-core-GeneralizedTemporalContext-extension SHALL have either extension('generalizeddatetime') or extension('generalizedage') or extension('gestationaltemporalcontext')
... url uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedTemporalContext-extension"
... value[x] 0..0
... shr-core-GeneralizedDateTime-extension 0..1(Complex)SHR GeneralizedDateTime Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedDateTime-extension
... shr-core-GeneralizedAge-extension 0..1(Complex)SHR GeneralizedAge Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedAge-extension
... shr-core-GestationalTemporalContext-extension 0..1(Complex)SHR GestationalTemporalContext Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTemporalContext-extension

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR GeneralizedTemporalContext Extension
choice-1: shr-core-GeneralizedTemporalContext-extension SHALL have either extension('generalizeddatetime') or extension('generalizedage') or extension('gestationaltemporalcontext')
... id 0..1stringxml:id (or equivalent in JSON)
... shr-core-GeneralizedDateTime-extension 0..1(Complex)SHR GeneralizedDateTime Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedDateTime-extension
... shr-core-GeneralizedAge-extension 0..1(Complex)SHR GeneralizedAge Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedAge-extension
... shr-core-GestationalTemporalContext-extension 0..1(Complex)SHR GestationalTemporalContext Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTemporalContext-extension
... url 1..1uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedTemporalContext-extension"

doco Documentation for this format

Differential View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR GeneralizedTemporalContext Extension
choice-1: shr-core-GeneralizedTemporalContext-extension SHALL have either extension('generalizeddatetime') or extension('generalizedage') or extension('gestationaltemporalcontext')
... url uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedTemporalContext-extension"
... value[x] 0..0
... shr-core-GeneralizedDateTime-extension 0..1(Complex)SHR GeneralizedDateTime Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedDateTime-extension
... shr-core-GeneralizedAge-extension 0..1(Complex)SHR GeneralizedAge Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedAge-extension
... shr-core-GestationalTemporalContext-extension 0..1(Complex)SHR GestationalTemporalContext Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTemporalContext-extension

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR GeneralizedTemporalContext Extension
choice-1: shr-core-GeneralizedTemporalContext-extension SHALL have either extension('generalizeddatetime') or extension('generalizedage') or extension('gestationaltemporalcontext')
... id 0..1stringxml:id (or equivalent in JSON)
... shr-core-GeneralizedDateTime-extension 0..1(Complex)SHR GeneralizedDateTime Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedDateTime-extension
... shr-core-GeneralizedAge-extension 0..1(Complex)SHR GeneralizedAge Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedAge-extension
... shr-core-GestationalTemporalContext-extension 0..1(Complex)SHR GestationalTemporalContext Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTemporalContext-extension
... url 1..1uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedTemporalContext-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-GeneralizedTemporalContext-extension SHALL have either extension('generalizeddatetime') or extension('generalizedage') or extension('gestationaltemporalcontext')
: ( extension('generalizeddatetime').url | extension('generalizedage').url | extension('gestationaltemporalcontext').url ).distinct().count() == 1