Structured Data Capture
3.0.0 - STU 3 International flag

Structured Data Capture, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 3.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/sdc/ and changes regularly. See the Directory of published versions

Example Questionnaire: SDC Test Form - Source Query

Page standards status: Informative
LinkIdTextCardinalityTypeDescription & Constraintsdoco
.. FhirPathPrepopSourceQueryFhirPath based prepopulation example that leverages a source query to extract data outside the launch contextQuestionnairehttp://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-test-fhirpath-prepop-source-query#3.0.0
... grpnull0..1group
.... part-detailsParticipant details0..1group
..... participant-idParticipant ID number0..1string
..... family-nameFamily name0..1stringExpressions:
..... given-namesGiven name(s)0..1stringExpressions:
..... dobDate of birth0..1dateExpressions:
..... condition-countNumber of active Conditions0..1integerExpressions:
.... medsMedications0..*group
..... med-nameName0..1stringExpressions:
  • Initial Value: %mrItem.medication.select(iif(text.exists(), text, coding.display.first()))
..... med-statusStatus0..1stringExpressions:
..... med-categoryStandard Category0..*choiceValue Set: Medication request category codes
Expressions:
  • Initial Value: %mrItem.category.coding.where(system='http://terminology.hl7.org/CodeSystem/medicationrequest-category').code

doco Documentation for this format