open-index/open-npm huggingface dataset:
npm package: @sleeppyy/prism-sdk
Description: This package includes the Patient Prism SDK typings, used to assist you with integrating Patient Prism into your custom application flow.
Latest version: 1.0.13

# 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
```ts
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');
```