Open Rosnyni opened 1 year ago
filling the unit field of an integer item
leads to the following json :
{ "item": [ { "type": "integer", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", "valueCoding": { "system": "http://unitsofmeasure.org", "code": "g/L", "display": "gram per liter" } } ], "linkId": "2603837273225", "text": "New item 1" } ], "resourceType": "Questionnaire", "title": "New Form", "status": "draft" }
And it is good.
However, deleting the content of the units field :
{ "item": [ { "type": "integer", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", "valueCoding": { "system": "http://unitsofmeasure.org", "code": "g/L", "display": "gram per liter" } }, { "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit" } ], "linkId": "2603837273225", "text": "New item 1" } ], "resourceType": "Questionnaire", "title": "New Form", "status": "draft" }
Which is not good I think.
Confirmed. Thanks for this report.
filling the unit field of an integer item
leads to the following json :
And it is good.
However, deleting the content of the units field :
leads to the following json :
Which is not good I think.