Healthcare Financial Services IG Edition 1
0.4.0 - STU-Ballot with Updates Saudi Arabia flag

Healthcare Financial Services IG Edition 1 - Local Development build (v0.4.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Data Type Profile: DP_Ratio

Official URL: http://nphies.sa/fhir/ksa/nphies-fs/StructureDefinition/DP-Ratio Version: 0.4.0
Draft as of 2025-10-12 Computable Name: DP_Ratio

A ratio requiring both numerator and demoninator.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Ratio C 0..* Ratio A ratio of two Quantity values - a numerator and a denominator
Constraints: rat-1
... numerator Σ 1..1 DP_Quantity_1 Numerator value
... denominator Σ 1..1 DP_Quantity_1 Denominator value

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
rat-1 error Ratio Numerator 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())

This structure is derived from Ratio

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Ratio Ratio
... numerator 1..1 DP_Quantity_1 Numerator value
... denominator 1..1 DP_Quantity_1 Denominator value

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Ratio C 0..* Ratio A ratio of two Quantity values - a numerator and a denominator
Constraints: rat-1
... id 0..1 string Unique id for inter-element referencing
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... numerator Σ 1..1 DP_Quantity_1 Numerator value

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
rat-1 error Ratio Numerator 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())

This structure is derived from Ratio

Summary

Mandatory: 2 elements

Structures

This structure refers to these other structures:

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Ratio C 0..* Ratio A ratio of two Quantity values - a numerator and a denominator
Constraints: rat-1
... numerator Σ 1..1 DP_Quantity_1 Numerator value
... denominator Σ 1..1 DP_Quantity_1 Denominator value

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
rat-1 error Ratio Numerator 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())

Differential View

This structure is derived from Ratio

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Ratio Ratio
... numerator 1..1 DP_Quantity_1 Numerator value
... denominator 1..1 DP_Quantity_1 Denominator value

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Ratio C 0..* Ratio A ratio of two Quantity values - a numerator and a denominator
Constraints: rat-1
... id 0..1 string Unique id for inter-element referencing
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... numerator Σ 1..1 DP_Quantity_1 Numerator value

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
rat-1 error Ratio Numerator 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())

This structure is derived from Ratio

Summary

Mandatory: 2 elements

Structures

This structure refers to these other structures:

 

Other representations of profile: CSV, Excel, Schematron