Skip to content

Dose as SimpleQuantity #1695

Answered by marcovisserFurore
rdbossjr asked this question in Q&A
Discussion options

You must be logged in to vote

Hi David,

SimpleQuantity is actually not a datatype but a profile on Quantity. This is also stated in the FHIR standard: https://www.hl7.org/fhir/STU3/datatypes.html#SimpleQuantity.

In Firely SDK version <= 1.9 this was not correctly implemented. For version 2.0 and higher this has been revised. So the datatype of dosageInstruction.Dose is Quantity and has profile SimpleQuantity. Which means that the datatype has been constraint. In this case a comparator is not allowed on Quantity.

Profiles are not generated as Poco, that is why you won't find SimpleQuantity anymore in the code.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by marcovisserFurore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants