Standard Health Record

RatioProfile

 

The official URL for this profile is:

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

A unit of measurement for the quotient of the amount of one entity to another.

This profile builds on Ratio.

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)

Structures

This structure refers to these other structures:

SHR Mapping Source

This structure represents the following SHR mapping definition:

shr.core.Ratio maps to Ratio:
  Numerator maps to numerator
  Denominator maps to denominator

NameFlagsCard.TypeDescription & Constraintsdoco
.. Ratio I0..*SHR Ratio Profile
rat-1: Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
... id 0..1stringxml:id (or equivalent in JSON)
... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
... numerator Σ1..1QuantityProfileNumerator value
... denominator Σ1..1QuantityProfileDenominator value

doco Documentation for this format

Summary

Mandatory: 0 element (2 nested mandatory elements)

Structures

This structure refers to these other structures:

SHR Mapping Source

This structure represents the following SHR mapping definition:

shr.core.Ratio maps to Ratio:
  Numerator maps to numerator
  Denominator maps to denominator

Differential View

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Ratio I0..*SHR Ratio Profile
rat-1: Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
... id 0..1stringxml:id (or equivalent in JSON)
... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
... numerator Σ1..1QuantityProfileNumerator value
... denominator Σ1..1QuantityProfileDenominator value

doco Documentation for this format

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

 

 

Constraints

IdPathDetailsRequirements
ele-1RatioAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
rat-1RatioNumerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present
: (numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())