CH ORF (R4)
3.0.0-ci-build - ci-build Switzerland flag

CH ORF (R4), published by HL7 Switzerland. This guide is not an authorized publication; it is the continuous build for version 3.0.0-ci-build built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7ch/ch-orf/ and changes regularly. See the Directory of published versions

Form Data Extraction

SDC Form Data Extraction

Data Extraction describes how to design questionnaires to support converting completed forms into a FHIR resource or Bundle of FHIR resources for subsequent analysis. See also the SDC specification here.

CH ORF Data Extraction

An ORF document is a FHIR document (bundle) that contains the results of a filled in Questionnaire (QuestionnaireResponse Resource) together with the structured resources which map all information filled in the questionnaire. For ORF all data available in QuestionnaireResponse items have a representation in FHIR resource data elements (e.g a questionnaire response item for the gender of the patient is mapped to Patient.gender).

To support this extraction, the ORF guide supports StructureMap-based extraction. The ORF Implementation Guide provides a StructureMap which maps all fields in the ORF Questionnaire. To extract data from the completed QuestionnaireResponse, the StructureMap needs to be invoked. This can be done by invoking the Extract operation that takes a completed QuestionnaireResponse and converts it to a Bundle of resources by using metadata embedded in the Questionnaire the QuestionnaireResponse is based on.

Derived Implementation Guides should provide further maps that the clinical data from entries can be mapped to FHIR resource data elements.

Another data extraction approach defined by SDC is definition based extraction support. This is not yet supported directly by the ORF Questionnaire directly due to limitations of creating a Bundle with references between resources, however if that capability is added it will be also included as another option for a future version, see open issues.