@awell-health/awell-extensions 1.1.0-beta11 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/extensions/awell/index.js +2 -0
- package/dist/extensions/awell/index.js.map +1 -1
- package/dist/extensions/{avaAi/v1/actions/generatePatientSummary/generatePatientSummary.d.ts → awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.d.ts} +2 -2
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.js +74 -0
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.js.map +1 -0
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.test.js +36 -0
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.test.js.map +1 -0
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/dataPoints.d.ts +1 -0
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/dataPoints.js +5 -0
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/dataPoints.js.map +1 -0
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/fields.d.ts +28 -0
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/fields.js +26 -0
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/fields.js.map +1 -0
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/index.d.ts +3 -0
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/index.js +11 -0
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/index.js.map +1 -0
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/patient.d.ts +8 -0
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/patient.js +6 -0
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/config/patient.js.map +1 -0
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/index.d.ts +1 -0
- package/dist/extensions/awell/v1/actions/addIdentifierToPatient/index.js +6 -0
- package/dist/extensions/{avaAi/v1/actions/generatePatientSummary → awell/v1/actions/addIdentifierToPatient}/index.js.map +1 -1
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/dataPoints.d.ts +10 -0
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/dataPoints.js +14 -0
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/dataPoints.js.map +1 -0
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/fields.d.ts +28 -0
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/fields.js +26 -0
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/fields.js.map +1 -0
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/index.d.ts +2 -0
- package/dist/extensions/{avaAi/v1/actions/generatePatientSummary → awell/v1/actions/getPatientByIdentifier}/config/index.js +2 -2
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/config/index.js.map +1 -0
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.d.ts +4 -0
- package/dist/extensions/{avaAi/v1/actions/generatePatientSummary/generatePatientSummary.js → awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.js} +33 -31
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.js.map +1 -0
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.test.js +43 -0
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.test.js.map +1 -0
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/index.d.ts +1 -0
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/index.js +6 -0
- package/dist/extensions/awell/v1/actions/getPatientByIdentifier/index.js.map +1 -0
- package/dist/extensions/awell/v1/actions/index.d.ts +2 -0
- package/dist/extensions/awell/v1/actions/index.js +5 -1
- package/dist/extensions/awell/v1/actions/index.js.map +1 -1
- package/dist/extensions/awell/v1/actions/searchPatientsByPatientCode/searchPatientsByPatientCode.js +1 -1
- package/dist/extensions/awell/v1/actions/searchPatientsByPatientCode/searchPatientsByPatientCode.js.map +1 -1
- package/dist/extensions/awell/v1/gql/graphql.d.ts +1066 -525
- package/dist/extensions/awell/v1/gql/graphql.js +46 -17
- package/dist/extensions/awell/v1/gql/graphql.js.map +1 -1
- package/dist/extensions/awell/v1/sdk/awellSdk.d.ts +9 -1
- package/dist/extensions/awell/v1/sdk/awellSdk.js +32 -0
- package/dist/extensions/awell/v1/sdk/awellSdk.js.map +1 -1
- package/dist/extensions/awell/v1/sdk/graphql/addIdentifier.mutation.d.ts +1 -0
- package/dist/extensions/awell/v1/sdk/graphql/addIdentifier.mutation.js +15 -0
- package/dist/extensions/awell/v1/sdk/graphql/addIdentifier.mutation.js.map +1 -0
- package/dist/extensions/awell/v1/sdk/graphql/form.query.d.ts +1 -0
- package/dist/extensions/awell/v1/sdk/graphql/form.query.js +91 -0
- package/dist/extensions/awell/v1/sdk/graphql/form.query.js.map +1 -0
- package/dist/extensions/awell/v1/sdk/graphql/formResponse.query.d.ts +1 -0
- package/dist/extensions/awell/v1/sdk/graphql/formResponse.query.js +20 -0
- package/dist/extensions/awell/v1/sdk/graphql/formResponse.query.js.map +1 -0
- package/dist/extensions/awell/v1/sdk/graphql/getPatientByIdentifier.query.d.ts +1 -0
- package/dist/extensions/awell/v1/sdk/graphql/getPatientByIdentifier.query.js +37 -0
- package/dist/extensions/awell/v1/sdk/graphql/getPatientByIdentifier.query.js.map +1 -0
- package/dist/extensions/awell/v1/sdk/graphql/index.d.ts +5 -0
- package/dist/extensions/awell/v1/sdk/graphql/index.js +11 -1
- package/dist/extensions/awell/v1/sdk/graphql/index.js.map +1 -1
- package/dist/extensions/awell/v1/sdk/graphql/pathwayActivities.query.d.ts +1 -0
- package/dist/extensions/awell/v1/sdk/graphql/pathwayActivities.query.js +63 -0
- package/dist/extensions/awell/v1/sdk/graphql/pathwayActivities.query.js.map +1 -0
- package/dist/extensions/canvasMedical/v1/actions/createClaim/config/fields.d.ts +2 -2
- package/dist/extensions/canvasMedical/v1/validation/patient.zod.d.ts +44 -44
- package/dist/extensions/dockHealth/actions/createTask/config/datapoints.d.ts +6 -0
- package/dist/extensions/dockHealth/actions/createTask/config/datapoints.js +10 -0
- package/dist/extensions/dockHealth/actions/createTask/config/datapoints.js.map +1 -0
- package/dist/extensions/dockHealth/actions/createTask/config/fields.d.ts +48 -0
- package/dist/extensions/dockHealth/actions/createTask/config/fields.js +45 -0
- package/dist/extensions/dockHealth/actions/createTask/config/fields.js.map +1 -0
- package/dist/extensions/dockHealth/actions/createTask/config/index.d.ts +2 -0
- package/dist/extensions/dockHealth/actions/createTask/config/index.js +9 -0
- package/dist/extensions/dockHealth/actions/createTask/config/index.js.map +1 -0
- package/dist/extensions/dockHealth/actions/createTask/createTask.d.ts +4 -0
- package/dist/extensions/dockHealth/actions/createTask/createTask.js +56 -0
- package/dist/extensions/dockHealth/actions/createTask/createTask.js.map +1 -0
- package/dist/extensions/dockHealth/actions/createTask/createTask.test.d.ts +1 -0
- package/dist/extensions/dockHealth/actions/createTask/createTask.test.js +32 -0
- package/dist/extensions/dockHealth/actions/createTask/createTask.test.js.map +1 -0
- package/dist/extensions/dockHealth/actions/createTask/index.d.ts +1 -0
- package/dist/extensions/dockHealth/actions/createTask/index.js +6 -0
- package/dist/extensions/dockHealth/actions/createTask/index.js.map +1 -0
- package/dist/extensions/{avaAi/v1/actions/generatePatientSummary/config/dataPoints.d.ts → dockHealth/actions/getPatient/config/datapoints.d.ts} +2 -2
- package/dist/extensions/dockHealth/actions/getPatient/config/datapoints.js +15 -0
- package/dist/extensions/dockHealth/actions/getPatient/config/datapoints.js.map +1 -0
- package/dist/extensions/dockHealth/actions/getPatient/config/fields.d.ts +18 -0
- package/dist/extensions/dockHealth/actions/getPatient/config/fields.js +21 -0
- package/dist/extensions/dockHealth/actions/getPatient/config/fields.js.map +1 -0
- package/dist/extensions/dockHealth/actions/getPatient/config/index.d.ts +2 -0
- package/dist/extensions/dockHealth/actions/getPatient/config/index.js +9 -0
- package/dist/extensions/dockHealth/actions/getPatient/config/index.js.map +1 -0
- package/dist/extensions/dockHealth/actions/getPatient/getPatient.d.ts +4 -0
- package/dist/extensions/dockHealth/actions/getPatient/getPatient.js +29 -0
- package/dist/extensions/dockHealth/actions/getPatient/getPatient.js.map +1 -0
- package/dist/extensions/dockHealth/actions/getPatient/getPatient.test.d.ts +1 -0
- package/dist/extensions/dockHealth/actions/getPatient/getPatient.test.js +29 -0
- package/dist/extensions/dockHealth/actions/getPatient/getPatient.test.js.map +1 -0
- package/dist/extensions/dockHealth/actions/getPatient/index.d.ts +1 -0
- package/dist/extensions/dockHealth/actions/getPatient/index.js +6 -0
- package/dist/extensions/dockHealth/actions/getPatient/index.js.map +1 -0
- package/dist/extensions/dockHealth/actions/index.d.ts +128 -0
- package/dist/extensions/dockHealth/actions/index.js +10 -0
- package/dist/extensions/dockHealth/actions/index.js.map +1 -0
- package/dist/extensions/dockHealth/api/cacheService.d.ts +11 -0
- package/dist/extensions/dockHealth/api/cacheService.js +15 -0
- package/dist/extensions/dockHealth/api/cacheService.js.map +1 -0
- package/dist/extensions/dockHealth/api/client.d.ts +32 -0
- package/dist/extensions/dockHealth/api/client.js +67 -0
- package/dist/extensions/dockHealth/api/client.js.map +1 -0
- package/dist/extensions/dockHealth/api/schema/atoms/index.d.ts +8 -0
- package/dist/extensions/dockHealth/api/schema/atoms/index.js +25 -0
- package/dist/extensions/dockHealth/api/schema/atoms/index.js.map +1 -0
- package/dist/extensions/dockHealth/api/schema/atoms/patientReference.schema.d.ts +14 -0
- package/dist/extensions/dockHealth/api/schema/atoms/patientReference.schema.js +10 -0
- package/dist/extensions/dockHealth/api/schema/atoms/patientReference.schema.js.map +1 -0
- package/dist/extensions/dockHealth/api/schema/atoms/taskGroup.schema.d.ts +14 -0
- package/dist/extensions/dockHealth/api/schema/atoms/taskGroup.schema.js +10 -0
- package/dist/extensions/dockHealth/api/schema/atoms/taskGroup.schema.js.map +1 -0
- package/dist/extensions/dockHealth/api/schema/atoms/taskListReference.schema.d.ts +14 -0
- package/dist/extensions/dockHealth/api/schema/atoms/taskListReference.schema.js +10 -0
- package/dist/extensions/dockHealth/api/schema/atoms/taskListReference.schema.js.map +1 -0
- package/dist/extensions/dockHealth/api/schema/atoms/taskMetadataSchema.d.ts +17 -0
- package/dist/extensions/dockHealth/api/schema/atoms/taskMetadataSchema.js +13 -0
- package/dist/extensions/dockHealth/api/schema/atoms/taskMetadataSchema.js.map +1 -0
- package/dist/extensions/dockHealth/api/schema/atoms/taskReference.schema.d.ts +14 -0
- package/dist/extensions/dockHealth/api/schema/atoms/taskReference.schema.js +10 -0
- package/dist/extensions/dockHealth/api/schema/atoms/taskReference.schema.js.map +1 -0
- package/dist/extensions/dockHealth/api/schema/atoms/taskWorkflowStatusReference.schema.d.ts +14 -0
- package/dist/extensions/dockHealth/api/schema/atoms/taskWorkflowStatusReference.schema.js +10 -0
- package/dist/extensions/dockHealth/api/schema/atoms/taskWorkflowStatusReference.schema.js.map +1 -0
- package/dist/extensions/dockHealth/api/schema/atoms/userReference.schema.d.ts +14 -0
- package/dist/extensions/dockHealth/api/schema/atoms/userReference.schema.js +10 -0
- package/dist/extensions/dockHealth/api/schema/atoms/userReference.schema.js.map +1 -0
- package/dist/extensions/dockHealth/api/schema/index.d.ts +2 -0
- package/dist/extensions/dockHealth/api/schema/index.js +19 -0
- package/dist/extensions/dockHealth/api/schema/index.js.map +1 -0
- package/dist/extensions/dockHealth/api/schema/patient.schema.d.ts +201 -0
- package/dist/extensions/dockHealth/api/schema/patient.schema.js +76 -0
- package/dist/extensions/dockHealth/api/schema/patient.schema.js.map +1 -0
- package/dist/extensions/dockHealth/api/schema/task.schema.d.ts +583 -0
- package/dist/extensions/dockHealth/api/schema/task.schema.js +60 -0
- package/dist/extensions/dockHealth/api/schema/task.schema.js.map +1 -0
- package/dist/extensions/dockHealth/index.d.ts +2 -0
- package/dist/extensions/dockHealth/index.js +22 -0
- package/dist/extensions/dockHealth/index.js.map +1 -0
- package/dist/extensions/dockHealth/lib/dock.types.d.ts +28 -0
- package/dist/extensions/dockHealth/lib/dock.types.js +36 -0
- package/dist/extensions/dockHealth/lib/dock.types.js.map +1 -0
- package/dist/extensions/dockHealth/lib/index.d.ts +2 -0
- package/dist/extensions/dockHealth/lib/index.js +21 -0
- package/dist/extensions/dockHealth/lib/index.js.map +1 -0
- package/dist/extensions/dockHealth/lib/validatePayloadAndCreateClient.d.ts +15 -0
- package/dist/extensions/dockHealth/lib/validatePayloadAndCreateClient.js +36 -0
- package/dist/extensions/dockHealth/lib/validatePayloadAndCreateClient.js.map +1 -0
- package/dist/extensions/dockHealth/settings.d.ts +44 -0
- package/dist/extensions/dockHealth/settings.js +48 -0
- package/dist/extensions/dockHealth/settings.js.map +1 -0
- package/dist/extensions/index.js +6 -9
- package/dist/extensions/index.js.map +1 -1
- package/dist/extensions/markdown.json +10 -6
- package/dist/extensions/medplum/actions/createTask/config/fields.js +1 -1
- package/dist/extensions/medplum/actions/createTask/config/fields.js.map +1 -1
- package/dist/extensions/medplum/actions/getAppointment/config/dataPoints.d.ts +1 -1
- package/dist/extensions/medplum/actions/getAppointment/config/dataPoints.js +1 -1
- package/dist/extensions/medplum/actions/getAppointment/config/dataPoints.js.map +1 -1
- package/dist/extensions/medplum/actions/getAppointment/getAppointment.js +0 -5
- package/dist/extensions/medplum/actions/getAppointment/getAppointment.js.map +1 -1
- package/dist/extensions/medplum/actions/getPatient/config/dataPoints.d.ts +1 -1
- package/dist/extensions/medplum/actions/getPatient/config/dataPoints.js +1 -1
- package/dist/extensions/medplum/actions/getPatient/config/dataPoints.js.map +1 -1
- package/dist/extensions/medplum/actions/getPatient/getPatient.js +0 -5
- package/dist/extensions/medplum/actions/getPatient/getPatient.js.map +1 -1
- package/dist/extensions/medplum/actions/index.d.ts +1 -0
- package/dist/extensions/medplum/actions/index.js +3 -1
- package/dist/extensions/medplum/actions/index.js.map +1 -1
- package/dist/extensions/medplum/actions/submitQuestionnaireResponse/config/dataPoints.d.ts +6 -0
- package/dist/extensions/medplum/actions/submitQuestionnaireResponse/config/dataPoints.js +10 -0
- package/dist/extensions/medplum/actions/submitQuestionnaireResponse/config/dataPoints.js.map +1 -0
- package/dist/extensions/medplum/actions/submitQuestionnaireResponse/config/fields.d.ts +18 -0
- package/dist/extensions/medplum/actions/submitQuestionnaireResponse/config/fields.js +18 -0
- package/dist/extensions/medplum/actions/submitQuestionnaireResponse/config/fields.js.map +1 -0
- package/dist/extensions/medplum/actions/submitQuestionnaireResponse/config/index.d.ts +2 -0
- package/dist/extensions/{awell/v1/gql → medplum/actions/submitQuestionnaireResponse/config}/index.js +2 -2
- package/dist/extensions/medplum/actions/submitQuestionnaireResponse/config/index.js.map +1 -0
- package/dist/extensions/medplum/actions/submitQuestionnaireResponse/index.d.ts +1 -0
- package/dist/extensions/medplum/actions/submitQuestionnaireResponse/index.js +6 -0
- package/dist/extensions/medplum/actions/submitQuestionnaireResponse/index.js.map +1 -0
- package/dist/extensions/medplum/actions/submitQuestionnaireResponse/submitQuestionnaireResponse.d.ts +4 -0
- package/dist/extensions/medplum/actions/submitQuestionnaireResponse/submitQuestionnaireResponse.js +82 -0
- package/dist/extensions/medplum/actions/submitQuestionnaireResponse/submitQuestionnaireResponse.js.map +1 -0
- package/dist/extensions/medplum/actions/submitQuestionnaireResponse/submitQuestionnaireResponse.test.d.ts +5 -0
- package/dist/extensions/medplum/actions/submitQuestionnaireResponse/submitQuestionnaireResponse.test.js +45 -0
- package/dist/extensions/medplum/actions/submitQuestionnaireResponse/submitQuestionnaireResponse.test.js.map +1 -0
- package/dist/extensions/medplum/settings.d.ts +20 -0
- package/dist/extensions/medplum/settings.js +18 -2
- package/dist/extensions/medplum/settings.js.map +1 -1
- package/dist/extensions/medplum/utils/validateAndCreateSdkClient.d.ts +2 -1
- package/dist/extensions/medplum/utils/validateAndCreateSdkClient.js +4 -2
- package/dist/extensions/medplum/utils/validateAndCreateSdkClient.js.map +1 -1
- package/dist/extensions/stripe/actions/createCustomer/config/datapoints.d.ts +6 -0
- package/dist/extensions/stripe/actions/createCustomer/config/datapoints.js +10 -0
- package/dist/extensions/stripe/actions/createCustomer/config/datapoints.js.map +1 -0
- package/dist/extensions/stripe/actions/createCustomer/config/fields.d.ts +28 -0
- package/dist/extensions/stripe/actions/createCustomer/config/fields.js +29 -0
- package/dist/extensions/stripe/actions/createCustomer/config/fields.js.map +1 -0
- package/dist/extensions/stripe/actions/createCustomer/config/index.d.ts +2 -0
- package/dist/extensions/stripe/actions/createCustomer/config/index.js +9 -0
- package/dist/extensions/stripe/actions/createCustomer/config/index.js.map +1 -0
- package/dist/extensions/stripe/actions/createCustomer/createCustomer.d.ts +4 -0
- package/dist/extensions/stripe/actions/createCustomer/createCustomer.js +34 -0
- package/dist/extensions/stripe/actions/createCustomer/createCustomer.js.map +1 -0
- package/dist/extensions/stripe/actions/createCustomer/createCustomer.test.d.ts +1 -0
- package/dist/extensions/stripe/actions/createCustomer/createCustomer.test.js +32 -0
- package/dist/extensions/stripe/actions/createCustomer/createCustomer.test.js.map +1 -0
- package/dist/extensions/stripe/actions/createCustomer/index.d.ts +1 -0
- package/dist/extensions/stripe/actions/createCustomer/index.js +6 -0
- package/dist/extensions/stripe/actions/createCustomer/index.js.map +1 -0
- package/dist/extensions/stripe/actions/createSubscription/config/datapoints.d.ts +6 -0
- package/dist/extensions/stripe/actions/createSubscription/config/datapoints.js +10 -0
- package/dist/extensions/stripe/actions/createSubscription/config/datapoints.js.map +1 -0
- package/dist/extensions/stripe/actions/createSubscription/config/fields.d.ts +28 -0
- package/dist/extensions/stripe/actions/createSubscription/config/fields.js +29 -0
- package/dist/extensions/stripe/actions/createSubscription/config/fields.js.map +1 -0
- package/dist/extensions/stripe/actions/createSubscription/config/index.d.ts +2 -0
- package/dist/extensions/stripe/actions/createSubscription/config/index.js +9 -0
- package/dist/extensions/stripe/actions/createSubscription/config/index.js.map +1 -0
- package/dist/extensions/stripe/actions/createSubscription/createSubscription.d.ts +4 -0
- package/dist/extensions/stripe/actions/createSubscription/createSubscription.js +43 -0
- package/dist/extensions/stripe/actions/createSubscription/createSubscription.js.map +1 -0
- package/dist/extensions/stripe/actions/createSubscription/createSubscription.test.d.ts +1 -0
- package/dist/extensions/stripe/actions/createSubscription/createSubscription.test.js +32 -0
- package/dist/extensions/stripe/actions/createSubscription/createSubscription.test.js.map +1 -0
- package/dist/extensions/stripe/actions/createSubscription/index.d.ts +1 -0
- package/dist/extensions/stripe/actions/createSubscription/index.js +6 -0
- package/dist/extensions/stripe/actions/createSubscription/index.js.map +1 -0
- package/dist/extensions/stripe/actions/embeddedCheckout/config/datapoints.d.ts +6 -0
- package/dist/extensions/stripe/actions/embeddedCheckout/config/datapoints.js +10 -0
- package/dist/extensions/stripe/actions/embeddedCheckout/config/datapoints.js.map +1 -0
- package/dist/extensions/stripe/actions/embeddedCheckout/config/fields.d.ts +28 -0
- package/dist/extensions/stripe/actions/embeddedCheckout/config/fields.js +33 -0
- package/dist/extensions/stripe/actions/embeddedCheckout/config/fields.js.map +1 -0
- package/dist/extensions/stripe/actions/embeddedCheckout/config/index.d.ts +2 -0
- package/dist/extensions/stripe/actions/embeddedCheckout/config/index.js +9 -0
- package/dist/extensions/stripe/actions/embeddedCheckout/config/index.js.map +1 -0
- package/dist/extensions/stripe/actions/embeddedCheckout/embeddedCheckout.d.ts +4 -0
- package/dist/extensions/stripe/actions/embeddedCheckout/embeddedCheckout.js +33 -0
- package/dist/extensions/stripe/actions/embeddedCheckout/embeddedCheckout.js.map +1 -0
- package/dist/extensions/stripe/actions/embeddedCheckout/embeddedCheckout.test.d.ts +1 -0
- package/dist/extensions/stripe/actions/embeddedCheckout/embeddedCheckout.test.js +25 -0
- package/dist/extensions/stripe/actions/embeddedCheckout/embeddedCheckout.test.js.map +1 -0
- package/dist/extensions/stripe/actions/embeddedCheckout/index.d.ts +1 -0
- package/dist/extensions/stripe/actions/embeddedCheckout/index.js +6 -0
- package/dist/extensions/stripe/actions/embeddedCheckout/index.js.map +1 -0
- package/dist/extensions/stripe/actions/index.d.ts +180 -0
- package/dist/extensions/stripe/actions/index.js +12 -0
- package/dist/extensions/stripe/actions/index.js.map +1 -0
- package/dist/extensions/stripe/api/client.d.ts +2 -0
- package/dist/extensions/stripe/api/client.js +8 -0
- package/dist/extensions/stripe/api/client.js.map +1 -0
- package/dist/extensions/{avaAi → stripe}/index.d.ts +1 -1
- package/dist/extensions/stripe/index.js +22 -0
- package/dist/extensions/stripe/index.js.map +1 -0
- package/dist/extensions/stripe/lib/index.d.ts +1 -0
- package/dist/extensions/stripe/lib/index.js +6 -0
- package/dist/extensions/stripe/lib/index.js.map +1 -0
- package/dist/extensions/stripe/lib/validateAndCreateStripeSdk.d.ts +18 -0
- package/dist/extensions/stripe/lib/validateAndCreateStripeSdk.js +26 -0
- package/dist/extensions/stripe/lib/validateAndCreateStripeSdk.js.map +1 -0
- package/dist/extensions/stripe/settings.d.ts +67 -0
- package/dist/extensions/stripe/settings.js +57 -0
- package/dist/extensions/stripe/settings.js.map +1 -0
- package/dist/src/lib/fhir/transformers/AwellFormResponseToFhirQuestionnaireResponse/AwellFormResponseToFhirQuestionnaireResponseItems.d.ts +6 -0
- package/dist/src/lib/fhir/transformers/AwellFormResponseToFhirQuestionnaireResponse/AwellFormResponseToFhirQuestionnaireResponseItems.js +105 -0
- package/dist/src/lib/fhir/transformers/AwellFormResponseToFhirQuestionnaireResponse/AwellFormResponseToFhirQuestionnaireResponseItems.js.map +1 -0
- package/dist/src/lib/fhir/transformers/AwellFormResponseToFhirQuestionnaireResponse/AwellFormResponseToFhirQuestionnaireResponseItems.test.d.ts +1 -0
- package/dist/src/lib/fhir/transformers/AwellFormResponseToFhirQuestionnaireResponse/AwellFormResponseToFhirQuestionnaireResponseItems.test.js +138 -0
- package/dist/src/lib/fhir/transformers/AwellFormResponseToFhirQuestionnaireResponse/AwellFormResponseToFhirQuestionnaireResponseItems.test.js.map +1 -0
- package/dist/src/lib/fhir/transformers/AwellFormResponseToFhirQuestionnaireResponse/index.d.ts +1 -0
- package/dist/src/lib/fhir/transformers/AwellFormResponseToFhirQuestionnaireResponse/index.js +18 -0
- package/dist/src/lib/fhir/transformers/AwellFormResponseToFhirQuestionnaireResponse/index.js.map +1 -0
- package/dist/src/lib/fhir/transformers/AwellFormToFhirQuestionnaire/AwellFormToFhirQuestionnaire.d.ts +3 -0
- package/dist/src/lib/fhir/transformers/AwellFormToFhirQuestionnaire/AwellFormToFhirQuestionnaire.js +121 -0
- package/dist/src/lib/fhir/transformers/AwellFormToFhirQuestionnaire/AwellFormToFhirQuestionnaire.js.map +1 -0
- package/dist/src/lib/fhir/transformers/AwellFormToFhirQuestionnaire/AwellFormToFhirQuestionnaire.test.d.ts +1 -0
- package/dist/src/lib/fhir/transformers/AwellFormToFhirQuestionnaire/AwellFormToFhirQuestionnaire.test.js +112 -0
- package/dist/src/lib/fhir/transformers/AwellFormToFhirQuestionnaire/AwellFormToFhirQuestionnaire.test.js.map +1 -0
- package/dist/src/lib/fhir/transformers/AwellFormToFhirQuestionnaire/index.d.ts +1 -0
- package/dist/src/lib/fhir/transformers/AwellFormToFhirQuestionnaire/index.js +18 -0
- package/dist/src/lib/fhir/transformers/AwellFormToFhirQuestionnaire/index.js.map +1 -0
- package/dist/src/lib/fhir/transformers/__testdata__/formDefinition.data.d.ts +2 -0
- package/dist/src/lib/fhir/transformers/__testdata__/formDefinition.data.js +264 -0
- package/dist/src/lib/fhir/transformers/__testdata__/formDefinition.data.js.map +1 -0
- package/dist/src/lib/fhir/transformers/__testdata__/formResponse.data.d.ts +2 -0
- package/dist/src/lib/fhir/transformers/__testdata__/formResponse.data.js +68 -0
- package/dist/src/lib/fhir/transformers/__testdata__/formResponse.data.js.map +1 -0
- package/dist/src/lib/fhir/transformers/__testdata__/index.d.ts +2 -0
- package/dist/src/lib/fhir/transformers/__testdata__/index.js +19 -0
- package/dist/src/lib/fhir/transformers/__testdata__/index.js.map +1 -0
- package/dist/src/lib/fhir/transformers/index.d.ts +2 -0
- package/dist/src/lib/fhir/transformers/index.js +19 -0
- package/dist/src/lib/fhir/transformers/index.js.map +1 -0
- package/package.json +9 -5
- package/dist/extensions/avaAi/common/sdk/openAiSdk.d.ts +0 -2
- package/dist/extensions/avaAi/common/sdk/openAiSdk.js +0 -5
- package/dist/extensions/avaAi/common/sdk/openAiSdk.js.map +0 -1
- package/dist/extensions/avaAi/index.js +0 -21
- package/dist/extensions/avaAi/index.js.map +0 -1
- package/dist/extensions/avaAi/settings.d.ts +0 -18
- package/dist/extensions/avaAi/settings.js +0 -22
- package/dist/extensions/avaAi/settings.js.map +0 -1
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/dataPoints.js +0 -15
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/dataPoints.js.map +0 -1
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/fields.d.ts +0 -29
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/fields.js +0 -46
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/fields.js.map +0 -1
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/index.d.ts +0 -2
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/config/index.js.map +0 -1
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/generatePatientSummary.js.map +0 -1
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/generatePatientSummary.test.js +0 -27
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/generatePatientSummary.test.js.map +0 -1
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/index.d.ts +0 -1
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/index.js +0 -6
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.d.ts +0 -3
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.js +0 -43
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.js.map +0 -1
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.test.js +0 -133
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.test.js.map +0 -1
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/index.d.ts +0 -1
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/index.js +0 -6
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/generatePromp/index.js.map +0 -1
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/index.d.ts +0 -1
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/index.js +0 -6
- package/dist/extensions/avaAi/v1/actions/generatePatientSummary/utils/index.js.map +0 -1
- package/dist/extensions/avaAi/v1/actions/index.d.ts +0 -1
- package/dist/extensions/avaAi/v1/actions/index.js +0 -6
- package/dist/extensions/avaAi/v1/actions/index.js.map +0 -1
- package/dist/extensions/awell/v1/gql/fragment-masking.d.ts +0 -13
- package/dist/extensions/awell/v1/gql/fragment-masking.js +0 -12
- package/dist/extensions/awell/v1/gql/fragment-masking.js.map +0 -1
- package/dist/extensions/awell/v1/gql/gql.d.ts +0 -36
- package/dist/extensions/awell/v1/gql/gql.js +0 -47
- package/dist/extensions/awell/v1/gql/gql.js.map +0 -1
- package/dist/extensions/awell/v1/gql/index.d.ts +0 -2
- package/dist/extensions/awell/v1/gql/index.js.map +0 -1
- /package/dist/extensions/{avaAi/v1/actions/generatePatientSummary/generatePatientSummary.test.d.ts → awell/v1/actions/addIdentifierToPatient/addIdentifierToPatient.test.d.ts} +0 -0
- /package/dist/extensions/{avaAi/v1/actions/generatePatientSummary/utils/generatePromp/generatePrompt.test.d.ts → awell/v1/actions/getPatientByIdentifier/getPatientByIdentifier.test.d.ts} +0 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const DockEnvironmentSchema: z.ZodPipeline<z.ZodString, z.ZodEnum<["DEVELOPMENT", "PRODUCTION"]>>;
|
3
|
+
export type DockEnvironment = z.infer<typeof DockEnvironmentSchema>;
|
4
|
+
export declare const AUTH_URLS: Record<DockEnvironment, string>;
|
5
|
+
export declare const API_URLS: Record<DockEnvironment, string>;
|
6
|
+
export declare const DockApiScopes: string;
|
7
|
+
export declare const DockSettingsSchema: z.ZodObject<{
|
8
|
+
environment: z.ZodPipeline<z.ZodString, z.ZodEnum<["DEVELOPMENT", "PRODUCTION"]>>;
|
9
|
+
clientId: z.ZodString;
|
10
|
+
clientSecret: z.ZodString;
|
11
|
+
apiKey: z.ZodString;
|
12
|
+
organizationId: z.ZodString;
|
13
|
+
userId: z.ZodString;
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
15
|
+
environment: "DEVELOPMENT" | "PRODUCTION";
|
16
|
+
apiKey: string;
|
17
|
+
clientId: string;
|
18
|
+
userId: string;
|
19
|
+
clientSecret: string;
|
20
|
+
organizationId: string;
|
21
|
+
}, {
|
22
|
+
environment: string;
|
23
|
+
apiKey: string;
|
24
|
+
clientId: string;
|
25
|
+
userId: string;
|
26
|
+
clientSecret: string;
|
27
|
+
organizationId: string;
|
28
|
+
}>;
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DockSettingsSchema = exports.DockApiScopes = exports.API_URLS = exports.AUTH_URLS = exports.DockEnvironmentSchema = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
exports.DockEnvironmentSchema = zod_1.z
|
6
|
+
.string()
|
7
|
+
.min(1)
|
8
|
+
.toUpperCase()
|
9
|
+
.pipe(zod_1.z.enum(['DEVELOPMENT', 'PRODUCTION']));
|
10
|
+
exports.AUTH_URLS = {
|
11
|
+
PRODUCTION: 'https://partner-auth.dock.health/oauth2/token',
|
12
|
+
DEVELOPMENT: 'https://partner-auth-dev.dockhealth.app/oauth2/token',
|
13
|
+
};
|
14
|
+
exports.API_URLS = {
|
15
|
+
PRODUCTION: 'https://partner-api.dock.health',
|
16
|
+
DEVELOPMENT: 'https://partner-api-dev.dockhealth.app',
|
17
|
+
};
|
18
|
+
/**
|
19
|
+
* The scopes we need to to execute all actions in this extension
|
20
|
+
*/
|
21
|
+
const scopesArray = [
|
22
|
+
'dockhealth/user.all.read',
|
23
|
+
'dockhealth/user.all.write',
|
24
|
+
'dockhealth/patient.all.read',
|
25
|
+
'dockhealth/patient.all.write',
|
26
|
+
];
|
27
|
+
exports.DockApiScopes = scopesArray.join(' ');
|
28
|
+
exports.DockSettingsSchema = zod_1.z.object({
|
29
|
+
environment: exports.DockEnvironmentSchema,
|
30
|
+
clientId: zod_1.z.string().min(1),
|
31
|
+
clientSecret: zod_1.z.string().min(1),
|
32
|
+
apiKey: zod_1.z.string().min(1),
|
33
|
+
organizationId: zod_1.z.string().min(1),
|
34
|
+
userId: zod_1.z.string().min(1),
|
35
|
+
});
|
36
|
+
//# sourceMappingURL=dock.types.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"dock.types.js","sourceRoot":"","sources":["../../../../extensions/dockHealth/lib/dock.types.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEV,QAAA,qBAAqB,GAAG,OAAC;KACnC,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,WAAW,EAAE;KACb,IAAI,CAAC,OAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,YAAY,CAAC,CAAC,CAAC,CAAA;AAIjC,QAAA,SAAS,GAAoC;IACxD,UAAU,EAAE,+CAA+C;IAC3D,WAAW,EAAE,sDAAsD;CACpE,CAAA;AAEY,QAAA,QAAQ,GAAoC;IACvD,UAAU,EAAE,iCAAiC;IAC7C,WAAW,EAAE,wCAAwC;CACtD,CAAA;AAED;;GAEG;AACH,MAAM,WAAW,GAAG;IAClB,0BAA0B;IAC1B,2BAA2B;IAC3B,6BAA6B;IAC7B,8BAA8B;CAC/B,CAAA;AAEY,QAAA,aAAa,GAAG,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AAErC,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,WAAW,EAAE,6BAAqB;IAClC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACzB,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACjC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAC1B,CAAC,CAAA"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
exports.validatePayloadAndCreateClient = void 0;
|
18
|
+
var validatePayloadAndCreateClient_1 = require("./validatePayloadAndCreateClient");
|
19
|
+
Object.defineProperty(exports, "validatePayloadAndCreateClient", { enumerable: true, get: function () { return validatePayloadAndCreateClient_1.validatePayloadAndCreateClient; } });
|
20
|
+
__exportStar(require("./dock.types"), exports);
|
21
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../extensions/dockHealth/lib/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,mFAAiF;AAAxE,gJAAA,8BAA8B,OAAA;AACvC,+CAA4B"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
import { DockAPIClient } from '../api/client';
|
3
|
+
import { DockSettingsSchema } from './dock.types';
|
4
|
+
type ValidateAndCreateClient = <T extends z.ZodTypeAny>(args: {
|
5
|
+
fieldsSchema: T;
|
6
|
+
payload: unknown;
|
7
|
+
}) => Promise<{
|
8
|
+
dockClient: DockAPIClient;
|
9
|
+
fields: z.infer<(typeof args)['fieldsSchema']>;
|
10
|
+
settings: z.infer<typeof DockSettingsSchema>;
|
11
|
+
pathwayId: string;
|
12
|
+
activityId: string;
|
13
|
+
}>;
|
14
|
+
export declare const validatePayloadAndCreateClient: ValidateAndCreateClient;
|
15
|
+
export {};
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.validatePayloadAndCreateClient = void 0;
|
7
|
+
const extensions_core_1 = require("@awell-health/extensions-core");
|
8
|
+
const zod_1 = __importDefault(require("zod"));
|
9
|
+
const client_1 = require("../api/client");
|
10
|
+
const dock_types_1 = require("./dock.types");
|
11
|
+
const validatePayloadAndCreateClient = async ({ fieldsSchema, payload, }) => {
|
12
|
+
const { settings: { environment, clientId, clientSecret, apiKey, organizationId, userId, }, pathway: { id: pathwayId }, activity: { id: activityId }, fields, settings, } = (0, extensions_core_1.validate)({
|
13
|
+
schema: zod_1.default.object({
|
14
|
+
fields: fieldsSchema,
|
15
|
+
settings: dock_types_1.DockSettingsSchema,
|
16
|
+
pathway: zod_1.default.object({ id: zod_1.default.string() }),
|
17
|
+
activity: zod_1.default.object({ id: zod_1.default.string() }),
|
18
|
+
}),
|
19
|
+
payload,
|
20
|
+
});
|
21
|
+
const dockClient = new client_1.DockAPIClient({
|
22
|
+
authUrl: dock_types_1.AUTH_URLS[environment],
|
23
|
+
baseUrl: dock_types_1.API_URLS[environment],
|
24
|
+
requestConfig: {
|
25
|
+
client_id: clientId,
|
26
|
+
client_secret: clientSecret,
|
27
|
+
scope: dock_types_1.DockApiScopes,
|
28
|
+
},
|
29
|
+
apiKey,
|
30
|
+
organizationId,
|
31
|
+
userId,
|
32
|
+
});
|
33
|
+
return { dockClient, fields, settings, pathwayId, activityId };
|
34
|
+
};
|
35
|
+
exports.validatePayloadAndCreateClient = validatePayloadAndCreateClient;
|
36
|
+
//# sourceMappingURL=validatePayloadAndCreateClient.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"validatePayloadAndCreateClient.js","sourceRoot":"","sources":["../../../../extensions/dockHealth/lib/validatePayloadAndCreateClient.ts"],"names":[],"mappings":";;;;;;AAAA,mEAAwD;AACxD,8CAAmB;AACnB,0CAA6C;AAC7C,6CAKqB;AAad,MAAM,8BAA8B,GAA4B,KAAK,EAAE,EAC5E,YAAY,EACZ,OAAO,GACR,EAAE,EAAE;IACH,MAAM,EACJ,QAAQ,EAAE,EACR,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,cAAc,EACd,MAAM,GACP,EACD,OAAO,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,EAC1B,QAAQ,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,EAC5B,MAAM,EACN,QAAQ,GACT,GAAG,IAAA,0BAAQ,EAAC;QACX,MAAM,EAAE,aAAC,CAAC,MAAM,CAAC;YACf,MAAM,EAAE,YAAY;YACpB,QAAQ,EAAE,+BAAkB;YAC5B,OAAO,EAAE,aAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,aAAC,CAAC,MAAM,EAAE,EAAE,CAAC;YACrC,QAAQ,EAAE,aAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,aAAC,CAAC,MAAM,EAAE,EAAE,CAAC;SACvC,CAAC;QACF,OAAO;KACR,CAAC,CAAA;IAEF,MAAM,UAAU,GAAG,IAAI,sBAAa,CAAC;QACnC,OAAO,EAAE,sBAAS,CAAC,WAAW,CAAC;QAC/B,OAAO,EAAE,qBAAQ,CAAC,WAAW,CAAC;QAC9B,aAAa,EAAE;YACb,SAAS,EAAE,QAAQ;YACnB,aAAa,EAAE,YAAY;YAC3B,KAAK,EAAE,0BAAa;SACrB;QACD,MAAM;QACN,cAAc;QACd,MAAM;KACP,CAAC,CAAA;IAEF,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,CAAA;AAChE,CAAC,CAAA;AAzCY,QAAA,8BAA8B,kCAyC1C"}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
export declare const settings: {
|
2
|
+
environment: {
|
3
|
+
key: string;
|
4
|
+
label: string;
|
5
|
+
obfuscated: false;
|
6
|
+
required: false;
|
7
|
+
description: string;
|
8
|
+
};
|
9
|
+
clientId: {
|
10
|
+
key: string;
|
11
|
+
label: string;
|
12
|
+
obfuscated: false;
|
13
|
+
required: true;
|
14
|
+
description: string;
|
15
|
+
};
|
16
|
+
clientSecret: {
|
17
|
+
key: string;
|
18
|
+
label: string;
|
19
|
+
obfuscated: true;
|
20
|
+
required: true;
|
21
|
+
description: string;
|
22
|
+
};
|
23
|
+
apiKey: {
|
24
|
+
key: string;
|
25
|
+
label: string;
|
26
|
+
obfuscated: true;
|
27
|
+
required: true;
|
28
|
+
description: string;
|
29
|
+
};
|
30
|
+
organizationId: {
|
31
|
+
key: string;
|
32
|
+
label: string;
|
33
|
+
obfuscated: false;
|
34
|
+
required: true;
|
35
|
+
description: string;
|
36
|
+
};
|
37
|
+
userId: {
|
38
|
+
key: string;
|
39
|
+
label: string;
|
40
|
+
obfuscated: false;
|
41
|
+
required: true;
|
42
|
+
description: string;
|
43
|
+
};
|
44
|
+
};
|
@@ -0,0 +1,48 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.settings = void 0;
|
4
|
+
exports.settings = {
|
5
|
+
environment: {
|
6
|
+
key: 'environment',
|
7
|
+
label: 'Environment',
|
8
|
+
obfuscated: false,
|
9
|
+
required: false,
|
10
|
+
description: 'Dock Health supports two environments. Use the "DEVELOPMENT" environment to test your code and the "PRODUCTION" environment for your live application',
|
11
|
+
},
|
12
|
+
clientId: {
|
13
|
+
key: 'clientId',
|
14
|
+
label: 'Client ID',
|
15
|
+
obfuscated: false,
|
16
|
+
required: true,
|
17
|
+
description: 'Used to perform the Client Credential grant to obtain an access token',
|
18
|
+
},
|
19
|
+
clientSecret: {
|
20
|
+
key: 'clientSecret',
|
21
|
+
label: 'Client secret',
|
22
|
+
obfuscated: true,
|
23
|
+
required: true,
|
24
|
+
description: 'Used to perform the Client Credential grant to obtain an access token',
|
25
|
+
},
|
26
|
+
apiKey: {
|
27
|
+
key: 'apiKey',
|
28
|
+
label: 'API key',
|
29
|
+
obfuscated: true,
|
30
|
+
required: true,
|
31
|
+
description: 'The API key you received from Dock Health.',
|
32
|
+
},
|
33
|
+
organizationId: {
|
34
|
+
key: 'organizationId',
|
35
|
+
label: 'Organization ID',
|
36
|
+
obfuscated: false,
|
37
|
+
required: true,
|
38
|
+
description: 'Identifier of the organization making the request.',
|
39
|
+
},
|
40
|
+
userId: {
|
41
|
+
key: 'userId',
|
42
|
+
label: 'User ID',
|
43
|
+
obfuscated: false,
|
44
|
+
required: true,
|
45
|
+
description: 'Identifier of the user on whose behalf the request is made.',
|
46
|
+
},
|
47
|
+
};
|
48
|
+
//# sourceMappingURL=settings.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../extensions/dockHealth/settings.ts"],"names":[],"mappings":";;;AAEa,QAAA,QAAQ,GAAG;IACtB,WAAW,EAAE;QACX,GAAG,EAAE,aAAa;QAClB,KAAK,EAAE,aAAa;QACpB,UAAU,EAAE,KAAK;QACjB,QAAQ,EAAE,KAAK;QACf,WAAW,EACT,uJAAuJ;KAC1J;IACD,QAAQ,EAAE;QACR,GAAG,EAAE,UAAU;QACf,KAAK,EAAE,WAAW;QAClB,UAAU,EAAE,KAAK;QACjB,QAAQ,EAAE,IAAI;QACd,WAAW,EACT,uEAAuE;KAC1E;IACD,YAAY,EAAE;QACZ,GAAG,EAAE,cAAc;QACnB,KAAK,EAAE,eAAe;QACtB,UAAU,EAAE,IAAI;QAChB,QAAQ,EAAE,IAAI;QACd,WAAW,EACT,uEAAuE;KAC1E;IACD,MAAM,EAAE;QACN,GAAG,EAAE,QAAQ;QACb,KAAK,EAAE,SAAS;QAChB,UAAU,EAAE,IAAI;QAChB,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,4CAA4C;KAC1D;IACD,cAAc,EAAE;QACd,GAAG,EAAE,gBAAgB;QACrB,KAAK,EAAE,iBAAiB;QACxB,UAAU,EAAE,KAAK;QACjB,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,oDAAoD;KAClE;IACD,MAAM,EAAE;QACN,GAAG,EAAE,QAAQ;QACb,KAAK,EAAE,SAAS;QAChB,UAAU,EAAE,KAAK;QACjB,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,6DAA6D;KAC3E;CACgC,CAAA"}
|
package/dist/extensions/index.js
CHANGED
@@ -24,7 +24,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
24
24
|
};
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
26
26
|
exports.extensions = exports.markdown = void 0;
|
27
|
-
// import { AvaAi } from './avaAi'
|
28
27
|
const awell_1 = require("./awell");
|
29
28
|
const calDotCom_1 = require("./calDotCom");
|
30
29
|
const calendly_1 = require("./calendly");
|
@@ -42,7 +41,6 @@ const math_1 = require("./math");
|
|
42
41
|
const messagebird_1 = require("./messagebird");
|
43
42
|
const metriport_1 = require("./metriport");
|
44
43
|
const twilio_1 = require("./twilio");
|
45
|
-
// import { Wellinks } from './wellinks-public'
|
46
44
|
const sendgrid_extension_1 = require("./sendgrid-extension");
|
47
45
|
const cmDotCom_1 = require("./cmDotCom");
|
48
46
|
const talkDesk_1 = require("./talkDesk");
|
@@ -59,13 +57,12 @@ const athenahealth_1 = require("./athenahealth");
|
|
59
57
|
const icd_1 = require("./icd");
|
60
58
|
const textline_1 = require("./textline");
|
61
59
|
const medplum_1 = require("./medplum");
|
60
|
+
const dockHealth_1 = require("./dockHealth");
|
61
|
+
const stripe_1 = require("./stripe");
|
62
62
|
const json = __importStar(require("./markdown.json"));
|
63
63
|
const external_server_1 = require("./external-server");
|
64
64
|
exports.markdown = json;
|
65
65
|
exports.extensions = [
|
66
|
-
// AvaAi, Best to disable this until we cleared out data privacy & HIPAA with OpenAI
|
67
|
-
// ZusHealth is not ready for public use yet
|
68
|
-
// ZusHealth,
|
69
66
|
awell_1.Awell,
|
70
67
|
athenahealth_1.athenahealth,
|
71
68
|
calDotCom_1.CalDotCom,
|
@@ -74,6 +71,7 @@ exports.extensions = [
|
|
74
71
|
cloudinary_1.Cloudinary,
|
75
72
|
cmDotCom_1.CmDotCom,
|
76
73
|
collectData_1.CollectData,
|
74
|
+
dockHealth_1.dockHealth,
|
77
75
|
docuSign_1.DocuSign,
|
78
76
|
dropboxSign_1.DropboxSign,
|
79
77
|
elation_1.Elation,
|
@@ -89,18 +87,17 @@ exports.extensions = [
|
|
89
87
|
mailgun_1.Mailgun,
|
90
88
|
math_1.MathExtension,
|
91
89
|
messagebird_1.MessageBird,
|
90
|
+
medplum_1.Medplum,
|
92
91
|
metriport_1.Metriport,
|
93
92
|
nexuzhealth_1.nexuzhealth,
|
94
93
|
sendbird_1.Sendbird,
|
95
94
|
sendgrid_extension_1.Sendgrid,
|
96
|
-
|
95
|
+
stripe_1.stripe,
|
97
96
|
talkDesk_1.TalkDesk,
|
97
|
+
textline_1.TextLine,
|
98
98
|
transform_1.Transform,
|
99
99
|
twilio_1.Twilio,
|
100
|
-
// Wellinks,
|
101
100
|
zendesk_1.Zendesk,
|
102
101
|
westFax_1.WestFax,
|
103
|
-
textline_1.TextLine,
|
104
|
-
medplum_1.Medplum,
|
105
102
|
];
|
106
103
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../extensions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../extensions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAA+B;AAC/B,2CAAuC;AACvC,yCAAqC;AACrC,mDAA+C;AAC/C,6CAAyC;AACzC,+CAA2C;AAC3C,uCAAmC;AACnC,iDAA6C;AAC7C,yCAAqC;AACrC,yCAAqC;AACrC,+CAA0C;AAC1C,2CAAuC;AACvC,uCAAmC;AACnC,iCAAsC;AACtC,+CAA2C;AAC3C,2CAAuC;AACvC,qCAAiC;AACjC,6DAA+C;AAC/C,yCAAqC;AACrC,yCAAqC;AACrC,yCAAqC;AACrC,yCAAqC;AACrC,2CAAuC;AACvC,yCAAqC;AACrC,uCAAmC;AACnC,uCAAmC;AACnC,uCAAmC;AACnC,+CAA2C;AAC3C,+CAA2C;AAC3C,iDAA6C;AAC7C,+BAA2B;AAC3B,yCAAqC;AACrC,uCAAmC;AACnC,6CAAyC;AACzC,qCAAiC;AAEjC,sDAAuC;AACvC,uDAAkD;AAGrC,QAAA,QAAQ,GAAa,IAAI,CAAA;AAEzB,QAAA,UAAU,GAAG;IACxB,aAAK;IACL,2BAAY;IACZ,qBAAS;IACT,mBAAQ;IACR,6BAAa;IACb,uBAAU;IACV,mBAAQ;IACR,yBAAW;IACX,uBAAU;IACV,mBAAQ;IACR,yBAAW;IACX,iBAAO;IACP,2BAAY;IACZ,gCAAc;IACd,mBAAQ;IACR,mBAAQ;IACR,wBAAU;IACV,SAAG;IACH,iBAAO;IACP,mBAAQ;IACR,qBAAS;IACT,iBAAO;IACP,oBAAa;IACb,yBAAW;IACX,iBAAO;IACP,qBAAS;IACT,yBAAW;IACX,mBAAQ;IACR,6BAAQ;IACR,eAAM;IACN,mBAAQ;IACR,mBAAQ;IACR,qBAAS;IACT,eAAM;IACN,iBAAO;IACP,iBAAO;CACR,CAAA"}
|
@@ -3,13 +3,9 @@
|
|
3
3
|
"readme": "---\ntitle: Athena\ndescription: Athena offers medical groups, hospitals, and health systems cloud-based EHR, practice management, and patient engagement services that seamlessly connect care and drive results for every client. \n---\n\n## Athenahealth\n\nAthena offers medical groups, hospitals, and health systems cloud-based EHR, practice management, and patient engagement services that seamlessly connect care and drive results for every client.\n\n## Extension settings\n\nFor the extension to function correctly, you must configure the following settings:\n\n- Auth server URL (e.g. https://api.preview.platform.athenahealth.com/oauth2/v1/token)\n- Client ID\n- Client secret\n- API URL (https://api.preview.platform.athenahealth.com)\n- Scope\n- Practice ID\n\n\n## Actions\n\n### Create patient\n\nCreates a patient in athenahealth. First name, last name, date of birth, email, and department ID are required. If a patient with the same name, date of birth, and email already exists, a new patient record will not be created. Instead, the existing patient's ID will be returned.\n\n### Get patient\n\nRetrieve the details of a given patient within a given practice.\n\n### Get appointment\n\nRetrieve the details of an appointment.\n\n### Create appointment note\n\nCreate a note which will be appended to an appointment",
|
4
4
|
"changelog": "# Athena changelog"
|
5
5
|
},
|
6
|
-
"avaAi": {
|
7
|
-
"readme": "---\ntitle: AvaAI\ndescription: Experimental extension to introduce AI actions in care flows.\n---\n# Awell Virtual (AI) Assistant - Ava\n\n## Extension settings\n\nIn order to set up this extension, you will need to provide an Open AI API key.\n\n## Custom Actions\n\n### Generate patient summary\n\nGenerates a human-readable summary about the patient based on the characteristics in the patient's profile.\n\nYou can specify which characteristics of the patient you would like to include by providing a comma-separated string with the below possible options:\n\n- first_name\n- last_name\n- street\n- city\n- country\n- state\n- zip\n- birth_date\n- email\n- mobile_phone\n- phone\n- national_registry_number\n- patient_code\n- preferred_language\n- sex\n\nIf no characteristics are passed, by default a summary will be generated that includes all characteristics.",
|
8
|
-
"changelog": "# Ava changelog"
|
9
|
-
},
|
10
6
|
"awell": {
|
11
|
-
"readme": "---\ntitle: Awell Workflow\ndescription: Enrich your care flows with powerful Awell actions.\n---\n\n# Awell API extension\n\n## Extension settings\n\nYou will need to provide the [API URL](https://developers.awellhealth.com/awell-orchestration/api-reference/overview/endpoints) and an [API key](https://developers.awellhealth.com/awell-orchestration/api-reference/overview/authorization).\n\n## Custom Actions\n\n### Start care flow\n\nStarts a new care flow for the patient enrolled in your current care flow.\n\n**Passing baseline info:**\nPlease read the documentation on [our developer hub](https://developers.awellhealth.com/awell-orchestration/api-reference/mutations/start-pathway) to learn more about how to pass baseline info.\n\n**Example of how to configure a value for the baseline info action field:**\n\n```json\n[\n {\n \"data_point_definition_id\": \"age\",\n \"value\": \"29\"\n },\n {\n \"data_point_definition_id\": \"dob\",\n \"value\": \"1993-11-30\"\n }\n]\n```\n\n### Stop care flow\n\nStops the care flow the patient is currently enrolled in. A reason is why you are stopping the care flow is mandatory.\n\n### Update patient\n\nAllows updating patient data for the patient currently enrolled in the care flow.\n\n### Is patient already enrolled in care flow\n\nChecks whether the patient is already enrolled in a care flow definition. The care flow the patient is currently enrolled in does not count and is excluded from the results.\n\n**Action fields:**\n\n- pathwayStatus: a comma-separated string of care flow statuses that will be used when looking for care flows the patient is already enrolled in. By default, we only look at active care flows. Options: \"active\", \"completed\", \"missing_baseline_info\", \"starting\", and \"stopped\".\n- careFlowDefinitionIds: a comma-separated string of care flow definition ids that will be used when looking for care flows the patient is already enrolled in. By default, we only search for care flows that match the current care flow definition id (i.e. is the patient already included in the current care flow?).\n\n**Data points:**\n\n- result: a boolean indicating whether the patient is already enrolled in another care flow that matches your criteria (status & care flow definition id)\n- nbrOfResults: the number of care flows found for the patient that match the criteria.\n- careFlowIds: a comma-separated string of care flow ids that matched your search criteria. It will be empty when the result is `false` because then there are no other care flow ids that match your criteria.\n\n### Search patients by patient code\n\nSearch whether, apart from the patient currently enrolled in the care flow, another patient with the same `patient_code` already exists.\n\n**Data points:**\n\n1. patientAlreadyExists: a boolean which will be true if minimum one patient with the patient code already exists.\n2. numberOfPatientsFound: the number of patients found with the same patient code.\n3. awellPatientIds: a comma-separated string of all Awell patient ids (except the current patient) that have the same patient code as the patient currently enrolled in the care flow. Will return an empty string when there are no other patients with the same patient code.\n\n## Webhooks\n\nWebhooks in the Awell extension offer ways to trigger a care flow based on the end of another care flow, or from any event that happens in your system (via the pathwayStart webhook).\n",
|
12
|
-
"changelog": "# Awell changelog\n\n## October 26, 2023\n\nGeneric webhook to start a care flow added\n\n## April 19, 2023\n\nStop care flow action added.\nSearch patients by patient code action was added.\n\"Is patient enrolled in care flow\" action added.\n"
|
7
|
+
"readme": "---\ntitle: Awell Workflow\ndescription: Enrich your care flows with powerful Awell actions.\n---\n\n# Awell API extension\n\n## Extension settings\n\nYou will need to provide the [API URL](https://developers.awellhealth.com/awell-orchestration/api-reference/overview/endpoints) and an [API key](https://developers.awellhealth.com/awell-orchestration/api-reference/overview/authorization).\n\n## Custom Actions\n\n### Start care flow\n\nStarts a new care flow for the patient enrolled in your current care flow.\n\n**Passing baseline info:**\nPlease read the documentation on [our developer hub](https://developers.awellhealth.com/awell-orchestration/api-reference/mutations/start-pathway) to learn more about how to pass baseline info.\n\n**Example of how to configure a value for the baseline info action field:**\n\n```json\n[\n {\n \"data_point_definition_id\": \"age\",\n \"value\": \"29\"\n },\n {\n \"data_point_definition_id\": \"dob\",\n \"value\": \"1993-11-30\"\n }\n]\n```\n\n### Stop care flow\n\nStops the care flow the patient is currently enrolled in. A reason is why you are stopping the care flow is mandatory.\n\n### Update patient\n\nAllows updating patient data for the patient currently enrolled in the care flow.\n\n### Is patient already enrolled in care flow\n\nChecks whether the patient is already enrolled in a care flow definition. The care flow the patient is currently enrolled in does not count and is excluded from the results.\n\n**Action fields:**\n\n- pathwayStatus: a comma-separated string of care flow statuses that will be used when looking for care flows the patient is already enrolled in. By default, we only look at active care flows. Options: \"active\", \"completed\", \"missing_baseline_info\", \"starting\", and \"stopped\".\n- careFlowDefinitionIds: a comma-separated string of care flow definition ids that will be used when looking for care flows the patient is already enrolled in. By default, we only search for care flows that match the current care flow definition id (i.e. is the patient already included in the current care flow?).\n\n**Data points:**\n\n- result: a boolean indicating whether the patient is already enrolled in another care flow that matches your criteria (status & care flow definition id)\n- nbrOfResults: the number of care flows found for the patient that match the criteria.\n- careFlowIds: a comma-separated string of care flow ids that matched your search criteria. It will be empty when the result is `false` because then there are no other care flow ids that match your criteria.\n\n### Search patients by patient code\n\nNote that this action is deprecated and we recommend using [identifiers](https://developers.awellhealth.com/awell-orchestration/docs/misc/patient-identifiers) instead.\n\nSearch whether, apart from the patient currently enrolled in the care flow, another patient with the same `patient_code` already exists.\n\n**Data points:**\n\n1. patientAlreadyExists: a boolean which will be true if minimum one patient with the patient code already exists.\n2. numberOfPatientsFound: the number of patients found with the same patient code.\n3. awellPatientIds: a comma-separated string of all Awell patient ids (except the current patient) that have the same patient code as the patient currently enrolled in the care flow. Will return an empty string when there are no other patients with the same patient code.\n\n### Get patient by identifier\n\nThis action lets you check if a patient with a specific identifier already exists in Awell. It's particularly useful when a patient's identity is initially anonymous during the start of the care flow, but later becomes identifiable through the identifiers collected during the care flow. This check ensures whether a patient with that identifier is already present or not.\n\n### Add identifier to patient\n\nThis action enables adding an identifier to the current patient. We recommend using the \"Get patient by identifier\" action first to verify if a patient with that identifier already exists. If the identifier isn't already associated with another patient, it's safe to add it to the current patient. If a match is found, implementing a strategy for deduplication is advisable.\n\n## Webhooks\n\nWebhooks in the Awell extension offer ways to trigger a care flow based on the end of another care flow, or from any event that happens in your system (via the pathwayStart webhook).\n",
|
8
|
+
"changelog": "# Awell changelog\n\n## April 2024\n\nTwo new action were added: \"Get patient by identifier\" and \"Add identifier to patient\".\n\n## October 26, 2023\n\nGeneric webhook to start a care flow added\n\n## April 19, 2023\n\nStop care flow action added.\nSearch patients by patient code action was added.\n\"Is patient enrolled in care flow\" action added.\n"
|
13
9
|
},
|
14
10
|
"calDotCom": {
|
15
11
|
"readme": "---\ntitle: Cal.com\ndescription: Cal.com is a modern and open source scheduling platform. With HIPAA, GDPR and SOC2 compliance, you can ensure that data is well-protected and that makes Cal.com a great fit for healthcare use cases.\n---\n\n# Cal.com\n\n[Cal.com](https://cal.com/) is a modern and **open source** scheduling platform. With HIPAA, GDPR and SOC2 compliance, you can ensure that data is well-protected and that makes Cal.com a great fit for healthcare use cases.\n\n## Cal.com x Awell\n\nThis extension allows you to let a stakeholder (eg: a patient) book an appointment as part of a care flow and to retrieve the booking details of an appointment.\n\n## Extension settings\n\nIn order to set up this extension, **you will need to provide a Cal.com API key**. You can obtain an API key via the Cal.com portal (`Settings > Developer > API keys`).\n\n## Custom Actions\n\n### Book appointment action\n\nYou can add this action to your care flow to enable a stakeholder (eg: a patient) to book an appointment in a predefined calendar. This is a **stakeholder-actionable action** which means it requires an actual user to book an appointment. Also note that this is a blocking action and that the care flow will not progress - unless there are parallel tracks or transitions - until the action/activity is completed (i.e. an appointment was booked).\n\n**The actual booking of the appointment can happen in two ways:**\n\n1. With Awell Hosted Pages: when the \"Book appointment\" action is activated, we serve the booking widget to the stakeholder so they can book an appointment directly from within Awell Hosted Pages.\n2. If you are not leveraging Awell Hosted Pages but have built a custom integration then we expose you all the details via our API so you can either create a Cal.com booking widget yourself or redirect the user to the Cal.com platform. Additionally, we expose a mutation that allows you to complete the activity and pass in the required data.\n\nBelow you can find an overview of all Awell Apps and whether they support rendering of the booking widget.\n\n| App | Supported |\n| ----------------------------- | --------- |\n| Awell Hosted Pages | Yes |\n| Your app (custom integration) | Yes |\n| Awell Care | No |\n| Awell MyCare | No |\n\n#### Data points\n\nAdding this action to your care flow will expose a new data point you can use in your care flow, the `bookingId`. When the care flow is orchestrated and the book appointment activity is completed, the id of the actual booking will be ingested as the value of that `bookingId` data point.\n\n### Get booking action\n\nThis action allows you to fetch the details of a booking based on the provided `bookingId`. This action will make the following data points available for you to use in your care flow:\n\n1. Event type ID\n2. Title\n3. Description\n4. Start time\n5. End time\n6. Status\n7. Cancel URL\n8. Reschedule URL\n9. Video call URL (if available)\n10. First Attendee's name\n12. First Attendee's timezone\n12. First Attendee's email\n13. Organizer's email\n\n### Update booking\n\nUpdates a booking and saves new `bookingId` and `bookingUid` as Data Points. Values possible to update:\n\n- Title - Title of Booking event\n- Description - Description of the meeting\n- Status - Status of the meeting to be set. Possible values: \"ACCEPTED\", \"PENDING\", \"CANCELLED\", \"REJECTED\".\n- Start - Start time of the Event in ISO 8601 format, e.g. 2023-05-24T13:00:00.000Z. Please note that start/end time must be within user's availability hours.\n- End - End time of the Event in ISO 8601 format, e.g. 2023-05-24T13:00:00.000Z. Please note that start/end time must be within user's availability hours.\n\n### Create booking\n\nCreates a booking and saves new `bookingId` as Data Points. Available fields:\n\n- Event Type ID - ID of the event type to book\n- Responses - Object containing email, name, location\n - ```json\n \"responses\": {\n \"name\": \"John Doe\",\n \"email\": \"john.doe@example.com\",\n \"location\": \"Calcom HQ\"\n },\n ```\n- Metadata - Any metadata associated with the booking\n- Timezone - Timezone of the Attendee\n- Language - Language of the Attendee\n- Recurring Event ID - Recurring Event ID if the event is recurring\n- Title - Title of Booking event\n- Description - Description of the meeting\n- Status - Status of the meeting to be set. Possible values: \"ACCEPTED\", \"PENDING\", \"CANCELLED\", \"REJECTED\".\n- Start - Start time of the Event in ISO 8601 format, e.g. 2023-05-24T13:00:00.000Z. Please note that start/end time must be within user's availability hours.\n- End - End time of the Event in ISO 8601 format, e.g. 2023-05-24T13:00:00.000Z. Please note that start/end time must be within user's availability hours.\n\n### Delete Boooking\n\nDeletes a Booking with a given ID.\n\n## Pricing\n\n**This extension is free** but keep in mind that you might need a paid plan for Cal.com depending on your needs.\n\n## Limitations\n\n### Rescheduling\n\nWhen a previously made booking is rescheduled, there is no way yet to get the new/updated booking details into the care flow or have the care flow react on the updated booking.\n\nAlso note that when a booking is rescheduled, Cal.com doesn't update the original booking resource but creates a new one instead. As far as we know, there is no reference from the old booking to the new (rescheduled) booking.\n\n#### Example\n\nAn appointment has been booked with Cal.com and we have the below booking resource:\n\n```json\n{\n ...,\n \"bookingId\": \"1\",\n \"date\": \"Jan 1, 2023\"\n}\n```\n\nHowever, the patient reschedules the booking to Jan 10, 2023. When querying Cal.com's API (`GET v1/bookings/{bookingId}`), it will still return the old booking date instead of the new/rescheduled date.\n\n```json\n{\n ...,\n \"bookingId\": \"1\",\n \"date\": \"Jan 1, 2023\"\n}\n```\n\n## Webhooks\n\nWebhooks offer a great way to automate the flow with Awell when invitees schedule, cancel, or reschedule events, or when the meeting ends.\n\n**Important notes:**\n\n1. An Awell webhook endpoint can only listen to one event type. So make sure that when you create a webhook in Cal.com, the subscriber URL and the event trigger match the Awell webhook endpoint. This also means there can only be one event type per subscriber URL.\n2. Using a secret to verify the authenticity of the received payload is not yet supported.\n3. Custom payload templates are not supported, please use the default ones.\n",
|
@@ -35,6 +31,10 @@
|
|
35
31
|
"readme": "---\ntitle: Advanced data collection\ndescription: Collect data from your users using a variety of input types and data sources\n---\n\nThis extension allows you to collect data from your users using a variety of more advanced input types and data sources.\n\n## Extension settings\n\nIn order to set up this extension, no settings are required.\n\n## Custom Actions\n\n### Dynamic choice selector\n\nStandard select questions in Awell forms have a discrete set of choices to select from that are defined at the time that the form is created. If the list of choices to present to your responders isn't known at the time the form is being built, or changes often, this action allows you to load choices dynamically from a remote data source.\n\nDynamically-loaded choices must adhere to the following format in a list form (i.e. an array):\n\n```json\n{\n \"id\": \"unique-id\",\n \"label\": \"Choice label\",\n \"value\": \"Choice value\"\n}\n```\n\nAdditionally, you can specify a free text search field (`Options - Search query param` field) to allow users to search through the choices. This is optional but highly recommended. If not specified, the choices will be fetched on question load and presented in a static list that cannot be filtered.\n\nAs an example, using the endpoint `https://example.com/choices` with a query parameter `search` (e.g. `https://example.com/choices?search=QUERY` where `QUERY` is whatever the user typed into the input), then the API is expected to return the choices based on that match the search term.\n\nWe recommend that your search logic returns an _alphabetically-sorted_ list of all options where the _lowercase_ label names _contain_ the _lowercase_ search term.\n\n```js\n// Example search logic\nconst searchTerm = req.query.search\nconst results = []\n\noptions.forEach((option) => {\n if (option.label.toLowerCase().includes(searchTerm.toLowerCase())) {\n results.push({\n label: option.label,\n value: option.value,\n id: option.id,\n })\n }\n})\n\nconst sortedResults = results.sort((a, b) => a.label.localeCompare(b.label))\nres.json(results)\n```\n",
|
36
32
|
"changelog": "# Collect Data changelog\n"
|
37
33
|
},
|
34
|
+
"dockHealth": {
|
35
|
+
"readme": "---\ntitle: Dock Health\ndescription: HIPAA-compliant task management and workflow automation for healthcare. Assign, track, automate, and complete administrative to-do lists.\n---\n\n## Dock Health\n\nHIPAA-compliant task management and workflow automation for healthcare. Assign, track, automate, and complete administrative to-do lists.\n\n## Extension settings\n\nFor the extension to function correctly, you must configure the following settings. You can read more about these settings [here](https://github.com/DockHealth/dockhealth-api).\n\n- Environment (production or development)\n- Client ID\n- Client secret\n- API key\n- Organiation identifier\n- User identifier",
|
36
|
+
"changelog": "# Dock Health changelog"
|
37
|
+
},
|
38
38
|
"docuSign": {
|
39
39
|
"readme": "---\ntitle: DocuSign\ndescription: Make your business faster, simpler and more cost-efficient with electronic agreements. Agree with confidence, with intuitive signing experiences across virtually any device.\n---\n# DocuSign\n\nMake your business faster, simpler and more cost-efficient with electronic agreements. Agree with confidence, with intuitive signing experiences across virtually any device.\n\n## Extension settings\n\nIn order to set up this extension, you will need to provide the following settings:\n\n1. **Integration key (client ID)** - An integration key identifies your integration and links to its configuration values. This can be obtained in your developer account from the **Apps and Keys** page\n2. **API Account ID** - A GUID value that identifies your account. This can be obtained in your developer account from the **Apps and Keys** page\n3. **Impersonated User ID (UserID)** - This is a GUID identifying the DocuSign user that you will be impersonating with the access token. Your own User ID can be found at the top of the **Apps and Keys** page.\n4. **RSA private key (in Base64 format)** - This is for the integration key you obtained above and can also be created on the **Apps and Keys** page (DocuSign also allows uploading your own keys). You only need the private key, and it can only be copied once. Make sure to retain it for your records. Provide it in Base64 format - if you copy the key as is, it will not be valid as newlines and formatting won't be persisted.\n5. **Base API URL** - Base API URL for API calls matching your environment on DocuSign. Defaults to: https://demo.docusign.net. Can be obtained from **Account Base URI** section of the **Apps and Keys** page or the `base_uri` property in the response of a call to the `/oauth/userinfo`.\n 1. `DEV` environment: https://demo.docusign.net (default)\n 2. `PRODUCTION` environment: **https://`{server}`.docusign.net**, where `{server}` is the data center location of your production account (for example, **CA**, **NA2**, or **EU**)\n6. **Return URL template** - Return URL for your application to which DocuSign will redirect the user after signing the document. Set when you self host your application. You can use {sessionId}, {pathwayId}, {activityId} and {stakeholderId} variables to construct the URL, where variables will be replaced with actual values. Defaults to: \"https://goto.development.awell.health/?sessionId={sessionId}\". Remember that this URL MUST match the one you registered for your app in DocuSign settings. [See docs](https://developers.docusign.com/platform/configure-app/#redirect-uri) for more details.\n\nAlso, before working with **DocuSign** you should receive consent of the user to impersonate them with the API calls (even for your own account). Check the details on how to do that [on DocuSign docs](https://developers.docusign.com/platform/auth/consent/obtaining-individual-consent/). It's a ONE TIME operation and is required for API calls to work for specific client-scope-uri combination. Required params explained below:\n\n- `YOUR_REQUESTED_SCOPES`: This extension uses JWT Grant, so in place of `YOUR_REQUESTED_SCOPES` you MUST put at least `signature%20impersonation`.\n - sample consent URL: https://account-d.docusign.com/oauth/auth?response_type=code&scope=signature%20impersonation%20click.manage%20click.send&client_id=XYZ-123&redirect_uri=https://test.com\n\n## Custom Actions\n\n### Embedded signing\n\nEmbedded Signing gives users the ability to sign documents directly from Awell Hosted Pages using DocuSign's embedded signing feature. First an embedded signature request with a template is created and then a signing URL is generated for the signature request. Via the signing URL, we can let the user sign the request from within Awell.\n\nEmbedded signing behaves as a blocking action where the action is only completed when the signature request is effectively signed.\n\n**In order to add embedded signing, you need to add 2 actions to you care flow:**\n\n1. First, add the \"Create embedded signature request with template\" action. This action will create an embedded signature request based on a template and return a **sign URL**.\n2. Second, add the \"Embedded signing\" action. In this action you will have to configure the **sign URL** you got from the first action.\n\n**Please note that the signing URL generated in the first step is only valid for 5 minutes and is one-time only.** This means that from as soon as the first action is activated, the user has 5 minutes to complete the signing request. Loading a session by the user also means that sign url is loaded and refreshing the page will cause the link to expire. When the sign URL has expired, the document cannot be signed anymore and and the process would have to be repeated.\n",
|
40
40
|
"changelog": "# DocuSign changelog\n"
|
@@ -115,6 +115,10 @@
|
|
115
115
|
"readme": "---\ntitle: Sendgrid\ndescription: SendGrid is a cloud-based email delivery platform that provides services for sending and managing email campaigns, transactional emails, and other types of messages.\n---\n# Sendgrid\n\nSendGrid is a cloud-based email delivery platform that provides services for sending and managing email campaigns, transactional emails, and other types of messages.\n\n## Extension settings\n\nIn order to set up this extension, you will need to provide:\n\n1. An API key\n2. A from name\n3. A from email\n\n## Custom Actions\n\n### Send email\n\nAllows for sending a plain email to a recipient.\n\n### Send email with a template\n\nAllows for sending an email based on a template to a recipient. You can also insert variables so they are rendered in your template.\n\n### Add or update contact\n\nAllows adding or updating contacts. The contact to update will be determined only by the email field and any fields omitted from the request will remain as they were. A contact's ID cannot be used to update the contact.\n\nPlease note that custom fields need to have been already created if you wish to set their values for the contacts being upserted. To do this, please use the \"Create Custom Field Definition\" endpoint. They also can be created in **Marketing -> Custom Fields** section in Sendgrid.\n\n### Add and remove emails from suppression lists\n\nSuppression lists ([link on SendGrid's website](https://docs.sendgrid.com/api-reference/suppressions-suppressions/add-suppressions-to-a-suppression-group)) are unsubscribe groups. Use these actions to add an email address to any number of unsubscribe groups. You can apply a suppression add/remove to multiple groups by using comma-separated lists for the groups. Only a single email can be used. **This functionality is different from SendGrid's API, which allows multiple email addresses for a single group**.\n\n### Check an import status\n\nAllows user to check the status of contact import jobs when given a jobID. Statuses are either: `pending`, `completed`, `failed`, or `errored`.",
|
116
116
|
"changelog": "# Sendgrid changelog\n\n## July 7, 2023\n\nAdded \"Add Email to Suppression Lists\" and \"Remove Email from Suppression Lists\" actions.\n\n## July 15, 2023\n\nUpdated \"Add or Update Contact\" acction to create a datapoint of the Job ID.\n\nAdded \"Check Import Status\" action.\n\n## July 27, 2023\n\nAdds \"Finished At\" data point to the importStatus action."
|
117
117
|
},
|
118
|
+
"stripe": {
|
119
|
+
"readme": "---\ntitle: Stripe\ndescription: Stripe powers online and in-person payment processing and financial solutions for businesses of all sizes.\n---\n\n## Stripe\n\nStripe powers online and in-person payment processing and financial solutions for businesses of all sizes.\n\n## Extension settings\n\nFor the extension to function correctly, you must configure the following settings:\n\n- Secret key (test and live mode)\n- Publishable key (test and live mode)\n- Mode (\"Test\" or \"Live\")",
|
120
|
+
"changelog": "# Stripe changelog"
|
121
|
+
},
|
118
122
|
"talkDesk": {
|
119
123
|
"readme": "---\ntitle: Talkdesk\ndescription: Talkdesk is a cloud-based customer experience and contact center software company. It provides a platform that enables businesses to set up and manage their customer service and support operations.\n---\n# TalkDesk\n\nTalkdesk is a cloud-based customer experience and contact center software company. It provides a platform that enables businesses to set up and manage their customer service and support operations. Talkdesk offers a range of features and tools to streamline and enhance communication between businesses and their customers.\n\n## Setup\n\nTo set up the extension, you'll need your Talkdesk account name along with a client ID and client secret. Please ensure that the credentials you provide are associated with the necessary permissions, or \"scopes,\" to run the extension:\n\n- flows-interactions:start\n\n## Custom Actions\n\n### Trigger flow\n\nEnables the initiation of a Talkdesk flow directly from an Awell careflow. This feature triggers an interaction using the most recent published version of a specific Studio flow. You'll need to supply the ID of the flow and the data (as a JSON object) that you want to input into the flow.\n\nImportant: Please note that Talkdesk sets a restriction of up to two API requests per second (rps) for each account using their Flows API.\n\n[Click here](https://studio.talkdesk.com/docs/sending-notifications-to-contacts-via-api-request) to learn more about triggering flows via the Talkdesk API and here to read the [API docs](https://docs.talkdesk.com/reference/flows-api-ref).\n",
|
120
124
|
"changelog": "# TalkDesk changelog\n"
|
@@ -34,7 +34,7 @@ exports.fields = {
|
|
34
34
|
},
|
35
35
|
intent: {
|
36
36
|
id: 'intent',
|
37
|
-
label: '
|
37
|
+
label: 'Intent',
|
38
38
|
description: 'Indicates the "level" of actionability associated with the Task. Allowed values: unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option',
|
39
39
|
type: extensions_core_1.FieldType.STRING,
|
40
40
|
required: true,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../../extensions/medplum/actions/createTask/config/fields.ts"],"names":[],"mappings":";;;AAAA,mEAAqE;AAErE,+DAAkE;AAErD,QAAA,MAAM,GAAG;IACpB,SAAS,EAAE;QACT,EAAE,EAAE,WAAW;QACf,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,8CAA8C;QAC3D,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,SAAS,EAAE;QACT,EAAE,EAAE,WAAW;QACf,KAAK,EAAE,WAAW;QAClB,WAAW,EAAE,0CAA0C;QACvD,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,WAAW,EAAE;QACX,EAAE,EAAE,aAAa;QACjB,KAAK,EAAE,kBAAkB;QACzB,WAAW,EAAE,oCAAoC;QACjD,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,KAAK;KAChB;IACD,MAAM,EAAE;QACN,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,QAAQ;QACf,WAAW,EACT,gLAAgL;QAClL,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,MAAM,EAAE;QACN,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../../extensions/medplum/actions/createTask/config/fields.ts"],"names":[],"mappings":";;;AAAA,mEAAqE;AAErE,+DAAkE;AAErD,QAAA,MAAM,GAAG;IACpB,SAAS,EAAE;QACT,EAAE,EAAE,WAAW;QACf,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,8CAA8C;QAC3D,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,SAAS,EAAE;QACT,EAAE,EAAE,WAAW;QACf,KAAK,EAAE,WAAW;QAClB,WAAW,EAAE,0CAA0C;QACvD,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,WAAW,EAAE;QACX,EAAE,EAAE,aAAa;QACjB,KAAK,EAAE,kBAAkB;QACzB,WAAW,EAAE,oCAAoC;QACjD,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,KAAK;KAChB;IACD,MAAM,EAAE;QACN,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,QAAQ;QACf,WAAW,EACT,gLAAgL;QAClL,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,MAAM,EAAE;QACN,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,QAAQ;QACf,WAAW,EACT,6LAA6L;QAC/L,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,UAAU;QACd,KAAK,EAAE,UAAU;QACjB,WAAW,EAAE,gDAAgD;QAC7D,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,KAAK;KAChB;IACD,OAAO,EAAE;QACP,EAAE,EAAE,SAAS;QACb,KAAK,EAAE,UAAU;QACjB,WAAW,EAAE,EAAE;QACf,IAAI,EAAE,2BAAS,CAAC,IAAI;QACpB,QAAQ,EAAE,KAAK;KAChB;IACD,aAAa,EAAE;QACb,EAAE,EAAE,eAAe;QACnB,KAAK,EAAE,gBAAgB;QACvB,WAAW,EAAE,kDAAkD;QAC/D,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,KAAK;KAChB;CAC8B,CAAA;AAEpB,QAAA,sBAAsB,GAAG,4BAErC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dataPoints.js","sourceRoot":"","sources":["../../../../../../extensions/medplum/actions/getAppointment/config/dataPoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACxB,eAAe,EAAE;QACf,GAAG,EAAE,iBAAiB;QACtB,SAAS,EAAE,
|
1
|
+
{"version":3,"file":"dataPoints.js","sourceRoot":"","sources":["../../../../../../extensions/medplum/actions/getAppointment/config/dataPoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACxB,eAAe,EAAE;QACf,GAAG,EAAE,iBAAiB;QACtB,SAAS,EAAE,MAAM;KAClB;CAC4C,CAAA"}
|
@@ -18,11 +18,6 @@ exports.getAppointment = {
|
|
18
18
|
payload,
|
19
19
|
});
|
20
20
|
const res = await medplumSdk.readResource('Appointment', input.appointmentId);
|
21
|
-
/**
|
22
|
-
* TODO:
|
23
|
-
* Either create specific data points and pick from the appointment object what we need OR
|
24
|
-
* store the full object and allow introspection and picking the values the builder needs in Awell Studio.
|
25
|
-
*/
|
26
21
|
await onComplete({
|
27
22
|
data_points: {
|
28
23
|
appointmentData: JSON.stringify(res),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getAppointment.js","sourceRoot":"","sources":["../../../../../extensions/medplum/actions/getAppointment/getAppointment.ts"],"names":[],"mappings":";;;AAAA,mEAAqE;AAErE,qCAAqE;AACrE,uCAAwD;AAE3C,QAAA,cAAc,GAIvB;IACF,GAAG,EAAE,gBAAgB;IACrB,QAAQ,EAAE,0BAAQ,CAAC,gBAAgB;IACnC,KAAK,EAAE,iBAAiB;IACxB,WAAW,EAAE,2CAA2C;IACxD,MAAM,EAAN,eAAM;IACN,WAAW,EAAE,IAAI;IACjB,UAAU,EAAV,mBAAU;IACV,iBAAiB,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAiB,EAAE;QACvE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,MAAM,IAAA,kCAA0B,EAAC;YACrE,YAAY,EAAE,+BAAsB;YACpC,OAAO;SACR,CAAC,CAAA;QAEF,MAAM,GAAG,GAAG,MAAM,UAAU,CAAC,YAAY,CACvC,aAAa,EACb,KAAK,CAAC,aAAa,CACpB,CAAA;QAED
|
1
|
+
{"version":3,"file":"getAppointment.js","sourceRoot":"","sources":["../../../../../extensions/medplum/actions/getAppointment/getAppointment.ts"],"names":[],"mappings":";;;AAAA,mEAAqE;AAErE,qCAAqE;AACrE,uCAAwD;AAE3C,QAAA,cAAc,GAIvB;IACF,GAAG,EAAE,gBAAgB;IACrB,QAAQ,EAAE,0BAAQ,CAAC,gBAAgB;IACnC,KAAK,EAAE,iBAAiB;IACxB,WAAW,EAAE,2CAA2C;IACxD,MAAM,EAAN,eAAM;IACN,WAAW,EAAE,IAAI;IACjB,UAAU,EAAV,mBAAU;IACV,iBAAiB,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAiB,EAAE;QACvE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,MAAM,IAAA,kCAA0B,EAAC;YACrE,YAAY,EAAE,+BAAsB;YACpC,OAAO;SACR,CAAC,CAAA;QAEF,MAAM,GAAG,GAAG,MAAM,UAAU,CAAC,YAAY,CACvC,aAAa,EACb,KAAK,CAAC,aAAa,CACpB,CAAA;QAED,MAAM,UAAU,CAAC;YACf,WAAW,EAAE;gBACX,eAAe,EAAE,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC;aACrC;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dataPoints.js","sourceRoot":"","sources":["../../../../../../extensions/medplum/actions/getPatient/config/dataPoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACxB,WAAW,EAAE;QACX,GAAG,EAAE,aAAa;QAClB,SAAS,EAAE,
|
1
|
+
{"version":3,"file":"dataPoints.js","sourceRoot":"","sources":["../../../../../../extensions/medplum/actions/getPatient/config/dataPoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACxB,WAAW,EAAE;QACX,GAAG,EAAE,aAAa;QAClB,SAAS,EAAE,MAAM;KAClB;CAC4C,CAAA"}
|
@@ -18,11 +18,6 @@ exports.getPatient = {
|
|
18
18
|
payload,
|
19
19
|
});
|
20
20
|
const res = await medplumSdk.readResource('Patient', input.patientId);
|
21
|
-
/**
|
22
|
-
* TODO:
|
23
|
-
* Either create specific data points and pick from the patient object what we need OR
|
24
|
-
* store the full object and allow introspection and picking the values the builder needs in Awell Studio.
|
25
|
-
*/
|
26
21
|
await onComplete({
|
27
22
|
data_points: {
|
28
23
|
patientData: JSON.stringify(res),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getPatient.js","sourceRoot":"","sources":["../../../../../extensions/medplum/actions/getPatient/getPatient.ts"],"names":[],"mappings":";;;AAAA,mEAAqE;AAErE,qCAAqE;AACrE,uCAAwD;AAE3C,QAAA,UAAU,GAInB;IACF,GAAG,EAAE,YAAY;IACjB,QAAQ,EAAE,0BAAQ,CAAC,gBAAgB;IACnC,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,uCAAuC;IACpD,MAAM,EAAN,eAAM;IACN,WAAW,EAAE,IAAI;IACjB,UAAU,EAAV,mBAAU;IACV,iBAAiB,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAiB,EAAE;QACvE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,MAAM,IAAA,kCAA0B,EAAC;YACrE,YAAY,EAAE,+BAAsB;YACpC,OAAO;SACR,CAAC,CAAA;QAEF,MAAM,GAAG,GAAG,MAAM,UAAU,CAAC,YAAY,CAAC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,CAAA;QAErE
|
1
|
+
{"version":3,"file":"getPatient.js","sourceRoot":"","sources":["../../../../../extensions/medplum/actions/getPatient/getPatient.ts"],"names":[],"mappings":";;;AAAA,mEAAqE;AAErE,qCAAqE;AACrE,uCAAwD;AAE3C,QAAA,UAAU,GAInB;IACF,GAAG,EAAE,YAAY;IACjB,QAAQ,EAAE,0BAAQ,CAAC,gBAAgB;IACnC,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,uCAAuC;IACpD,MAAM,EAAN,eAAM;IACN,WAAW,EAAE,IAAI;IACjB,UAAU,EAAV,mBAAU;IACV,iBAAiB,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAiB,EAAE;QACvE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,MAAM,IAAA,kCAA0B,EAAC;YACrE,YAAY,EAAE,+BAAsB;YACpC,OAAO;SACR,CAAC,CAAA;QAEF,MAAM,GAAG,GAAG,MAAM,UAAU,CAAC,YAAY,CAAC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,CAAA;QAErE,MAAM,UAAU,CAAC;YACf,WAAW,EAAE;gBACX,WAAW,EAAE,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC;aACjC;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA"}
|
@@ -4,3 +4,4 @@ export { getAppointment } from './getAppointment';
|
|
4
4
|
export { executeBot } from './executeBot';
|
5
5
|
export { createTask } from './createTask';
|
6
6
|
export { createServiceRequest } from './createServiceRequest';
|
7
|
+
export { submitQuestionnaireResponse } from './submitQuestionnaireResponse';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.createServiceRequest = exports.createTask = exports.executeBot = exports.getAppointment = exports.createPatient = exports.getPatient = void 0;
|
3
|
+
exports.submitQuestionnaireResponse = exports.createServiceRequest = exports.createTask = exports.executeBot = exports.getAppointment = exports.createPatient = exports.getPatient = void 0;
|
4
4
|
var getPatient_1 = require("./getPatient");
|
5
5
|
Object.defineProperty(exports, "getPatient", { enumerable: true, get: function () { return getPatient_1.getPatient; } });
|
6
6
|
var createPatient_1 = require("./createPatient");
|
@@ -13,4 +13,6 @@ var createTask_1 = require("./createTask");
|
|
13
13
|
Object.defineProperty(exports, "createTask", { enumerable: true, get: function () { return createTask_1.createTask; } });
|
14
14
|
var createServiceRequest_1 = require("./createServiceRequest");
|
15
15
|
Object.defineProperty(exports, "createServiceRequest", { enumerable: true, get: function () { return createServiceRequest_1.createServiceRequest; } });
|
16
|
+
var submitQuestionnaireResponse_1 = require("./submitQuestionnaireResponse");
|
17
|
+
Object.defineProperty(exports, "submitQuestionnaireResponse", { enumerable: true, get: function () { return submitQuestionnaireResponse_1.submitQuestionnaireResponse; } });
|
16
18
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../extensions/medplum/actions/index.ts"],"names":[],"mappings":";;;AAAA,2CAAyC;AAAhC,wGAAA,UAAU,OAAA;AACnB,iDAA+C;AAAtC,8GAAA,aAAa,OAAA;AACtB,mDAAiD;AAAxC,gHAAA,cAAc,OAAA;AACvB,2CAAyC;AAAhC,wGAAA,UAAU,OAAA;AACnB,2CAAyC;AAAhC,wGAAA,UAAU,OAAA;AACnB,+DAA6D;AAApD,4HAAA,oBAAoB,OAAA"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../extensions/medplum/actions/index.ts"],"names":[],"mappings":";;;AAAA,2CAAyC;AAAhC,wGAAA,UAAU,OAAA;AACnB,iDAA+C;AAAtC,8GAAA,aAAa,OAAA;AACtB,mDAAiD;AAAxC,gHAAA,cAAc,OAAA;AACvB,2CAAyC;AAAhC,wGAAA,UAAU,OAAA;AACnB,2CAAyC;AAAhC,wGAAA,UAAU,OAAA;AACnB,+DAA6D;AAApD,4HAAA,oBAAoB,OAAA;AAC7B,6EAA2E;AAAlE,0IAAA,2BAA2B,OAAA"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.dataPoints = void 0;
|
4
|
+
exports.dataPoints = {
|
5
|
+
questionnnaireResponseId: {
|
6
|
+
key: 'questionnnaireResponseId',
|
7
|
+
valueType: 'string',
|
8
|
+
},
|
9
|
+
};
|
10
|
+
//# sourceMappingURL=dataPoints.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"dataPoints.js","sourceRoot":"","sources":["../../../../../../extensions/medplum/actions/submitQuestionnaireResponse/config/dataPoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACxB,wBAAwB,EAAE;QACxB,GAAG,EAAE,0BAA0B;QAC/B,SAAS,EAAE,QAAQ;KACpB;CAC4C,CAAA"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { FieldType } from '@awell-health/extensions-core';
|
2
|
+
import { z } from 'zod';
|
3
|
+
export declare const fields: {
|
4
|
+
patientId: {
|
5
|
+
id: string;
|
6
|
+
label: string;
|
7
|
+
description: string;
|
8
|
+
type: FieldType.STRING;
|
9
|
+
required: true;
|
10
|
+
};
|
11
|
+
};
|
12
|
+
export declare const FieldsValidationSchema: z.ZodObject<{
|
13
|
+
patientId: z.ZodString;
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
15
|
+
patientId: string;
|
16
|
+
}, {
|
17
|
+
patientId: string;
|
18
|
+
}>;
|