There is an item with extension with value in aidbox format
"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption", "value": {"Coding": {"display": "F"}}}]}]
But requesting trough with no $assemble operation /fhir/Questionnaire/4e3ca838-f83b-4489-a5c9-c782824d672d returns:
{"subjectType":["Patient"],"meta":{"profile":["https://beda.software/beda-emr-questionnaire"],"lastUpdated":"2024-08-13T11:47:15.853563Z","versionId":"437","extension":[{"url":"ex:createdAt","valueInstant":"2024-08-12T08:07:33.956211Z"}]},"item":[{"text":"Quantity Input","type":"quantity","linkId":"pyxzJPuJ","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption","valueCoding":{"display":"F"}}]}],"resourceType":"Questionnaire","title":"New form","status":"draft","id":"4e3ca838-f83b-4489-a5c9-c782824d672d","url":"http://forms.aidbox.io/questionnaire/new-form"}
Result with an extension in fhir format
"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption","valueCoding":{"display":"F"}}]}]
Here is a questionnaire:
By requesting it trough /fhir/Questionnaire/4e3ca838-f83b-4489-a5c9-c782824d672d/$assemble it returns
{"url": "http://forms.aidbox.io/questionnaire/new-form", "item": [{"text": "Quantity Input", "type": "quantity", "linkId": "pyxzJPuJ", "extension": [{"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption", "value": {"Coding": {"display": "F"}}}]}], "meta": {"profile": ["https://beda.software/beda-emr-questionnaire"], "lastUpdated": "2024-08-13T11:47:15.853563Z", "versionId": "437", "extension": [{"url": "ex:createdAt", "valueInstant": "2024-08-12T08:07:33.956211Z"}]}, "title": "New form", "status": "draft", "subjectType": ["Patient"], "resourceType": "Questionnaire", "extension": [{"url": "https://jira.hl7.org/browse/FHIR-22356#assembledFrom", "valueCanonical": "4e3ca838-f83b-4489-a5c9-c782824d672d"}]}
There is an item with extension with value in aidbox format
"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption", "value": {"Coding": {"display": "F"}}}]}]
But requesting trough with no $assemble operation /fhir/Questionnaire/4e3ca838-f83b-4489-a5c9-c782824d672d returns:
{"subjectType":["Patient"],"meta":{"profile":["https://beda.software/beda-emr-questionnaire"],"lastUpdated":"2024-08-13T11:47:15.853563Z","versionId":"437","extension":[{"url":"ex:createdAt","valueInstant":"2024-08-12T08:07:33.956211Z"}]},"item":[{"text":"Quantity Input","type":"quantity","linkId":"pyxzJPuJ","extension":[{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption","valueCoding":{"display":"F"}}]}],"resourceType":"Questionnaire","title":"New form","status":"draft","id":"4e3ca838-f83b-4489-a5c9-c782824d672d","url":"http://forms.aidbox.io/questionnaire/new-form"}
Result with an extension in fhir format
"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption","valueCoding":{"display":"F"}}]}]
Uses: image: healthsamurai/aidboxone:stable