Skip to main content
Glama
subscription.ts1.03 kB
// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors // SPDX-License-Identifier: Apache-2.0 import type { AuditEvent, Subscription } from '@medplum/fhirtypes'; export const ExampleSubscription: Subscription = { resourceType: 'Subscription', id: '123', meta: { versionId: '456', }, status: 'active', reason: 'Reason', criteria: 'Criteria', channel: { type: 'rest-hook', endpoint: 'https://example.com', }, }; export const ExampleAuditEvent: AuditEvent = { resourceType: 'AuditEvent', id: '123', meta: { lastUpdated: new Date().toISOString(), versionId: '456', author: { reference: 'Practitioner/123', }, }, type: { system: 'http://terminology.hl7.org/CodeSystem/audit-event-type', code: 'rest-hook', }, recorded: new Date().toISOString(), agent: [ { requestor: true, who: { reference: 'Practitioner/123', }, }, ], source: { observer: { reference: 'Device/123', }, }, };

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