Skip to main content
Glama
GetCarePage.tsx1.13 kB
// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors // SPDX-License-Identifier: Apache-2.0 import type { Schedule } from '@medplum/fhirtypes'; import { Document, Scheduler, useMedplum } from '@medplum/react'; import type { JSX } from 'react'; export function GetCare(): JSX.Element { const medplum = useMedplum(); const schedule = medplum.searchOne('Schedule').read(); return ( <Document width={800}> <Scheduler schedule={schedule as Schedule} questionnaire={{ resourceType: 'Questionnaire', status: 'active', name: 'Test', item: [ { id: 'id-1', linkId: 'q1', type: 'string', text: 'Question 1', }, { id: 'id-2', linkId: 'q2', type: 'string', text: 'Question 2', }, { id: 'id-3', linkId: 'q3', type: 'string', text: 'Question 3', }, ], }} /> </Document> ); }

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