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

CapabilityStatement: SDC Form Filler

Official URL: http://hl7.org/fhir/uv/sdc/CapabilityStatement/sdc-form-filler Version: 4.0.0
Standards status: Trial-use Maturity Level: 4 Computable Name: SDCFormFiller
Other Identifiers: OID:2.16.840.1.113883.4.642.40.17.13.3

This profile defines the expected capabilities of the SDC Form Filler' role when conforming to this implementation guide. This role is responsible for retrieving pre-defined forms, requesting pre-population of forms and/or auto-populating forms, guiding the user through verifying populated data and submitting completed or partially-completed forms. Note that Form Fillers may also take on the role of Form Archiver if they have a requirement to retain the completed version of a form (and potentially the source data that was used to complete it). In addition to the features described here, Form Fillers SHOULD also support search_type on all resources that might need to be looked up either for attachments or as References. The expectations for supported resources, profiles, and relevant search parameters will typically come from national 'base' or 'core' IGs.

Raw OpenAPI-Swagger Definition file | Download

SDC Form Filler

  • Implementation Guide Version: 4.0.0
  • FHIR Version: 4.0.1
  • Supported Formats: xml, json
  • Supported Patch Formats:
  • Published on: 2014-07-06
  • Published by: HL7 International / FHIR Infrastructure

Note to Implementers: FHIR Capabilities

Any FHIR capability may be 'allowed' by the system unless explicitly marked as 'SHALL NOT'. A few items are marked as MAY in the Implementation Guide to highlight their potential relevance to the use case.

FHIR RESTful Capabilities

Mode: client

The Questionnaire, ValueSet and CodeSystem resources are retrieved to allow the system to guide the user through the entry process. The QuestionnaireResponse resource is used to record the populated form. Finally, the [[Library]], [[StructureMap]], [[StructureDefinition]], and [[ConceptMap]] resources are available to assist with population. Note: Form Fillers that support the 'populate' operation will need to be capable of consuming and rendering a partially completed QuestionnaireResponse in the same manner as if they had retrieved such a QuestionnaireResponse from a Form Response Manager

Security

Implementations must meet the general security requirements documented in this implementation guide.html.

Summary of System-wide Interactions

Capabilities by Resource/Profile

Summary

