Open leofu151 opened 5 months ago
I figured out you can set the unit using mb-context
like this
<mb-context path="valueQuantity.unit" bind="mmHg" />
<mb-context path="valueQuantity.system" bind="http://unitsofmeasure.org" />
<mb-context path="valueQuantity.code" bind="mm[Hg]" />
But it seems only work because valueQuantity
was referenced in mb-input
. The same mechanism wouldn't work for subject.
I created a
mb-fhir-form
to submit blood pressure FHIR observation. Although it works I am not sure how to specify the subject and value unit as described below.Subject
FHIR example
Here is the code to specify the subject reference using
mb-context
but doesn't seem to have any effect:Quantity
FHIR example
Here is how I setup quantity
and that maps to this
How can I set the unit, system and code?