Skip to main content
Glama
questionnaire.ts1.84 kB
// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors // SPDX-License-Identifier: Apache-2.0 import type { Questionnaire } from '@medplum/fhirtypes'; export const PagedQuestionnaire: Questionnaire = { resourceType: 'Questionnaire', id: 'pages-example', status: 'active', title: 'Pages Example', item: [ { linkId: 'group1', text: 'Page Sequence 1', type: 'group', item: [ { linkId: 'question1', text: 'Question 1', type: 'string', }, { linkId: 'question2', text: 'Question 2', type: 'string', required: true, }, { linkId: 'question3', text: 'Question 3', type: 'string', }, ], extension: [ { url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl', valueCodeableConcept: { coding: [ { system: 'http://hl7.org/fhir/questionnaire-item-control', code: 'page', }, ], }, }, ], }, { linkId: 'group2', text: 'Page Sequence 2', type: 'group', item: [ { linkId: 'question4', text: 'Question 4', type: 'string', }, { linkId: 'question5', text: 'Question 5', type: 'string', }, ], extension: [ { url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl', valueCodeableConcept: { coding: [ { system: 'http://hl7.org/fhir/questionnaire-item-control', code: 'page', }, ], }, }, ], }, ], };

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/medplum/medplum'

If you have feedback or need assistance with the MCP directory API, please join our Discord server