The summary table lists the resources that are part of this configuration, and for each resource it lists:

  • The relevant profiles (if any)
  • The interactions supported by each resource (Read, Search, Update, and Create, are always shown, while VRead, Patch, Delete, History on Instance, or History on Type are only present if at least one of the resources has support for them.
  • The required, recommended, and some optional search parameters (if any).
  • The linked resources enabled for _include
  • The other resources enabled for _revinclude
  • The operations on the resource (if any)
Resource TypeProfileRV-RSUCDH-ISearches_include_revincludeOperations
QuestionnaireResponsehttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponseyyyyyy$extract
Questionnairehttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireyyyyurl, version, status, experimental, context-type-quantity, context-type-value, date, description, identifier, publisher, questionnaire-code, subject-type, title, effective, jurisdiction, assemble-expectation$next-question, $populate
ValueSethttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-valuesetyyurl, version$expand, $validate code
CodeSystemhttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-codesystemyyurl, version
Libraryhttp://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-libraryyyurl, version
StructureMaphttp://hl7.org/fhir/StructureDefinition/StructureMapyyurl, version
StructureDefinitionhttp://hl7.org/fhir/StructureDefinition/StructureDefinitionyyurl, version
ConceptMaphttp://hl7.org/fhir/StructureDefinition/ConceptMapyyexperimental, url, version, status, source-system, target-system, source-uri, target-uri

Resource Conformance: SHALL QuestionnaireResponse

Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support
    search-type

    Allows a user to search for existing completed or partially-completed forms. Generally used to find partially-completed forms for update.

    read

    Allows retrieval of a specific QuestionnaireResponse by id.

    create

    Allows recording a completed or partially-completed form

    update

    Allows updating an existing completed or partially-completed form. (Systems may place rules on who can update forms and under what circumstances.)

    delete

    Allows removal of a completed form from a repository. Note that the removal may be logical rather than physical. Some systems may have rules for who can remove a completed form and under what circumstances.

  • SHOULD support
    history-instance

    Allows review of prior versions of an answer set - allows reversion to previously recorded versions

Documentation

The primary focus of a form filler is creating and managing QuestionnaireResponses.

Extended Operations
ConformanceOperationDocumentation
MAY$extract

This is only necessary if the form filler doesn't handle all needed extraction capabilities locally and extraction is actually peformed by the form filler rather than a downstream process

Resource Conformance: SHOULD Questionnaire

Base System Profile
SDC Base Questionnaire
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHOULD support
    search-type

    Allows discovery of existing questionnaires to be completed. Without this, forms need to be explicitly passed in as part of workflow.

  • MAY support
    read

    Allows retrieval of a specific questionnaire by id. Allows systems to maintain a 'favorites' list of forms and retrieve them by id.

    history-instance

    Allows review of changes made to a questionnaire over time. Of interest to some systems, but probably not most.

    vread

    Allows retrieval of a historical version of a questionnaire. Most systems will make use of the current version only.

Documentation

If not supported, then forms will need to be made accessible through workflow

Search Parameters
ConformanceParameterTypeDocumentation
SHALLurluri
SHALLversiontoken
SHALLstatustoken
SHALLexperimentaltoken
SHOULDcontext-type-quantitycomposite
SHOULDcontext-type-valuecomposite
SHOULDdatedate
SHOULDdescriptionstring
SHOULDidentifiertoken
SHOULDpublisherstring
SHOULDquestionnaire-codetoken
SHOULDsubject-typetoken
SHOULDtitlestring
SHOULDeffectivedate
MAYjurisdictiontoken
MAYassemble-expectationtoken
 
Extended Operations
ConformanceOperationDocumentation
SHOULD$next-question

This is only necessary if the form filler doesn't handle all needed population capabilities locally

SHOULD$populate

This is only necessary if the form filler doesn't handle all needed population capabilities locally

Resource Conformance: SHALL ValueSet

Base System Profile
SDC Value Set
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support
    search-type

    Needed to retrieve value set based on canonical reference

  • MAY support
    read

    Useful if a server doesn't return full data in a search

Documentation

Needed to support simple value sets that might not be known to the terminology server or for local expansion and validation

Search Parameters
ConformanceParameterTypeDocumentation
SHALLurluri
SHALLversiontoken
 
Extended Operations
ConformanceOperationDocumentation
SHOULD$expand

Needed to determine allowed code choices. SHALL be supported unless handled locally

SHOULD$validate code

Needed when populating from existing data (to confim the code is part of the value set). SHOULD be supported unless handled locally

Resource Conformance: MAY CodeSystem

Base System Profile
SDC Code System
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support
    search-type

    Needed to retrieve code system based on canonical reference

  • MAY support
    read

    Useful if a server doesn't return full data in a search

Documentation

SHALL be supported if doing any terminology expansions or validation locally

Search Parameters
ConformanceParameterTypeDocumentation
SHALLurluri
SHALLversiontoken
 

Resource Conformance: SHOULD Library

Base System Profile
SDC Library
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support
    search-type

    Needed to retrieve library based on canonical reference

  • MAY support
    read

    Useful if a server doesn't return full data in a search

Documentation

Needed for certain types of population and extraction

Search Parameters
ConformanceParameterTypeDocumentation
SHALLurluri
SHALLversiontoken
 

Resource Conformance: SHOULD StructureMap

Base System Profile
StructureMap
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support
    search-type

    Needed to retrieve structure map based on canonical reference

  • MAY support
    read

    Useful if a server doesn't return full data in a search

Documentation

Needed if performing map-based population or extraction

Search Parameters
ConformanceParameterTypeDocumentation
SHALLurluri
SHALLversiontoken
 

Resource Conformance: SHOULD StructureDefinition

Base System Profile
StructureDefinition
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support
    search-type

    Needed to retrieve structure definition based on canonical reference

  • MAY support
    read

    Useful if a server doesn't return full data in a search

Documentation

Needed if performing map-based population or map or definition-based extraction

Search Parameters
ConformanceParameterTypeDocumentation
SHALLurluri
SHALLversiontoken
 

Resource Conformance: SHOULD ConceptMap

Base System Profile
ConceptMap
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • SHALL support
    search-type

    Needed to retrieve concept map based on various criteria

  • MAY support
    read

    Useful if a server doesn't return full data in a search

Documentation

May be needed for code conversion during population or extraction

Search Parameters
ConformanceParameterTypeDocumentation
SHALLexperimentaltoken
SHALLurluri
SHALLversiontoken
SHALLstatustoken
SHALLsource-systemuri
SHALLtarget-systemuri
SHOULDsource-urireference
SHOULDtarget-urireference