Structured Data Capture
4.0.0 - STU 4 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 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

: Example $assemble operation request - JSON Representation

Raw json | Download

{
  "resourceType" : "Parameters",
  "id" : "sdc-assemble-request",
  "meta" : {
    "profile" : [
      🔗 "http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-assemble-in"
    ]
  },
  "parameter" : [
    {
      "name" : "questionnaire",
      "resource" : {
        "resourceType" : "Questionnaire",
        "id" : "sdc-modular-root",
        "meta" : {
          "profile" : [
            🔗 "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-modular"
          ]
        },
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm[x]",
            "valueCoding" : {
              "system" : "http://hl7.org/fhir/version-algorithm",
              "code" : "semver"
            }
          },
          {
            "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation",
            "valueCode" : "assemble-root"
          },
          {
            "extension" : [
              {
                "url" : "name",
                "valueCoding" : {
                  "system" : "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
                  "code" : "patient"
                }
              },
              {
                "url" : "type",
                "valueCode" : "Patient"
              }
            ],
            "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/variable",
            "valueExpression" : {
              "name" : "person",
              "language" : "text/fhirpath",
              "expression" : "%patient"
            }
          }
        ],
        "url" : "http://hl7.org/fhir/uv/sdc/Questionnaire/sdc-modular-root",
        "name" : "QuestionnaireSDCModularRoot",
        "title" : "Example modular Questionnaire",
        "status" : "active",
        "experimental" : true,
        "description" : "Example modular questionnaire - root of a questionnaire that references other questionnaires and element definitions",
        "item" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/variable",
                "valueExpression" : {
                  "name" : "linkIdPrefix",
                  "language" : "text/fhirpath",
                  "expression" : "'patientname.'"
                }
              }
            ],
            "linkId" : "1",
            "definition" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/SdcQuestionLibrary#SdcQuestionLibrary.name",
            "type" : "group",
            "item" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire",
                    "valueCanonical" : "http://hl7.org/fhir/uv/sdc/Questionnaire/sdc-modular-name|3.0.0"
                  }
                ],
                "linkId" : "1.1",
                "text" : "Unable to resolve 'name' sub-questionnaire",
                "type" : "display"
              }
            ]
          },
          {
            "linkId" : "2",
            "definition" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/SdcQuestionLibrary#SdcQuestionLibrary.dob",
            "type" : "date",
            "required" : true
          },
          {
            "linkId" : "3",
            "definition" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/SdcQuestionLibrary#SdcQuestionLibrary.sex",
            "type" : "choice",
            "required" : true
          },
          {
            "linkId" : "4",
            "definition" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/SdcQuestionLibrary#SdcQuestionLibrary.address",
            "type" : "group",
            "required" : true,
            "item" : [
              {
                "linkId" : "4.1",
                "type" : "display"
              }
            ]
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext",
                "valueExpression" : {
                  "name" : "person",
                  "language" : "text/fhirpath",
                  "expression" : "%patient.contact"
                }
              },
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/variable",
                "valueExpression" : {
                  "name" : "linkIdPrefix",
                  "language" : "text/fhirpath",
                  "expression" : "'patientname.'"
                }
              }
            ],
            "linkId" : "5",
            "type" : "group",
            "required" : true,
            "repeats" : true,
            "item" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-subQuestionnaire",
                    "valueCanonical" : "http://hl7.org/fhir/uv/sdc/Questionnaire/sdc-modular-contact|3.0.0"
                  }
                ],
                "linkId" : "5.1",
                "text" : "Unable to resolve 'contact' sub-questionnaire",
                "type" : "display"
              }
            ]
          }
        ]
      }
    }
  ]
}