Standard Health Record FHIR Implementation Guide

SHR Age Profile

 

The official URL for this profile is:

http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Age

How long something has existed in time.

This profile builds on Age.

This profile was published on Wed Dec 20 00:00:00 EST 2017 as a draft by The MITRE Corporation: Standard Health Record Collaborative.

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

Summary

Mandatory: 0 element (1 nested mandatory element)

SHR Mapping Source

This structure represents the following SHR mapping definition:

shr.core.Age maps to Age:
  decimal maps to value
  Units.Coding.code maps to code
  Units.Coding.CodeSystem maps to system
  Units.Coding.DisplayText maps to unit
  Comparator maps to comparator

NameFlagsCard.TypeDescription & Constraintsdoco
.. Age I0..*SHR Age Profile
age-1: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. If value is present, it SHALL be positive.
... id 0..1stringxml:id (or equivalent in JSON)
... value Σ1..1decimalNumerical value (with implicit precision)
... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required)
... unit Σ0..1stringUnit representation
... system ΣI0..1uriSystem that defines coded unit form
... code Σ0..1codeCoded form of the unit

doco Documentation for this format

Summary

Mandatory: 0 element (1 nested mandatory element)

SHR Mapping Source

This structure represents the following SHR mapping definition:

shr.core.Age maps to Age:
  decimal maps to value
  Units.Coding.code maps to code
  Units.Coding.CodeSystem maps to system
  Units.Coding.DisplayText maps to unit
  Comparator maps to comparator

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Age I0..*SHR Age Profile
age-1: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. If value is present, it SHALL be positive.
... id 0..1stringxml:id (or equivalent in JSON)
... value Σ1..1decimalNumerical value (with implicit precision)
... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required)
... unit Σ0..1stringUnit representation
... system ΣI0..1uriSystem that defines coded unit form
... code Σ0..1codeCoded form of the unit

doco Documentation for this format

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

 

Terminology Bindings

PathNameConformanceValueSet
Age.comparatorQuantityComparatorrequiredQuantityComparator

 

Constraints

IdPathDetailsRequirements
qty-3AgeIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
age-1AgeThere SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. If value is present, it SHALL be positive.
: (code or value.empty()) and (system.empty() or system = %ucum) and (value.empty() or value > 0)