Structured Data Capture
3.0.0-preview - STU 3 International flag

This page is part of the Structured Data Capture FHIR IG (v3.0.0-preview: STU 3 Draft) based on FHIR R4. The current version which supercedes this version is 3.0.0. For a full list of available versions, see the Directory of published versions

StructureMap: SDC Map population StructureMap example (Experimental)

Official URL: http://hl7.org/fhir/uv/sdc/StructureMap/questionnaire-population-transform Version: 3.0.0-preview
Standards status: Informative Computable Name: QuestionnairePopulationTransform

Sample stricture map showing process for auto-populating a QuestionnaireResponse from a query bundle

Generated Narrative

Resource "questionnaire-population-transform"

url: http://hl7.org/fhir/uv/sdc/StructureMap/questionnaire-population-transform

version: 3.0.0-preview

name: QuestionnairePopulationTransform

title: Questionnaire Population Transform

status: draft

experimental: true

date: 2022-02-16 07:40:22+1100

publisher: HL7 International - FHIR Infrastructure Work Group

contact: http://hl7.org/Special/committees/fiwg

description: Sample stricture map showing process for auto-populating a QuestionnaireResponse from a query bundle

jurisdiction: World (m49.htm#001)

structure

url: Bundle

mode: source

structure

url: QuestionnaireResponse

mode: target

group

name: main

typeMode: none

input

name: src

type: Bundle

mode: source

input

name: qr

type: QuestionnaireResponse

mode: target

rule

name: questionnaire

Sources

-Context
*src

target

context: qr

contextType: variable

element: questionnaire

transform: copy

Parameters

-Value[x]
*http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-test-fhirpath-prepop-source-query

rule

name: status

Sources

-Context
*src

target

context: qr

contextType: variable

element: status

transform: copy

Parameters

-Value[x]
*in-progress

rule

name: authored

Sources

-Context
*src

target

context: qr

contextType: variable

element: authored

transform: evaluate

Parameters

-Value[x]
*now()

rule

name: subject

Sources

-ContextElementListModeVariable
*srcentryfirstpatient

target

context: qr

contextType: variable

element: subject

variable: subject

target

context: subject

contextType: variable

element: reference

transform: evaluate

Parameters

-Value[x]
*patient.resource.entry.fullUrl

rule

name: grp

Sources

-Context
*src

target

context: qr

contextType: variable

element: item

variable: grp

target

context: grp

contextType: variable

element: linkId

transform: copy

Parameters

-Value[x]
*grp

rule

name: part-details

rule

name: meds