I'm trying to use fhir python class to manage questionnaires.
The idea is to make automated papers forms to enhance physicians reporting and with OMR and OCR to populate fhir ressources.
Questionnaire HAS to be able to manage multiple choice and free entries = list with exception
I tried with https://lhcformbuilder.nlm.nih.gov/ , to start with already approved questionnaire (ex : Major Procedures (Diagnostic, Surgical, and Therapeutic Interventions) [52466-0] )
Then i export as json and used this code :
import json
import fhirclient.models as m
with open('./form.json', 'r') as h:
qjs = json.load(h)
ques = m.questionnaire.Questionnaire(qjs)
items = ques.item[0]`
Hello,
I'm trying to use fhir python class to manage questionnaires.
The idea is to make automated papers forms to enhance physicians reporting and with OMR and OCR to populate fhir ressources.
Questionnaire HAS to be able to manage multiple choice and free entries = list with exception
I tried with https://lhcformbuilder.nlm.nih.gov/ , to start with already approved questionnaire (ex : Major Procedures (Diagnostic, Surgical, and Therapeutic Interventions) [52466-0] )
Then i export as json and used this code :
import
json import fhirclient.models as mwith open('./form.json', 'r') as h: qjs = json.load(h) ques = m.questionnaire.Questionnaire(qjs) items = ques.item[0]`
that gives me :
FHIRValidationError Traceback (most recent call last)