nazrulworld / fhir.resources

FHIR Resources https://www.hl7.org/fhir/resourcelist.html
https://pypi.org/project/fhir.resources/
Other
365 stars 104 forks source link

Issues with Questionnaire and QuestionnaireResponse #103

Closed wowkin2 closed 2 years ago

wowkin2 commented 2 years ago

fhir.resources version: 6.2.2 Python version: 3.7.12 Operating System: Ubuntu

Description

Found few issues with these entities:

  1. Questionnaire.item.answerConstraint is present in FHIR Documentation, but missing in fhir.resources. So it is not possbile to specify optionsOnly | optionsOrType | optionsOrString
  2. QuestionnaireResponse.identifier is usually a List type (even for Questionnaire) and as also in FHIR Docs

Are these a bug? Can I make a PR with correct or was these types generated from somewhere?

nazrulworld commented 2 years ago

@wowkin2 thanks a lot for your kind interest. I believe your referred specifications are based on FHIR version R5 (draft ballot) not part of STU3 or R4. The R5 version will be supported as soon as a stable version is released.

wowkin2 commented 2 years ago

@nazrulworld is there a Github branch already for R5, so it can be used for these fields?

nazrulworld commented 2 years ago

Unfortunately, we don’t have any branch for R5 and no development started yet.