Structured Data Capture, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 4.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
| Official URL: http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-test-fhirpath-prepop-source-query | Version: 4.0.0 | |||
| Standards status: Informative Active as of 2025-10-22 | Computable Name: FhirPathPrepopSourceQuery | |||
| Other Identifiers: OID:2.16.840.1.113883.4.642.40.17.35.23 | ||||
FhirPath based prepopulation example that leverages a source query to extract data outside the launch context
| LinkID | Text | Cardinality | Type | Description & Constraints![]()  | 
|---|---|---|---|---|
![]()  | 
FhirPath based prepopulation example that leverages a source query to extract data outside the launch context | Questionnaire | http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-test-fhirpath-prepop-source-query#4.0.0 | |
![]() ![]()  | 
null | 0..1 | group | |
![]() ![]() ![]()  | 
Participant details | 0..1 | group | |
![]() ![]() ![]() ![]()  | 
Participant ID number | 0..1 | string | |
![]() ![]() ![]() ![]()  | 
Family name | 0..1 | string | |
![]() ![]() ![]() ![]()  | 
Given name(s) | 0..1 | string | |
![]() ![]() ![]() ![]()  | 
Date of birth | 0..1 | date | |
![]() ![]() ![]() ![]()  | 
Number of active Conditions | 0..1 | integer | |
![]() ![]() ![]()  | 
Medications | 0..* | group | |
![]() ![]() ![]() ![]()  | 
Name | 0..1 | string | |
![]() ![]() ![]() ![]()  | 
Status | 0..1 | string | |
![]() ![]() ![]() ![]()  | 
Standard Category | 0..* | choice | Value Set: Medication request category codes | 
  Documentation for this format | ||||
Bundle PrePopQuery of type batch
Entry 1 - fullUrl = urn:uuid:43c8e58d-099f-425c-a219-564266a518dc
Request:
GET Patient?_id={{%37patient.id}}
 Entry 2 - fullUrl = urn:uuid:88f151c0-a954-468a-88bd-5ae15c08e059
Request:
GET Condition?patient={{%37patient.id}}&active=true
 Entry 3 - fullUrl = urn:uuid:88f151c0-a954-468a-88bd-5ae15c08e060
Request:
GET MedicationStatement?patient={{%37patient.id}}&active=true&_include=MedicationStatement:medication
Participant details
Participant ID number
Family name
Given name(s)
Date of birth
Number of active Conditions
Medications
Name
Status
Standard Category
Bundle PrePopQuery of type batch
Entry 1 - fullUrl = urn:uuid:43c8e58d-099f-425c-a219-564266a518dc
Request:
GET Patient?_id={{%37patient.id}}
Entry 2 - fullUrl = urn:uuid:88f151c0-a954-468a-88bd-5ae15c08e059
Request:
GET Condition?patient={{%37patient.id}}&active=true
Entry 3 - fullUrl = urn:uuid:88f151c0-a954-468a-88bd-5ae15c08e060
Request:
GET MedicationStatement?patient={{%37patient.id}}&active=true&_include=MedicationStatement:medication
| LinkID | Description & Constraints![]()  | 
|---|---|
![]()  | 
|
![]() ![]()  | 
|
![]() ![]() ![]()  | 
|
![]() ![]() ![]()  | 
|
![]() ![]() ![]()  | 
|
![]() ![]() ![]()  | 
|
![]() ![]() ![]()  | 
|
![]() ![]()  | 
|
![]() ![]() ![]()  | 
|
![]() ![]() ![]()  | 
|
![]() ![]() ![]()  | 
Value Set: Medication request category codes | 
  Documentation for this format | |
Bundle PrePopQuery of type batch
Entry 1 - fullUrl = urn:uuid:43c8e58d-099f-425c-a219-564266a518dc
Request:
GET Patient?_id={{%37patient.id}}
Entry 2 - fullUrl = urn:uuid:88f151c0-a954-468a-88bd-5ae15c08e059
Request:
GET Condition?patient={{%37patient.id}}&active=true
Entry 3 - fullUrl = urn:uuid:88f151c0-a954-468a-88bd-5ae15c08e060
Request:
GET MedicationStatement?patient={{%37patient.id}}&active=true&_include=MedicationStatement:medication
Try this questionnaire out:
Bundle PrePopQuery of type batch
Entry 1 - fullUrl = urn:uuid:43c8e58d-099f-425c-a219-564266a518dc
Request:
GET Patient?_id={{%37patient.id}}
Entry 2 - fullUrl = urn:uuid:88f151c0-a954-468a-88bd-5ae15c08e059
Request:
GET Condition?patient={{%37patient.id}}&active=true
Entry 3 - fullUrl = urn:uuid:88f151c0-a954-468a-88bd-5ae15c08e060
Request:
GET MedicationStatement?patient={{%37patient.id}}&active=true&_include=MedicationStatement:medication