CH ORF (R4)
3.0.0-ballot - ballot Switzerland flag

This page is part of the CH ORF (R4) (v3.0.0-ballot: STU 3 Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, 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.