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/extract-complex-template2 | Version: 4.0.0 | |||
| Standards status: Informative Draft as of 2025-10-22 | Computable Name: SDCQuestionnaireExtrTemplate | |||
| Other Identifiers: OID:2.16.840.1.113883.4.642.40.17.35.35 | ||||
Example Questionnaire demonstrating extraction using the template approach
Profile: Extractable Questionnaire - Template
| LinkID | Text | Cardinality | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() |
Example Questionnaire demonstrating extraction using the template approach | Questionnaire | http://hl7.org/fhir/uv/sdc/Questionnaire/extract-complex-template2#4.0.0 | |
![]() ![]() |
Patient Information | 0..1 | group | |
![]() ![]() ![]() |
Name | 0..* | group | |
![]() ![]() ![]() ![]() |
Given Name(s) | 0..* | string | |
![]() ![]() ![]() ![]() |
Family/Surname | 0..1 | string | |
![]() ![]() ![]() |
Gender | 0..1 | choice | Value Set: AdministrativeGender |
![]() ![]() ![]() |
Date of Birth | 0..1 | date | |
![]() ![]() ![]() |
National Identifier (IHI) | 0..1 | string | |
![]() ![]() ![]() |
Mobile Phone number | 0..1 | string | |
![]() ![]() |
Contacts | 0..* | group | |
![]() ![]() ![]() |
Name | 0..1 | string | |
![]() ![]() ![]() |
Relationship | 0..1 | choice | Value Set: Patient Contact Relationship |
![]() ![]() ![]() |
Phone | 0..1 | string | |
![]() ![]() |
Observations | 0..1 | group | |
![]() ![]() ![]() |
What is your current height (m) | 0..1 | decimal | |
![]() ![]() ![]() |
What is your current weight (kg) | 0..1 | decimal | |
![]() ![]() ![]() |
Have you had a Sigmoidoscopy Complication (concern with invasive procedure, for example) | 0..1 | boolean | |
Documentation for this format | ||||
Bundle bunExtract of type transaction
Entry 1 - fullUrl = urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031
Resource Patient:
null Unknown, DoB Unknown ( National Identifier (IHI): ?ngen-9?)
Contact Detail ph: -unknown-(Mobile)
Request:
POST Patient If-Match = Patient?_name=urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031
Entry 2 - fullUrl = urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd032
Resource RelatedPerson:
patient:
urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031relationship:
name: null
telecom: ph: -unknown-(Mobile)
Request:
POST RelatedPerson
Entry 3 - fullUrl = urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd033
Resource Observation:
status: Final
category: Vital Signs
code: Body height
subject:
urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031effective: 1900-01-01
issued:
Extract Template - Extract value:%resource.authoredperformer: ?rref?
value: cm (Details: UCUM codecm = 'cm')
derivedFrom: ?rref?
Request:
POST Observation
Entry 4 - fullUrl = urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd034
Resource Observation:
status: Final
category: Vital Signs
code: Weight
subject:
urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031effective: 1900-01-01
issued:
Extract Template - Extract value:%resource.authoredperformer: ?rref?
value: kg (Details: UCUM codekg = 'kg')
derivedFrom: ?rref?
Request:
POST Observation
Entry 5 - fullUrl = urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd035
Resource Observation:
status: Final
code: sigmoidoscopy-complication
subject:
urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031effective: 1900-01-01
issued:
Extract Template - Extract value:%resource.authoredperformer: ?rref?
value:
Extract Template - Extract value:answer.valuederivedFrom: ?rref?
Request:
POST Observation
Profile: Extractable Questionnaire - Template
Patient Information
Name
Given Name(s)
Family/Surname
Gender
Date of Birth
National Identifier (IHI)
Mobile Phone number
Contacts
Name
Relationship
Phone
Observations
What is your current height (m)
What is your current weight (kg)
Have you had a Sigmoidoscopy Complication (concern with invasive procedure, for example)
Bundle bunExtract of type transaction
Entry 1 - fullUrl = urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031
Resource Patient:
null Unknown, DoB Unknown ( National Identifier (IHI): ?ngen-9?)
Contact Detail ph: -unknown-(Mobile)
Request:
POST Patient If-Match = Patient?_name=urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031
Entry 2 - fullUrl = urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd032
Resource RelatedPerson:
patient:
urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031relationship:
name: null
telecom: ph: -unknown-(Mobile)
Request:
POST RelatedPerson
Entry 3 - fullUrl = urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd033
Resource Observation:
status: Final
category: Vital Signs
code: Body height
subject:
urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031effective: 1900-01-01
issued:
Extract Template - Extract value:%resource.authoredperformer: ?rref?
value: cm (Details: UCUM codecm = 'cm')
derivedFrom: ?rref?
Request:
POST Observation
Entry 4 - fullUrl = urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd034
Resource Observation:
status: Final
category: Vital Signs
code: Weight
subject:
urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031effective: 1900-01-01
issued:
Extract Template - Extract value:%resource.authoredperformer: ?rref?
value: kg (Details: UCUM codekg = 'kg')
derivedFrom: ?rref?
Request:
POST Observation
Entry 5 - fullUrl = urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd035
Resource Observation:
status: Final
code: sigmoidoscopy-complication
subject:
urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031effective: 1900-01-01
issued:
Extract Template - Extract value:%resource.authoredperformer: ?rref?
value:
Extract Template - Extract value:answer.valuederivedFrom: ?rref?
Request:
POST Observation
Profile: Extractable Questionnaire - Template
| LinkID | Description & Constraints![]() |
|---|---|
![]() |
|
![]() ![]() |
|
![]() ![]() ![]() |
|
![]() ![]() ![]() |
|
![]() ![]() |
Value Set: AdministrativeGender |
![]() ![]() |
|
![]() ![]() |
|
![]() ![]() |
|
![]() |
|
![]() ![]() |
|
![]() ![]() |
Value Set: Patient Contact Relationship |
![]() ![]() |
|
![]() |
|
![]() ![]() |
|
![]() ![]() |
|
![]() ![]() |
|
Documentation for this format | |
Bundle bunExtract of type transaction
Entry 1 - fullUrl = urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031
Resource Patient:
null Unknown, DoB Unknown ( National Identifier (IHI): ?ngen-9?)
Contact Detail ph: -unknown-(Mobile)
Request:
POST Patient If-Match = Patient?_name=urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031
Entry 2 - fullUrl = urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd032
Resource RelatedPerson:
patient:
urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031relationship:
name: null
telecom: ph: -unknown-(Mobile)
Request:
POST RelatedPerson
Entry 3 - fullUrl = urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd033
Resource Observation:
status: Final
category: Vital Signs
code: Body height
subject:
urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031effective: 1900-01-01
issued:
Extract Template - Extract value:%resource.authoredperformer: ?rref?
value: cm (Details: UCUM codecm = 'cm')
derivedFrom: ?rref?
Request:
POST Observation
Entry 4 - fullUrl = urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd034
Resource Observation:
status: Final
category: Vital Signs
code: Weight
subject:
urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031effective: 1900-01-01
issued:
Extract Template - Extract value:%resource.authoredperformer: ?rref?
value: kg (Details: UCUM codekg = 'kg')
derivedFrom: ?rref?
Request:
POST Observation
Entry 5 - fullUrl = urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd035
Resource Observation:
status: Final
code: sigmoidoscopy-complication
subject:
urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031effective: 1900-01-01
issued:
Extract Template - Extract value:%resource.authoredperformer: ?rref?
value:
Extract Template - Extract value:answer.valuederivedFrom: ?rref?
Request:
POST Observation
Profile: Extractable Questionnaire - Template
Try this questionnaire out:
Bundle bunExtract of type transaction
Entry 1 - fullUrl = urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031
Resource Patient:
null Unknown, DoB Unknown ( National Identifier (IHI): ?ngen-9?)
Contact Detail ph: -unknown-(Mobile)
Request:
POST Patient If-Match = Patient?_name=urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031
Entry 2 - fullUrl = urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd032
Resource RelatedPerson:
patient:
urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031relationship:
name: null
telecom: ph: -unknown-(Mobile)
Request:
POST RelatedPerson
Entry 3 - fullUrl = urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd033
Resource Observation:
status: Final
category: Vital Signs
code: Body height
subject:
urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031effective: 1900-01-01
issued:
Extract Template - Extract value:%resource.authoredperformer: ?rref?
value: cm (Details: UCUM codecm = 'cm')
derivedFrom: ?rref?
Request:
POST Observation
Entry 4 - fullUrl = urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd034
Resource Observation:
status: Final
category: Vital Signs
code: Weight
subject:
urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031effective: 1900-01-01
issued:
Extract Template - Extract value:%resource.authoredperformer: ?rref?
value: kg (Details: UCUM codekg = 'kg')
derivedFrom: ?rref?
Request:
POST Observation
Entry 5 - fullUrl = urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd035
Resource Observation:
status: Final
code: sigmoidoscopy-complication
subject:
urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031effective: 1900-01-01
issued:
Extract Template - Extract value:%resource.authoredperformer: ?rref?
value:
Extract Template - Extract value:answer.valuederivedFrom: ?rref?
Request:
POST Observation