Standard Health Record FHIR Implementation Guide

SHR GestationalTemporalContext Extension

 

The official URL for this profile is:

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

A named gestational time period, or a gestational age.

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 GestationalTemporalContext Extension
choice-1: shr-core-GestationalTemporalContext-extension SHALL have either extension('gestationalage') or extension('gestationaltimeperiod')
... url uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTemporalContext-extension"
... value[x] 0..0
... shr-core-GestationalAge-extension 0..1Reference(SHR GestationalAge Profile)SHR GestationalAge Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalAge-extension
... shr-core-GestationalTimePeriod-extension 0..1CodeableConceptSHR GestationalTimePeriod Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTimePeriod-extension

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR GestationalTemporalContext Extension
choice-1: shr-core-GestationalTemporalContext-extension SHALL have either extension('gestationalage') or extension('gestationaltimeperiod')
... id 0..1stringxml:id (or equivalent in JSON)
... shr-core-GestationalAge-extension 0..1Reference(SHR GestationalAge Profile)SHR GestationalAge Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalAge-extension
... shr-core-GestationalTimePeriod-extension 0..1CodeableConceptSHR GestationalTimePeriod Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTimePeriod-extension
... url 1..1uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTemporalContext-extension"

doco Documentation for this format

Differential View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR GestationalTemporalContext Extension
choice-1: shr-core-GestationalTemporalContext-extension SHALL have either extension('gestationalage') or extension('gestationaltimeperiod')
... url uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTemporalContext-extension"
... value[x] 0..0
... shr-core-GestationalAge-extension 0..1Reference(SHR GestationalAge Profile)SHR GestationalAge Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalAge-extension
... shr-core-GestationalTimePeriod-extension 0..1CodeableConceptSHR GestationalTimePeriod Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTimePeriod-extension

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR GestationalTemporalContext Extension
choice-1: shr-core-GestationalTemporalContext-extension SHALL have either extension('gestationalage') or extension('gestationaltimeperiod')
... id 0..1stringxml:id (or equivalent in JSON)
... shr-core-GestationalAge-extension 0..1Reference(SHR GestationalAge Profile)SHR GestationalAge Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalAge-extension
... shr-core-GestationalTimePeriod-extension 0..1CodeableConceptSHR GestationalTimePeriod Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTimePeriod-extension
... url 1..1uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTemporalContext-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-GestationalTemporalContext-extension SHALL have either extension('gestationalage') or extension('gestationaltimeperiod')
: ( extension('gestationalage').url | extension('gestationaltimeperiod').url ).distinct().count() == 1