@sleeppyy/prism-sdk
v1.0.13
Published
This package includes the Patient Prism SDK typings, used to assist you with integrating Patient Prism into your custom application flow.
Readme
Patient Prism SDK
This package includes the Patient Prism SDK typings, used to assist you with integrating Patient Prism into your custom application flow.
How to use
import type { PrismSDK, Submission } from '@patientprism/sdk';
// Submitting a form
const data: Submission = {
name: {
type: 'text',
value: 'John Doe',
label: 'Name'
}
};
(window.$prism as PrismSDK).submission.send(data, 'elementId');