hl7ch / ch-rad-order

https://fhir.ch/ig/ch-rad-order/index.html
Creative Commons Zero v1.0 Universal
2 stars 3 forks source link

Change type of item 'previousResults.attachment' (Michaela Ziegler, ahdis ag) #4

Closed ig-feedback closed 2 years ago

ig-feedback commented 3 years ago

ch.fhir.ig.ch-rad-order#0.1.0 /questionnaire.html

The correct type of the item 'previousResults.attachment' would be 'attachment' instead of 'string'. The subdivision into title and data is not necessary, because the data type attachment already includes these posibilities.

Need to be changed in Questionnaire/QuestionnaireResponse and added in StructureMap.

Michaela Ziegler, ahdis ag

ziegm commented 3 years ago

@oliveregger Kannst du das Mapping für die Items previousResults noch ergänzen?

ziegm commented 3 years ago

PR: https://github.com/hl7ch/ch-rad-order/pull/8

oliveregger commented 3 years ago

with the current (not updated questionnaire) the validator gives an error:

Test 1E - 2 Location /Bundle/entry[2]/resource/ofType(QuestionnaireResponse)/item[0]/item[0] Description Items of type group should not have answers

JBleuer commented 2 years ago

Changed to "attachment"; set cardinaltiy to 0..*

JBleuer commented 2 years ago

According to @ziegm changed type from media to attachment; Questionnaire and QR changed (see above) see also #9. @oliveregger: Machst du das Mapping? Question: Media would allow for metadata of the attachment; Attachment as type does not. Metadata would be nice but are not nandatory