Standard Health Record FHIR Implementation Guide

SHR Ratio Profile

 

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 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.

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)
... numerator Σ1..1SHR Quantity ProfileNumerator value
... denominator Σ1..1SHR Quantity ProfileDenominator 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

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)
... numerator Σ1..1SHR Quantity ProfileNumerator value
... denominator Σ1..1SHR Quantity ProfileDenominator 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())