Invocations

URL: [base]/StructureDefinition/$questionnaire
URL: [base]/StructureDefinition/[id]/$questionnaire

Parameters (In)

NameCardinalityTypeDocumentation
identifier0..1Uri

A logical profile identifier (i.e. 'StructureDefinition.identifier''). The server must know the profile or be able to retrieve it from other known repositories.

profile0..1String

The StructureDefinition is provided directly as part of the request. Servers may choose not to accept profiles in this fashion

url0..1Uri

The profile's official URL (i.e. 'StructureDefinition.url'). The server must know the profile or be able to retrieve it from other known repositories.

supportedOnly0..1Boolean

If true, the questionnaire will only include those elements marked as "mustSupport='true'" in the StructureDefinition.

Return Values (Out)

NameCardinalityTypeDocumentation
return1..1Questionnaire

The questionnaire form generated based on the StructureDefinition.

Open Issue: Ideally, extensions should be populated in the generated Questionnaire that will support taking QuestionnaireResponse resources generated from the Questionnaire and turning them back into the appropriate resources.