Standard Health Record

MoneyProfile

 

The official URL for this profile is:

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

Representation of an amount of currency or monetary value.

This profile builds on Money.

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 (1 nested mandatory element)

SHR Mapping Source

This structure represents the following SHR mapping definition:

shr.core.Money maps to Money:
  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
.. Money I0..*SHR Money Profile
mny-1: There SHALL be a code if there is a value and it SHALL be an expression of currency. If system is present, it SHALL be ISO 4217 (system = "urn:iso:std:iso:4217" - currency).
... id 0..1stringxml:id (or equivalent in JSON)
... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
... 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.Money maps to Money:
  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

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Money I0..*SHR Money Profile
mny-1: There SHALL be a code if there is a value and it SHALL be an expression of currency. If system is present, it SHALL be ISO 4217 (system = "urn:iso:std:iso:4217" - currency).
... id 0..1stringxml:id (or equivalent in JSON)
... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
... 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
Money.comparatorQuantityComparatorrequiredQuantityComparator

 

Constraints

IdPathDetailsRequirements
qty-3MoneyIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
mny-1MoneyThere SHALL be a code if there is a value and it SHALL be an expression of currency. If system is present, it SHALL be ISO 4217 (system = "urn:iso:std:iso:4217" - currency).
: (code or value.empty()) and (system.empty() or system = 'urn:iso:std:iso:4217')