Standard Health Record

StatisticProfile

 

The official URL for this profile is:

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

A quantity that represents a statistic, e.g. maximum, minimum, mean, median, etc.

This profile builds on Quantity.

This profile was published on Wed Aug 22 00:00:00 EDT 2018 as a draft by The MITRE Corporation: Standard Health Record Collaborative.

Summary

Mandatory: 0 element (2 nested mandatory elements)

Extensions

This structure refers to these extensions:

SHR Mapping Source

This structure represents the following SHR mapping definition:

shr.core.Statistic maps to Quantity:
  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
.. Quantity SHR Statistic Profile
... shr-core-StatisticType-extension 1..1CodeableConceptProfileSHR StatisticType Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-StatisticType-extension
Slice: Unordered, Open by value:url
Binding: SHR StatisticTypeVS ValueSet (required)
... value 1..1

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity I0..*SHR Statistic Profile
qty-3: If a code for the unit is present, the system SHALL also be present
... id 0..1stringxml:id (or equivalent in JSON)
... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
... shr-core-StatisticType-extension 1..1CodeableConceptProfileSHR StatisticType Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-StatisticType-extension
Slice: Unordered, Open by value:url
Binding: SHR StatisticTypeVS ValueSet (required)
... 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 (2 nested mandatory elements)

Extensions

This structure refers to these extensions:

SHR Mapping Source

This structure represents the following SHR mapping definition:

shr.core.Statistic maps to Quantity:
  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

Differential View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity SHR Statistic Profile
... shr-core-StatisticType-extension 1..1CodeableConceptProfileSHR StatisticType Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-StatisticType-extension
Slice: Unordered, Open by value:url
Binding: SHR StatisticTypeVS ValueSet (required)
... value 1..1

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Quantity I0..*SHR Statistic Profile
qty-3: If a code for the unit is present, the system SHALL also be present
... id 0..1stringxml:id (or equivalent in JSON)
... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
... shr-core-StatisticType-extension 1..1CodeableConceptProfileSHR StatisticType Extension
URL: http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-StatisticType-extension
Slice: Unordered, Open by value:url
Binding: SHR StatisticTypeVS ValueSet (required)
... 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
Quantity.comparatorQuantityComparatorrequiredQuantityComparator

 

Constraints

IdPathDetailsRequirements
ele-1QuantityAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
qty-3QuantityIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()