Standard Health Record FHIR Implementation Guide

SHR GeneralizedAge Extension

 

The official URL for this profile is:

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

Qualitative or quantitative, exact or inexact description of 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 GeneralizedAge Extension
choice-1: shr-core-GeneralizedAge-extension SHALL have either extension('age') or extension('agerange') or extension('agegroup')
... url uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedAge-extension"
... value[x] 0..0
... shr-core-Age-extension 0..1Reference(SHR Age Profile)SHR Age Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Age-extension
... shr-core-AgeRange-extension 0..1(Complex)SHR AgeRange Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-AgeRange-extension
... shr-core-AgeGroup-extension 0..1CodeableConceptSHR AgeGroup Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-AgeGroup-extension
Binding: SHR AgeGroupVS ValueSet (required)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR GeneralizedAge Extension
choice-1: shr-core-GeneralizedAge-extension SHALL have either extension('age') or extension('agerange') or extension('agegroup')
... id 0..1stringxml:id (or equivalent in JSON)
... shr-core-Age-extension 0..1Reference(SHR Age Profile)SHR Age Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Age-extension
... shr-core-AgeRange-extension 0..1(Complex)SHR AgeRange Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-AgeRange-extension
... shr-core-AgeGroup-extension 0..1CodeableConceptSHR AgeGroup Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-AgeGroup-extension
Binding: SHR AgeGroupVS ValueSet (required)
... url 1..1uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedAge-extension"

doco Documentation for this format

Differential View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR GeneralizedAge Extension
choice-1: shr-core-GeneralizedAge-extension SHALL have either extension('age') or extension('agerange') or extension('agegroup')
... url uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedAge-extension"
... value[x] 0..0
... shr-core-Age-extension 0..1Reference(SHR Age Profile)SHR Age Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Age-extension
... shr-core-AgeRange-extension 0..1(Complex)SHR AgeRange Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-AgeRange-extension
... shr-core-AgeGroup-extension 0..1CodeableConceptSHR AgeGroup Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-AgeGroup-extension
Binding: SHR AgeGroupVS ValueSet (required)

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*SHR GeneralizedAge Extension
choice-1: shr-core-GeneralizedAge-extension SHALL have either extension('age') or extension('agerange') or extension('agegroup')
... id 0..1stringxml:id (or equivalent in JSON)
... shr-core-Age-extension 0..1Reference(SHR Age Profile)SHR Age Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Age-extension
... shr-core-AgeRange-extension 0..1(Complex)SHR AgeRange Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-AgeRange-extension
... shr-core-AgeGroup-extension 0..1CodeableConceptSHR AgeGroup Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-AgeGroup-extension
Binding: SHR AgeGroupVS ValueSet (required)
... url 1..1uri"http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedAge-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-GeneralizedAge-extension SHALL have either extension('age') or extension('agerange') or extension('agegroup')
: ( extension('age').url | extension('agerange').url | extension('agegroup').url ).distinct().count() == 1