| Package | hl7.fhir.uv.sdc |
| Resource Type | Questionnaire |
| Id | questionnaire-sdc-test-fhirpath-prepop-candexpr |
| FHIR Version | R4 |
| Source | http://hl7.org/fhir/uv/sdc/https://build.fhir.org/ig/HL7/sdc/Questionnaire-questionnaire-sdc-test-fhirpath-prepop-candexpr.html |
| URL | http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-test-fhirpath-prepop-candexpr |
| Version | 4.0.0-ballot |
| Status | active |
| Date | 2025-08-07T06:58:13+00:00 |
| Name | FhirPathPrepopCandExpr |
| Title | Questionnaire Pre-Population with a Candidate Expression |
| Realm | uv |
| Authority | hl7 |
| Description | FhirPath based prepopulation example that includes a Candidate expression |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: Questionnaire questionnaire-sdc-test-fhirpath-prepop-candexpr
| LinkID | Text | Cardinality | Type | Description & Constraints |
|---|---|---|---|---|
![]() | FhirPath based prepopulation example that includes a Candidate expression | Questionnaire | http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-test-fhirpath-prepop-candexpr#4.0.0-ballot | |
![]() ![]() | 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 | |
![]() ![]() ![]() | Contacts | 0..* | group | |
![]() ![]() ![]() ![]() | Contact Name | 0..* | string | |
![]() ![]() ![]() ![]() | Contact Number | 0..* | string | |
{
"resourceType": "Questionnaire",
"id": "questionnaire-sdc-test-fhirpath-prepop-candexpr",
"meta": {
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-pop-exp"
]
},
"text": {
"status": "extensions",
"div": "<!-- snip (see above) -->"
},
"extension": [
{
"url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]",
"valueCoding": {
"system": "http://hl7.org/fhir/version-algorithm",
"code": "semver"
}
},
{
"extension": [
{
"url": "name",
"valueCoding": {
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
"code": "patient",
"display": "Patient"
}
},
{
"url": "type",
"valueCode": "Patient"
},
{
"url": "description",
"valueString": "The patient that is to be used to pre-populate the form"
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext"
}
],
"url": "http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-test-fhirpath-prepop-candexpr",
"identifier": [
{
"system": "urn:ietf:rfc:3986",
"value": "urn:oid:2.16.840.1.113883.4.642.40.17.35.21"
}
],
"version": "4.0.0-ballot",
"name": "FhirPathPrepopCandExpr",
"title": "Questionnaire Pre-Population with a Candidate Expression",
"status": "active",
"experimental": true,
"subjectType": [
"Patient"
],
"date": "2025-08-07T06:58:13+00:00",
"publisher": "HL7 International / FHIR Infrastructure",
"contact": [
{
"name": "HL7 International / FHIR Infrastructure",
"telecom": [
{
"system": "url",
"value": "http://www.hl7.org/Special/committees/fiwg"
}
]
},
{
"telecom": [
{
"system": "url",
"value": "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description": "FhirPath based prepopulation example that includes a Candidate expression",
"jurisdiction": [
{
"coding": [
{
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code": "001",
"display": "World"
}
]
}
],
"item": [
{
"linkId": "grp",
"type": "group",
"item": [
{
"linkId": "part-details",
"text": "Participant details",
"type": "group",
"repeats": false,
"item": [
{
"linkId": "participant-id",
"text": "Participant ID number",
"type": "string"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
"valueExpression": {
"language": "text/fhirpath",
"expression": "%patient.name.first().family"
}
}
],
"linkId": "family-name",
"text": "Family name",
"type": "string"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
"valueExpression": {
"language": "text/fhirpath",
"expression": "%patient.name.first().given.first()"
}
}
],
"linkId": "given-names",
"text": "Given name(s)",
"type": "string"
}
]
},
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-candidateExpression",
"valueExpression": {
"description": "Set of active Patient contacts",
"name": "selectedContact",
"language": "application/x-fhir-query",
"expression": "RelatedPerson?patient={{%patient.id}}&active=true"
}
}
],
"linkId": "contacts",
"text": "Contacts",
"type": "group",
"repeats": true,
"item": [
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
"valueExpression": {
"language": "text/fhirpath",
"expression": "%selectedContact.name.first().select(text | given.first() & ' ' & family).first()"
}
}
],
"linkId": "cont-name",
"text": "Contact Name",
"type": "string",
"repeats": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
"valueExpression": {
"language": "text/fhirpath",
"expression": "%selectedContact.telecom.where(system='phone').first().value"
}
}
],
"linkId": "cont-number",
"text": "Contact Number",
"type": "string",
"repeats": true
}
]
}
]
}
]
}