@awell-health/awell-extensions 1.0.109 → 1.0.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/extensions/calDotCom/actions/createBooking/createBooking.js +1 -1
- package/dist/extensions/calDotCom/actions/createBooking/createBooking.js.map +1 -1
- package/dist/extensions/healthie/actions/applyTagToPatient/applyTagToPatient.d.ts +4 -0
- package/dist/extensions/healthie/actions/{applyTagToPatient.js → applyTagToPatient/applyTagToPatient.js} +6 -22
- package/dist/extensions/healthie/actions/applyTagToPatient/applyTagToPatient.js.map +1 -0
- package/dist/extensions/healthie/actions/applyTagToPatient/applyTagToPatient.test.d.ts +1 -0
- package/dist/extensions/healthie/actions/applyTagToPatient/applyTagToPatient.test.js +33 -0
- package/dist/extensions/healthie/actions/applyTagToPatient/applyTagToPatient.test.js.map +1 -0
- package/dist/extensions/healthie/actions/{applyTagToPatient.d.ts → applyTagToPatient/config/fields.d.ts} +2 -5
- package/dist/extensions/healthie/actions/applyTagToPatient/config/fields.js +21 -0
- package/dist/extensions/healthie/actions/applyTagToPatient/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/applyTagToPatient/config/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/applyTagToPatient/config/index.js +6 -0
- package/dist/extensions/healthie/actions/applyTagToPatient/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/applyTagToPatient/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/applyTagToPatient/index.js +18 -0
- package/dist/extensions/healthie/actions/applyTagToPatient/index.js.map +1 -0
- package/dist/extensions/healthie/actions/archivePatient/archivePatient.d.ts +4 -0
- package/dist/extensions/healthie/actions/{archivePatient.js → archivePatient/archivePatient.js} +6 -15
- package/dist/extensions/healthie/actions/archivePatient/archivePatient.js.map +1 -0
- package/dist/extensions/healthie/actions/archivePatient/archivePatient.test.d.ts +1 -0
- package/dist/extensions/healthie/actions/archivePatient/archivePatient.test.js +42 -0
- package/dist/extensions/healthie/actions/archivePatient/archivePatient.test.js.map +1 -0
- package/dist/extensions/healthie/actions/archivePatient/config/fields.d.ts +10 -0
- package/dist/extensions/healthie/actions/archivePatient/config/fields.js +14 -0
- package/dist/extensions/healthie/actions/archivePatient/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/archivePatient/config/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/archivePatient/config/index.js +6 -0
- package/dist/extensions/healthie/actions/archivePatient/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/archivePatient/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/archivePatient/index.js +18 -0
- package/dist/extensions/healthie/actions/archivePatient/index.js.map +1 -0
- package/dist/extensions/healthie/actions/assignPatientToGroup/assignPatientToGroup.d.ts +4 -0
- package/dist/extensions/healthie/actions/{assignPatientToGroup.js → assignPatientToGroup/assignPatientToGroup.js} +6 -22
- package/dist/extensions/healthie/actions/assignPatientToGroup/assignPatientToGroup.js.map +1 -0
- package/dist/extensions/healthie/actions/assignPatientToGroup/assignPatientToGroup.test.d.ts +1 -0
- package/dist/extensions/healthie/actions/assignPatientToGroup/assignPatientToGroup.test.js +42 -0
- package/dist/extensions/healthie/actions/assignPatientToGroup/assignPatientToGroup.test.js.map +1 -0
- package/dist/extensions/healthie/actions/{assignPatientToGroup.d.ts → assignPatientToGroup/config/fields.d.ts} +2 -5
- package/dist/extensions/healthie/actions/assignPatientToGroup/config/fields.js +21 -0
- package/dist/extensions/healthie/actions/assignPatientToGroup/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/assignPatientToGroup/config/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/assignPatientToGroup/config/index.js +6 -0
- package/dist/extensions/healthie/actions/assignPatientToGroup/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/assignPatientToGroup/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/assignPatientToGroup/index.js +18 -0
- package/dist/extensions/healthie/actions/assignPatientToGroup/index.js.map +1 -0
- package/dist/extensions/healthie/actions/cancelAppointment/cancelAppointment.d.ts +4 -0
- package/dist/extensions/healthie/actions/{cancelAppointment.js → cancelAppointment/cancelAppointment.js} +6 -15
- package/dist/extensions/healthie/actions/cancelAppointment/cancelAppointment.js.map +1 -0
- package/dist/extensions/healthie/actions/cancelAppointment/cancelAppointment.test.d.ts +1 -0
- package/dist/extensions/healthie/actions/cancelAppointment/cancelAppointment.test.js +37 -0
- package/dist/extensions/healthie/actions/cancelAppointment/cancelAppointment.test.js.map +1 -0
- package/dist/extensions/healthie/actions/cancelAppointment/config/fields.d.ts +10 -0
- package/dist/extensions/healthie/actions/cancelAppointment/config/fields.js +14 -0
- package/dist/extensions/healthie/actions/cancelAppointment/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/cancelAppointment/config/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/cancelAppointment/config/index.js +6 -0
- package/dist/extensions/healthie/actions/cancelAppointment/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/cancelAppointment/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/cancelAppointment/index.js +6 -0
- package/dist/extensions/healthie/actions/cancelAppointment/index.js.map +1 -0
- package/dist/extensions/healthie/actions/closeChatConversation/closeChatConversation.d.ts +4 -0
- package/dist/extensions/healthie/actions/{closeChatConversation.js → closeChatConversation/closeChatConversation.js} +6 -22
- package/dist/extensions/healthie/actions/closeChatConversation/closeChatConversation.js.map +1 -0
- package/dist/extensions/healthie/actions/closeChatConversation/closeChatConversation.test.d.ts +1 -0
- package/dist/extensions/healthie/actions/closeChatConversation/closeChatConversation.test.js +38 -0
- package/dist/extensions/healthie/actions/closeChatConversation/closeChatConversation.test.js.map +1 -0
- package/dist/extensions/healthie/actions/{closeChatConversation.d.ts → closeChatConversation/config/fields.d.ts} +2 -5
- package/dist/extensions/healthie/actions/closeChatConversation/config/fields.js +21 -0
- package/dist/extensions/healthie/actions/closeChatConversation/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/closeChatConversation/config/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/closeChatConversation/config/index.js +6 -0
- package/dist/extensions/healthie/actions/closeChatConversation/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/closeChatConversation/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/closeChatConversation/index.js +6 -0
- package/dist/extensions/healthie/actions/closeChatConversation/index.js.map +1 -0
- package/dist/extensions/healthie/actions/completeTask/completeTask.d.ts +4 -0
- package/dist/extensions/healthie/actions/{completeTask.js → completeTask/completeTask.js} +6 -15
- package/dist/extensions/healthie/actions/completeTask/completeTask.js.map +1 -0
- package/dist/extensions/healthie/actions/completeTask/completeTask.test.d.ts +1 -0
- package/dist/extensions/healthie/actions/completeTask/completeTask.test.js +37 -0
- package/dist/extensions/healthie/actions/completeTask/completeTask.test.js.map +1 -0
- package/dist/extensions/healthie/actions/completeTask/config/fields.d.ts +10 -0
- package/dist/extensions/healthie/actions/completeTask/config/fields.js +14 -0
- package/dist/extensions/healthie/actions/completeTask/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/completeTask/config/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/completeTask/config/index.js +6 -0
- package/dist/extensions/healthie/actions/completeTask/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/completeTask/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/completeTask/index.js +6 -0
- package/dist/extensions/healthie/actions/completeTask/index.js.map +1 -0
- package/dist/extensions/healthie/actions/createAppointment/config/dataPoints.d.ts +6 -0
- package/dist/extensions/healthie/actions/createAppointment/config/dataPoints.js +10 -0
- package/dist/extensions/healthie/actions/createAppointment/config/dataPoints.js.map +1 -0
- package/dist/extensions/healthie/actions/{createAppointment.d.ts → createAppointment/config/fields.d.ts} +2 -11
- package/dist/extensions/healthie/actions/createAppointment/config/fields.js +41 -0
- package/dist/extensions/healthie/actions/createAppointment/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/createAppointment/config/index.d.ts +2 -0
- package/dist/extensions/healthie/actions/createAppointment/config/index.js +8 -0
- package/dist/extensions/healthie/actions/createAppointment/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/createAppointment/createAppointment.d.ts +4 -0
- package/dist/extensions/healthie/actions/{createAppointment.js → createAppointment/createAppointment.js} +7 -49
- package/dist/extensions/healthie/actions/createAppointment/createAppointment.js.map +1 -0
- package/dist/extensions/healthie/actions/createAppointment/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/createAppointment/index.js +6 -0
- package/dist/extensions/healthie/actions/createAppointment/index.js.map +1 -0
- package/dist/extensions/healthie/actions/{createChartingNote.d.ts → createChartingNote/config/fields.d.ts} +2 -5
- package/dist/extensions/healthie/actions/createChartingNote/config/fields.js +35 -0
- package/dist/extensions/healthie/actions/createChartingNote/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/createChartingNote/config/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/createChartingNote/config/index.js +6 -0
- package/dist/extensions/healthie/actions/createChartingNote/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/createChartingNote/createChartingNote.d.ts +4 -0
- package/dist/extensions/healthie/actions/{createChartingNote.js → createChartingNote/createChartingNote.js} +6 -36
- package/dist/extensions/healthie/actions/createChartingNote/createChartingNote.js.map +1 -0
- package/dist/extensions/healthie/actions/createChartingNote/createChartingNote.test.d.ts +1 -0
- package/dist/extensions/healthie/actions/createChartingNote/createChartingNote.test.js +36 -0
- package/dist/extensions/healthie/actions/createChartingNote/createChartingNote.test.js.map +1 -0
- package/dist/extensions/healthie/actions/createChartingNote/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/createChartingNote/index.js +6 -0
- package/dist/extensions/healthie/actions/createChartingNote/index.js.map +1 -0
- package/dist/extensions/healthie/actions/createJournalEntry/config/dataPoints.d.ts +6 -0
- package/dist/extensions/healthie/actions/createJournalEntry/config/dataPoints.js +10 -0
- package/dist/extensions/healthie/actions/createJournalEntry/config/dataPoints.js.map +1 -0
- package/dist/extensions/healthie/actions/{createJournalEntry.d.ts → createJournalEntry/config/fields.d.ts} +2 -11
- package/dist/extensions/healthie/actions/createJournalEntry/config/fields.js +27 -0
- package/dist/extensions/healthie/actions/createJournalEntry/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/createJournalEntry/config/index.d.ts +2 -0
- package/dist/extensions/healthie/actions/createJournalEntry/config/index.js +8 -0
- package/dist/extensions/healthie/actions/createJournalEntry/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/createJournalEntry/createJournalEntry.d.ts +4 -0
- package/dist/extensions/healthie/actions/{createJournalEntry.js → createJournalEntry/createJournalEntry.js} +7 -35
- package/dist/extensions/healthie/actions/createJournalEntry/createJournalEntry.js.map +1 -0
- package/dist/extensions/healthie/actions/createJournalEntry/createJournalEntry.test.d.ts +1 -0
- package/dist/extensions/healthie/actions/createJournalEntry/createJournalEntry.test.js +34 -0
- package/dist/extensions/healthie/actions/createJournalEntry/createJournalEntry.test.js.map +1 -0
- package/dist/extensions/healthie/actions/createJournalEntry/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/createJournalEntry/index.js +6 -0
- package/dist/extensions/healthie/actions/createJournalEntry/index.js.map +1 -0
- package/dist/extensions/healthie/actions/createLocation/config/dataPoints.d.ts +6 -0
- package/dist/extensions/healthie/actions/createLocation/config/dataPoints.js +10 -0
- package/dist/extensions/healthie/actions/createLocation/config/dataPoints.js.map +1 -0
- package/dist/extensions/healthie/actions/{createLocation.d.ts → createLocation/config/fields.d.ts} +2 -11
- package/dist/extensions/healthie/actions/createLocation/config/fields.js +57 -0
- package/dist/extensions/healthie/actions/createLocation/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/createLocation/config/index.d.ts +2 -0
- package/dist/extensions/healthie/actions/createLocation/config/index.js +8 -0
- package/dist/extensions/healthie/actions/createLocation/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/createLocation/createLocation.d.ts +4 -0
- package/dist/extensions/healthie/actions/createLocation/createLocation.js +100 -0
- package/dist/extensions/healthie/actions/createLocation/createLocation.js.map +1 -0
- package/dist/extensions/healthie/actions/createLocation/createLocation.test.d.ts +1 -0
- package/dist/extensions/healthie/actions/createLocation/createLocation.test.js +39 -0
- package/dist/extensions/healthie/actions/createLocation/createLocation.test.js.map +1 -0
- package/dist/extensions/healthie/actions/createLocation/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/createLocation/index.js +6 -0
- package/dist/extensions/healthie/actions/createLocation/index.js.map +1 -0
- package/dist/extensions/healthie/actions/{createPatient.d.ts → createPatient/config/fields.d.ts} +2 -11
- package/dist/extensions/healthie/actions/createPatient/config/fields.js +59 -0
- package/dist/extensions/healthie/actions/createPatient/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/createPatient/config/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/createPatient/config/index.js +6 -0
- package/dist/extensions/healthie/actions/createPatient/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/createPatient/createPatient.d.ts +11 -0
- package/dist/extensions/healthie/actions/{createPatient.js → createPatient/createPatient.js} +6 -60
- package/dist/extensions/healthie/actions/createPatient/createPatient.js.map +1 -0
- package/dist/extensions/healthie/actions/createPatient/createPatient.test.d.ts +1 -0
- package/dist/extensions/healthie/actions/createPatient/createPatient.test.js +43 -0
- package/dist/extensions/healthie/actions/createPatient/createPatient.test.js.map +1 -0
- package/dist/extensions/healthie/actions/createPatient/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/createPatient/index.js +6 -0
- package/dist/extensions/healthie/actions/createPatient/index.js.map +1 -0
- package/dist/extensions/healthie/actions/createTask/config/dataPoints.d.ts +6 -0
- package/dist/extensions/healthie/actions/createTask/config/dataPoints.js +10 -0
- package/dist/extensions/healthie/actions/createTask/config/dataPoints.js.map +1 -0
- package/dist/extensions/healthie/actions/{createTask.d.ts → createTask/config/fields.d.ts} +2 -11
- package/dist/extensions/healthie/actions/createTask/config/fields.js +64 -0
- package/dist/extensions/healthie/actions/createTask/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/createTask/config/index.d.ts +2 -0
- package/dist/extensions/healthie/actions/createTask/config/index.js +8 -0
- package/dist/extensions/healthie/actions/createTask/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/createTask/createTask.d.ts +4 -0
- package/dist/extensions/healthie/actions/createTask/createTask.js +96 -0
- package/dist/extensions/healthie/actions/createTask/createTask.js.map +1 -0
- package/dist/extensions/healthie/actions/createTask/createTask.test.d.ts +1 -0
- package/dist/extensions/healthie/actions/createTask/createTask.test.js +245 -0
- package/dist/extensions/healthie/actions/createTask/createTask.test.js.map +1 -0
- package/dist/extensions/healthie/actions/createTask/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/createTask/index.js +6 -0
- package/dist/extensions/healthie/actions/createTask/index.js.map +1 -0
- package/dist/extensions/healthie/actions/deleteAppointment/config/fields.d.ts +10 -0
- package/dist/extensions/healthie/actions/deleteAppointment/config/fields.js +14 -0
- package/dist/extensions/healthie/actions/deleteAppointment/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/deleteAppointment/config/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/deleteAppointment/config/index.js +6 -0
- package/dist/extensions/healthie/actions/deleteAppointment/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/deleteAppointment/deleteAppointment.d.ts +4 -0
- package/dist/extensions/healthie/actions/{deleteAppointment.js → deleteAppointment/deleteAppointment.js} +6 -15
- package/dist/extensions/healthie/actions/deleteAppointment/deleteAppointment.js.map +1 -0
- package/dist/extensions/healthie/actions/deleteAppointment/deleteAppointment.test.d.ts +1 -0
- package/dist/extensions/healthie/actions/deleteAppointment/deleteAppointment.test.js +34 -0
- package/dist/extensions/healthie/actions/deleteAppointment/deleteAppointment.test.js.map +1 -0
- package/dist/extensions/healthie/actions/deleteAppointment/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/deleteAppointment/index.js +6 -0
- package/dist/extensions/healthie/actions/deleteAppointment/index.js.map +1 -0
- package/dist/extensions/healthie/actions/deleteTask/config/fields.d.ts +10 -0
- package/dist/extensions/healthie/actions/deleteTask/config/fields.js +14 -0
- package/dist/extensions/healthie/actions/deleteTask/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/deleteTask/config/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/deleteTask/config/index.js +6 -0
- package/dist/extensions/healthie/actions/deleteTask/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/deleteTask/deleteTask.d.ts +4 -0
- package/dist/extensions/healthie/actions/{deleteTask.js → deleteTask/deleteTask.js} +6 -15
- package/dist/extensions/healthie/actions/deleteTask/deleteTask.js.map +1 -0
- package/dist/extensions/healthie/actions/deleteTask/deleteTask.test.d.ts +1 -0
- package/dist/extensions/healthie/actions/deleteTask/deleteTask.test.js +34 -0
- package/dist/extensions/healthie/actions/deleteTask/deleteTask.test.js.map +1 -0
- package/dist/extensions/healthie/actions/deleteTask/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/deleteTask/index.js +6 -0
- package/dist/extensions/healthie/actions/deleteTask/index.js.map +1 -0
- package/dist/extensions/healthie/actions/getAppointment/config/dataPoints.d.ts +22 -0
- package/dist/extensions/healthie/actions/getAppointment/config/dataPoints.js +26 -0
- package/dist/extensions/healthie/actions/getAppointment/config/dataPoints.js.map +1 -0
- package/dist/extensions/healthie/actions/getAppointment/config/fields.d.ts +9 -0
- package/dist/extensions/healthie/actions/getAppointment/config/fields.js +13 -0
- package/dist/extensions/healthie/actions/getAppointment/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/getAppointment/config/index.d.ts +2 -0
- package/dist/extensions/healthie/actions/getAppointment/config/index.js +8 -0
- package/dist/extensions/healthie/actions/getAppointment/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/getAppointment/getAppointment.d.ts +4 -0
- package/dist/extensions/healthie/actions/{getAppointment.js → getAppointment/getAppointment.js} +8 -38
- package/dist/extensions/healthie/actions/getAppointment/getAppointment.js.map +1 -0
- package/dist/extensions/healthie/actions/getAppointment/getAppointment.test.d.ts +1 -0
- package/dist/extensions/healthie/actions/getAppointment/getAppointment.test.js +83 -0
- package/dist/extensions/healthie/actions/getAppointment/getAppointment.test.js.map +1 -0
- package/dist/extensions/healthie/actions/getAppointment/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/getAppointment/index.js +6 -0
- package/dist/extensions/healthie/actions/getAppointment/index.js.map +1 -0
- package/dist/extensions/healthie/actions/{getPatient.d.ts → getPatient/config/dataPoints.d.ts} +1 -13
- package/dist/extensions/healthie/actions/getPatient/config/dataPoints.js +42 -0
- package/dist/extensions/healthie/actions/getPatient/config/dataPoints.js.map +1 -0
- package/dist/extensions/healthie/actions/getPatient/config/fields.d.ts +9 -0
- package/dist/extensions/healthie/actions/getPatient/config/fields.js +13 -0
- package/dist/extensions/healthie/actions/getPatient/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/getPatient/config/index.d.ts +2 -0
- package/dist/extensions/healthie/actions/getPatient/config/index.js +8 -0
- package/dist/extensions/healthie/actions/getPatient/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/getPatient/getPatient.d.ts +4 -0
- package/dist/extensions/healthie/actions/{getPatient.js → getPatient/getPatient.js} +9 -55
- package/dist/extensions/healthie/actions/{getPatient.js.map → getPatient/getPatient.js.map} +1 -1
- package/dist/extensions/healthie/actions/getPatient/getPatient.test.d.ts +1 -0
- package/dist/extensions/healthie/actions/getPatient/getPatient.test.js +235 -0
- package/dist/extensions/healthie/actions/getPatient/getPatient.test.js.map +1 -0
- package/dist/extensions/healthie/actions/getPatient/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/getPatient/index.js +18 -0
- package/dist/extensions/healthie/actions/getPatient/index.js.map +1 -0
- package/dist/extensions/healthie/actions/index.d.ts +8 -2
- package/dist/extensions/healthie/actions/index.js +4 -4
- package/dist/extensions/healthie/actions/index.js.map +1 -1
- package/dist/extensions/healthie/actions/{removeTagFromPatient.d.ts → removeTagFromPatient/config/fields.d.ts} +2 -5
- package/dist/extensions/healthie/actions/removeTagFromPatient/config/fields.js +21 -0
- package/dist/extensions/healthie/actions/removeTagFromPatient/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/removeTagFromPatient/config/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/removeTagFromPatient/config/index.js +6 -0
- package/dist/extensions/healthie/actions/removeTagFromPatient/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/removeTagFromPatient/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/removeTagFromPatient/index.js +6 -0
- package/dist/extensions/healthie/actions/removeTagFromPatient/index.js.map +1 -0
- package/dist/extensions/healthie/actions/removeTagFromPatient/removeTagFromPatient.d.ts +4 -0
- package/dist/extensions/healthie/actions/{removeTagFromPatient.js → removeTagFromPatient/removeTagFromPatient.js} +6 -22
- package/dist/extensions/healthie/actions/removeTagFromPatient/removeTagFromPatient.js.map +1 -0
- package/dist/extensions/healthie/actions/removeTagFromPatient/removeTagFromPatient.test.d.ts +1 -0
- package/dist/extensions/healthie/actions/removeTagFromPatient/removeTagFromPatient.test.js +33 -0
- package/dist/extensions/healthie/actions/removeTagFromPatient/removeTagFromPatient.test.js.map +1 -0
- package/dist/extensions/healthie/actions/sendChatMessage/config/dataPoints.d.ts +6 -0
- package/dist/extensions/healthie/actions/sendChatMessage/config/dataPoints.js +10 -0
- package/dist/extensions/healthie/actions/sendChatMessage/config/dataPoints.js.map +1 -0
- package/dist/extensions/healthie/actions/{sendChatMessage.d.ts → sendChatMessage/config/fields.d.ts} +2 -11
- package/dist/extensions/healthie/actions/sendChatMessage/config/fields.js +28 -0
- package/dist/extensions/healthie/actions/sendChatMessage/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/sendChatMessage/config/index.d.ts +2 -0
- package/dist/extensions/healthie/actions/sendChatMessage/config/index.js +8 -0
- package/dist/extensions/healthie/actions/sendChatMessage/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/sendChatMessage/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/sendChatMessage/index.js +6 -0
- package/dist/extensions/healthie/actions/sendChatMessage/index.js.map +1 -0
- package/dist/extensions/healthie/actions/sendChatMessage/sendChatMessage.d.ts +4 -0
- package/dist/extensions/healthie/actions/{sendChatMessage.js → sendChatMessage/sendChatMessage.js} +7 -36
- package/dist/extensions/healthie/actions/sendChatMessage/sendChatMessage.js.map +1 -0
- package/dist/extensions/healthie/actions/sendChatMessage/sendChatMessage.test.d.ts +1 -0
- package/dist/extensions/healthie/actions/sendChatMessage/sendChatMessage.test.js +142 -0
- package/dist/extensions/healthie/actions/sendChatMessage/sendChatMessage.test.js.map +1 -0
- package/dist/extensions/healthie/actions/{sendFormCompletionRequest.d.ts → sendFormCompletionRequest/config/fields.d.ts} +2 -5
- package/dist/extensions/healthie/actions/sendFormCompletionRequest/config/fields.js +77 -0
- package/dist/extensions/healthie/actions/sendFormCompletionRequest/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/sendFormCompletionRequest/config/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/sendFormCompletionRequest/config/index.js +6 -0
- package/dist/extensions/healthie/actions/sendFormCompletionRequest/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/sendFormCompletionRequest/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/sendFormCompletionRequest/index.js +6 -0
- package/dist/extensions/healthie/actions/sendFormCompletionRequest/index.js.map +1 -0
- package/dist/extensions/healthie/actions/sendFormCompletionRequest/sendFormCompletionRequest.d.ts +4 -0
- package/dist/extensions/healthie/actions/{sendFormCompletionRequest.js → sendFormCompletionRequest/sendFormCompletionRequest.js} +7 -79
- package/dist/extensions/healthie/actions/sendFormCompletionRequest/sendFormCompletionRequest.js.map +1 -0
- package/dist/extensions/healthie/actions/sendFormCompletionRequest/sendFormCompletionRequest.test.d.ts +1 -0
- package/dist/extensions/healthie/actions/sendFormCompletionRequest/sendFormCompletionRequest.test.js +199 -0
- package/dist/extensions/healthie/actions/sendFormCompletionRequest/sendFormCompletionRequest.test.js.map +1 -0
- package/dist/extensions/healthie/actions/{updatePatient.d.ts → updatePatient/config/fields.d.ts} +2 -6
- package/dist/extensions/healthie/actions/updatePatient/config/fields.js +99 -0
- package/dist/extensions/healthie/actions/updatePatient/config/fields.js.map +1 -0
- package/dist/extensions/healthie/actions/updatePatient/config/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/updatePatient/config/index.js +6 -0
- package/dist/extensions/healthie/actions/updatePatient/config/index.js.map +1 -0
- package/dist/extensions/healthie/actions/updatePatient/index.d.ts +1 -0
- package/dist/extensions/healthie/actions/updatePatient/index.js +18 -0
- package/dist/extensions/healthie/actions/updatePatient/index.js.map +1 -0
- package/dist/extensions/healthie/actions/updatePatient/updatePatient.d.ts +4 -0
- package/dist/extensions/healthie/actions/updatePatient/updatePatient.js +100 -0
- package/dist/extensions/healthie/actions/updatePatient/updatePatient.js.map +1 -0
- package/dist/extensions/healthie/actions/updatePatient/updatePatient.test.d.ts +1 -0
- package/dist/extensions/healthie/actions/updatePatient/updatePatient.test.js +46 -0
- package/dist/extensions/healthie/actions/updatePatient/updatePatient.test.js.map +1 -0
- package/dist/extensions/healthie/graphqlClient.test.d.ts +1 -0
- package/dist/extensions/healthie/graphqlClient.test.js +63 -0
- package/dist/extensions/healthie/graphqlClient.test.js.map +1 -0
- package/package.json +1 -1
- package/dist/extensions/healthie/actions/applyTagToPatient.js.map +0 -1
- package/dist/extensions/healthie/actions/archivePatient.d.ts +0 -13
- package/dist/extensions/healthie/actions/archivePatient.js.map +0 -1
- package/dist/extensions/healthie/actions/assignPatientToGroup.js.map +0 -1
- package/dist/extensions/healthie/actions/cancelAppointment.d.ts +0 -13
- package/dist/extensions/healthie/actions/cancelAppointment.js.map +0 -1
- package/dist/extensions/healthie/actions/closeChatConversation.js.map +0 -1
- package/dist/extensions/healthie/actions/completeTask.d.ts +0 -13
- package/dist/extensions/healthie/actions/completeTask.js.map +0 -1
- package/dist/extensions/healthie/actions/createAppointment.js.map +0 -1
- package/dist/extensions/healthie/actions/createChartingNote.js.map +0 -1
- package/dist/extensions/healthie/actions/createJournalEntry.js.map +0 -1
- package/dist/extensions/healthie/actions/createLocation.js +0 -158
- package/dist/extensions/healthie/actions/createLocation.js.map +0 -1
- package/dist/extensions/healthie/actions/createPatient.js.map +0 -1
- package/dist/extensions/healthie/actions/createTask.js +0 -161
- package/dist/extensions/healthie/actions/createTask.js.map +0 -1
- package/dist/extensions/healthie/actions/deleteAppointment.d.ts +0 -13
- package/dist/extensions/healthie/actions/deleteAppointment.js.map +0 -1
- package/dist/extensions/healthie/actions/deleteTask.d.ts +0 -13
- package/dist/extensions/healthie/actions/deleteTask.js.map +0 -1
- package/dist/extensions/healthie/actions/getAppointment.d.ts +0 -34
- package/dist/extensions/healthie/actions/getAppointment.js.map +0 -1
- package/dist/extensions/healthie/actions/removeTagFromPatient.js.map +0 -1
- package/dist/extensions/healthie/actions/sendChatMessage.js.map +0 -1
- package/dist/extensions/healthie/actions/sendFormCompletionRequest.js.map +0 -1
- package/dist/extensions/healthie/actions/updatePatient.js +0 -194
- package/dist/extensions/healthie/actions/updatePatient.js.map +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
export { createAppointment } from './createAppointment';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.createAppointment = void 0;
|
4
|
+
var createAppointment_1 = require("./createAppointment");
|
5
|
+
Object.defineProperty(exports, "createAppointment", { enumerable: true, get: function () { return createAppointment_1.createAppointment; } });
|
6
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../extensions/healthie/actions/createAppointment/index.ts"],"names":[],"mappings":";;;AAAA,yDAAuD;AAA9C,sHAAA,iBAAiB,OAAA"}
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import { FieldType
|
2
|
-
|
3
|
-
declare const fields: {
|
1
|
+
import { FieldType } from '@awell-health/extensions-core';
|
2
|
+
export declare const fields: {
|
4
3
|
healthie_patient_id: {
|
5
4
|
id: string;
|
6
5
|
label: string;
|
@@ -30,5 +29,3 @@ declare const fields: {
|
|
30
29
|
required: false;
|
31
30
|
};
|
32
31
|
};
|
33
|
-
export declare const createChartingNote: Action<typeof fields, typeof settings>;
|
34
|
-
export {};
|
@@ -0,0 +1,35 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.fields = void 0;
|
4
|
+
const extensions_core_1 = require("@awell-health/extensions-core");
|
5
|
+
exports.fields = {
|
6
|
+
healthie_patient_id: {
|
7
|
+
id: 'healthie_patient_id',
|
8
|
+
label: 'Healthie Patient ID',
|
9
|
+
description: 'The ID of the patient you would like to create a charting note for.',
|
10
|
+
type: extensions_core_1.FieldType.STRING,
|
11
|
+
required: true,
|
12
|
+
},
|
13
|
+
form_id: {
|
14
|
+
id: 'form_id',
|
15
|
+
label: 'Form ID',
|
16
|
+
description: 'The ID of the form you would like to create the charting note against.',
|
17
|
+
type: extensions_core_1.FieldType.STRING,
|
18
|
+
required: true,
|
19
|
+
},
|
20
|
+
note_content: {
|
21
|
+
id: 'note_content',
|
22
|
+
label: 'Note content',
|
23
|
+
description: 'The content of the charting note.',
|
24
|
+
type: extensions_core_1.FieldType.HTML,
|
25
|
+
required: true,
|
26
|
+
},
|
27
|
+
marked_locked: {
|
28
|
+
id: 'marked_locked',
|
29
|
+
label: 'Mark as locked?',
|
30
|
+
description: 'This field allows you to mark the content as locked.',
|
31
|
+
type: extensions_core_1.FieldType.BOOLEAN,
|
32
|
+
required: false,
|
33
|
+
},
|
34
|
+
};
|
35
|
+
//# sourceMappingURL=fields.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../../extensions/healthie/actions/createChartingNote/config/fields.ts"],"names":[],"mappings":";;;AAAA,mEAAqE;AAExD,QAAA,MAAM,GAAG;IACpB,mBAAmB,EAAE;QACnB,EAAE,EAAE,qBAAqB;QACzB,KAAK,EAAE,qBAAqB;QAC5B,WAAW,EACT,qEAAqE;QACvE,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,OAAO,EAAE;QACP,EAAE,EAAE,SAAS;QACb,KAAK,EAAE,SAAS;QAChB,WAAW,EACT,wEAAwE;QAC1E,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,YAAY,EAAE;QACZ,EAAE,EAAE,cAAc;QAClB,KAAK,EAAE,cAAc;QACrB,WAAW,EAAE,mCAAmC;QAChD,IAAI,EAAE,2BAAS,CAAC,IAAI;QACpB,QAAQ,EAAE,IAAI;KACf;IACD,aAAa,EAAE;QACb,EAAE,EAAE,eAAe;QACnB,KAAK,EAAE,iBAAiB;QACxB,WAAW,EAAE,sDAAsD;QACnE,IAAI,EAAE,2BAAS,CAAC,OAAO;QACvB,QAAQ,EAAE,KAAK;KAChB;CAC8B,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { fields } from './fields';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.fields = void 0;
|
4
|
+
var fields_1 = require("./fields");
|
5
|
+
Object.defineProperty(exports, "fields", { enumerable: true, get: function () { return fields_1.fields; } });
|
6
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../extensions/healthie/actions/createChartingNote/config/index.ts"],"names":[],"mappings":";;;AAAA,mCAAiC;AAAxB,gGAAA,MAAM,OAAA"}
|
@@ -3,46 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createChartingNote = void 0;
|
4
4
|
const lodash_1 = require("lodash");
|
5
5
|
const extensions_core_1 = require("@awell-health/extensions-core");
|
6
|
-
const
|
7
|
-
const
|
8
|
-
const
|
9
|
-
const
|
10
|
-
const fields = {
|
11
|
-
healthie_patient_id: {
|
12
|
-
id: 'healthie_patient_id',
|
13
|
-
label: 'Healthie Patient ID',
|
14
|
-
description: 'The ID of the patient you would like to create a charting note for.',
|
15
|
-
type: extensions_core_1.FieldType.STRING,
|
16
|
-
required: true,
|
17
|
-
},
|
18
|
-
form_id: {
|
19
|
-
id: 'form_id',
|
20
|
-
label: 'Form ID',
|
21
|
-
description: 'The ID of the form you would like to create the charting note against.',
|
22
|
-
type: extensions_core_1.FieldType.STRING,
|
23
|
-
required: true,
|
24
|
-
},
|
25
|
-
note_content: {
|
26
|
-
id: 'note_content',
|
27
|
-
label: 'Note content',
|
28
|
-
description: 'The content of the charting note.',
|
29
|
-
type: extensions_core_1.FieldType.HTML,
|
30
|
-
required: true,
|
31
|
-
},
|
32
|
-
marked_locked: {
|
33
|
-
id: 'marked_locked',
|
34
|
-
label: 'Mark as locked?',
|
35
|
-
description: 'This field allows you to mark the content as locked.',
|
36
|
-
type: extensions_core_1.FieldType.BOOLEAN,
|
37
|
-
required: false,
|
38
|
-
},
|
39
|
-
};
|
6
|
+
const sdk_1 = require("../../gql/sdk");
|
7
|
+
const graphqlClient_1 = require("../../graphqlClient");
|
8
|
+
const errors_1 = require("../../errors");
|
9
|
+
const config_1 = require("./config");
|
40
10
|
exports.createChartingNote = {
|
41
11
|
key: 'createChartingNote',
|
42
|
-
category:
|
12
|
+
category: extensions_core_1.Category.EHR_INTEGRATIONS,
|
43
13
|
title: 'Create charting note',
|
44
14
|
description: 'Create a charting note in Healthie.',
|
45
|
-
fields,
|
15
|
+
fields: config_1.fields,
|
46
16
|
previewable: true,
|
47
17
|
onActivityCreated: async (payload, onComplete, onError) => {
|
48
18
|
var _a;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"createChartingNote.js","sourceRoot":"","sources":["../../../../../extensions/healthie/actions/createChartingNote/createChartingNote.ts"],"names":[],"mappings":";;;AAAA,mCAA8B;AAE9B,m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,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const tests_1 = require("../../../../src/tests");
|
4
|
+
const sdk_1 = require("../../gql/sdk");
|
5
|
+
const sdk_2 = require("../../gql/__mocks__/sdk");
|
6
|
+
const createChartingNote_1 = require("../createChartingNote");
|
7
|
+
jest.mock('../../gql/sdk');
|
8
|
+
jest.mock('../../graphqlClient');
|
9
|
+
describe('createChartingNote action', () => {
|
10
|
+
const onComplete = jest.fn();
|
11
|
+
beforeAll(() => {
|
12
|
+
;
|
13
|
+
sdk_1.getSdk.mockImplementation(sdk_2.mockGetSdk);
|
14
|
+
});
|
15
|
+
beforeEach(() => {
|
16
|
+
jest.clearAllMocks();
|
17
|
+
});
|
18
|
+
test('Should create a charting note', async () => {
|
19
|
+
await createChartingNote_1.createChartingNote.onActivityCreated((0, tests_1.generateTestPayload)({
|
20
|
+
fields: {
|
21
|
+
form_id: 'form-template-1',
|
22
|
+
healthie_patient_id: 'patient-1',
|
23
|
+
note_content: 'Test content',
|
24
|
+
marked_locked: true,
|
25
|
+
},
|
26
|
+
settings: {
|
27
|
+
apiKey: 'apiKey',
|
28
|
+
apiUrl: 'test-url',
|
29
|
+
},
|
30
|
+
}), onComplete, jest.fn());
|
31
|
+
expect(sdk_2.mockGetSdkReturn.getFormTemplate).toHaveBeenCalled();
|
32
|
+
expect(sdk_2.mockGetSdkReturn.createFormAnswerGroup).toHaveBeenCalled();
|
33
|
+
expect(onComplete).toHaveBeenCalled();
|
34
|
+
});
|
35
|
+
});
|
36
|
+
//# sourceMappingURL=createChartingNote.test.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"createChartingNote.test.js","sourceRoot":"","sources":["../../../../../extensions/healthie/actions/createChartingNote/createChartingNote.test.ts"],"names":[],"mappings":";;AAAA,iDAA2D;AAC3D,uCAAsC;AACtC,iDAAsE;AACtE,8DAA0D;AAE1D,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA;AAC1B,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAA;AAEhC,QAAQ,CAAC,2BAA2B,EAAE,GAAG,EAAE;IACzC,MAAM,UAAU,GAAG,IAAI,CAAC,EAAE,EAAE,CAAA;IAE5B,SAAS,CAAC,GAAG,EAAE;QACb,CAAC;QAAC,YAAoB,CAAC,kBAAkB,CAAC,gBAAU,CAAC,CAAA;IACvD,CAAC,CAAC,CAAA;IAEF,UAAU,CAAC,GAAG,EAAE;QACd,IAAI,CAAC,aAAa,EAAE,CAAA;IACtB,CAAC,CAAC,CAAA;IAEF,IAAI,CAAC,+BAA+B,EAAE,KAAK,IAAI,EAAE;QAC/C,MAAM,uCAAkB,CAAC,iBAAiB,CACxC,IAAA,2BAAmB,EAAC;YAClB,MAAM,EAAE;gBACN,OAAO,EAAE,iBAAiB;gBAC1B,mBAAmB,EAAE,WAAW;gBAChC,YAAY,EAAE,cAAc;gBAC5B,aAAa,EAAE,IAAI;aACpB;YACD,QAAQ,EAAE;gBACR,MAAM,EAAE,QAAQ;gBAChB,MAAM,EAAE,UAAU;aACnB;SACF,CAAC,EACF,UAAU,EACV,IAAI,CAAC,EAAE,EAAE,CACV,CAAA;QAED,MAAM,CAAC,sBAAgB,CAAC,eAAe,CAAC,CAAC,gBAAgB,EAAE,CAAA;QAC3D,MAAM,CAAC,sBAAgB,CAAC,qBAAqB,CAAC,CAAC,gBAAgB,EAAE,CAAA;QACjE,MAAM,CAAC,UAAU,CAAC,CAAC,gBAAgB,EAAE,CAAA;IACvC,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { createChartingNote } from './createChartingNote';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.createChartingNote = void 0;
|
4
|
+
var createChartingNote_1 = require("./createChartingNote");
|
5
|
+
Object.defineProperty(exports, "createChartingNote", { enumerable: true, get: function () { return createChartingNote_1.createChartingNote; } });
|
6
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../extensions/healthie/actions/createChartingNote/index.ts"],"names":[],"mappings":";;;AAAA,2DAAyD;AAAhD,wHAAA,kBAAkB,OAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"dataPoints.js","sourceRoot":"","sources":["../../../../../../extensions/healthie/actions/createJournalEntry/config/dataPoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACxB,cAAc,EAAE;QACd,GAAG,EAAE,gBAAgB;QACrB,SAAS,EAAE,QAAQ;KACpB;CAC4C,CAAA"}
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
declare const fields: {
|
1
|
+
import { FieldType } from '@awell-health/extensions-core';
|
2
|
+
export declare const fields: {
|
4
3
|
id: {
|
5
4
|
id: string;
|
6
5
|
label: string;
|
@@ -22,11 +21,3 @@ declare const fields: {
|
|
22
21
|
type: FieldType.NUMERIC;
|
23
22
|
};
|
24
23
|
};
|
25
|
-
declare const dataPoints: {
|
26
|
-
journalEntryId: {
|
27
|
-
key: string;
|
28
|
-
valueType: "string";
|
29
|
-
};
|
30
|
-
};
|
31
|
-
export declare const createJournalEntry: Action<typeof fields, typeof settings, keyof typeof dataPoints>;
|
32
|
-
export {};
|
@@ -0,0 +1,27 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.fields = void 0;
|
4
|
+
const extensions_core_1 = require("@awell-health/extensions-core");
|
5
|
+
exports.fields = {
|
6
|
+
id: {
|
7
|
+
id: 'id',
|
8
|
+
label: 'ID',
|
9
|
+
description: 'The id of the patient in Healthie.',
|
10
|
+
type: extensions_core_1.FieldType.STRING,
|
11
|
+
required: true,
|
12
|
+
},
|
13
|
+
type: {
|
14
|
+
id: 'type',
|
15
|
+
label: 'Type',
|
16
|
+
description: 'The type of entry. Valid options are: ["MetricEntry", "FoodEntry", "WorkoutEntry", "MirrorEntry", "SleepEntry", "NoteEntry", "WaterIntakeEntry", "PoopEntry", "SymptomEntry"].',
|
17
|
+
type: extensions_core_1.FieldType.STRING,
|
18
|
+
required: true,
|
19
|
+
},
|
20
|
+
percieved_hungriness: {
|
21
|
+
id: 'percieved_hungriness',
|
22
|
+
label: 'Perceived hungriness',
|
23
|
+
description: 'A string index of hungriness. Valid options are: ["1", "2", "3"].',
|
24
|
+
type: extensions_core_1.FieldType.NUMERIC,
|
25
|
+
},
|
26
|
+
};
|
27
|
+
//# sourceMappingURL=fields.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../../extensions/healthie/actions/createJournalEntry/config/fields.ts"],"names":[],"mappings":";;;AAAA,mEAAqE;AAExD,QAAA,MAAM,GAAG;IACpB,EAAE,EAAE;QACF,EAAE,EAAE,IAAI;QACR,KAAK,EAAE,IAAI;QACX,WAAW,EAAE,oCAAoC;QACjD,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM;QACV,KAAK,EAAE,MAAM;QACb,WAAW,EACT,gLAAgL;QAClL,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,oBAAoB,EAAE;QACpB,EAAE,EAAE,sBAAsB;QAC1B,KAAK,EAAE,sBAAsB;QAC7B,WAAW,EACT,mEAAmE;QACrE,IAAI,EAAE,2BAAS,CAAC,OAAO;KACxB;CAC8B,CAAA"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.dataPoints = exports.fields = void 0;
|
4
|
+
var fields_1 = require("./fields");
|
5
|
+
Object.defineProperty(exports, "fields", { enumerable: true, get: function () { return fields_1.fields; } });
|
6
|
+
var dataPoints_1 = require("./dataPoints");
|
7
|
+
Object.defineProperty(exports, "dataPoints", { enumerable: true, get: function () { return dataPoints_1.dataPoints; } });
|
8
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../extensions/healthie/actions/createJournalEntry/config/index.ts"],"names":[],"mappings":";;;AAAA,mCAAiC;AAAxB,gGAAA,MAAM,OAAA;AACf,2CAAyC;AAAhC,wGAAA,UAAU,OAAA"}
|
@@ -2,46 +2,18 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.createJournalEntry = void 0;
|
4
4
|
const lodash_1 = require("lodash");
|
5
|
-
const errors_1 = require("
|
5
|
+
const errors_1 = require("../../errors");
|
6
6
|
const extensions_core_1 = require("@awell-health/extensions-core");
|
7
|
-
const
|
8
|
-
const
|
9
|
-
const
|
10
|
-
const fields = {
|
11
|
-
id: {
|
12
|
-
id: 'id',
|
13
|
-
label: 'ID',
|
14
|
-
description: 'The id of the patient in Healthie.',
|
15
|
-
type: extensions_core_1.FieldType.STRING,
|
16
|
-
required: true,
|
17
|
-
},
|
18
|
-
type: {
|
19
|
-
id: 'type',
|
20
|
-
label: 'Type',
|
21
|
-
description: 'The type of entry. Valid options are: ["MetricEntry", "FoodEntry", "WorkoutEntry", "MirrorEntry", "SleepEntry", "NoteEntry", "WaterIntakeEntry", "PoopEntry", "SymptomEntry"].',
|
22
|
-
type: extensions_core_1.FieldType.STRING,
|
23
|
-
required: true,
|
24
|
-
},
|
25
|
-
percieved_hungriness: {
|
26
|
-
id: 'percieved_hungriness',
|
27
|
-
label: 'Perceived hungriness',
|
28
|
-
description: 'A string index of hungriness. Valid options are: ["1", "2", "3"].',
|
29
|
-
type: extensions_core_1.FieldType.NUMERIC,
|
30
|
-
},
|
31
|
-
};
|
32
|
-
const dataPoints = {
|
33
|
-
journalEntryId: {
|
34
|
-
key: 'journalEntryId',
|
35
|
-
valueType: 'string',
|
36
|
-
},
|
37
|
-
};
|
7
|
+
const sdk_1 = require("../../gql/sdk");
|
8
|
+
const graphqlClient_1 = require("../../graphqlClient");
|
9
|
+
const config_1 = require("./config");
|
38
10
|
exports.createJournalEntry = {
|
39
11
|
key: 'createJournalEntry',
|
40
|
-
category:
|
12
|
+
category: extensions_core_1.Category.EHR_INTEGRATIONS,
|
41
13
|
title: 'Create journal entry',
|
42
14
|
description: 'Create a journal entry in Healthie.',
|
43
|
-
fields,
|
44
|
-
dataPoints,
|
15
|
+
fields: config_1.fields,
|
16
|
+
dataPoints: config_1.dataPoints,
|
45
17
|
previewable: true,
|
46
18
|
onActivityCreated: async (payload, onComplete, onError) => {
|
47
19
|
var _a, _b;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"createJournalEntry.js","sourceRoot":"","sources":["../../../../../extensions/healthie/actions/createJournalEntry/createJournalEntry.ts"],"names":[],"mappings":";;;AAAA,mCAA8B;AAC9B,yCAAwE;AAExE,mEAAwD;AACxD,uCAAsC;AACtC,uDAAsD;AAEtD,qCAA6C;AAEhC,QAAA,kBAAkB,GAI3B;IACF,GAAG,EAAE,oBAAoB;IACzB,QAAQ,EAAE,0BAAQ,CAAC,gBAAgB;IACnC,KAAK,EAAE,sBAAsB;IAC7B,WAAW,EAAE,qCAAqC;IAClD,MAAM,EAAN,eAAM;IACN,UAAU,EAAV,mBAAU;IACV,WAAW,EAAE,IAAI;IACjB,iBAAiB,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAiB,EAAE;;QACvE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAA;QACpC,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE,GAAG,MAAM,CAAA;QACjD,IAAI;YACF,IAAI,IAAA,cAAK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gBAChC,MAAM,MAAM,GAAG,IAAA,mCAA0B,EAAC,GAAG,CAAC,MAAM,CAAC,CAAA;gBACrD,MAAM,OAAO,CAAC;oBACZ,MAAM,EAAE,MAAM;iBACf,CAAC,CAAA;aACH;iBAAM;gBACL,MAAM,KAAK,GAAG,GAAY,CAAA;gBAC1B,MAAM,OAAO,CAAC;oBACZ,MAAM,EAAE;wBACN;4BACE,IAAI,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;4BAC9B,IAAI,EAAE,EAAE,EAAE,EAAE,gCAAgC,EAAE;4BAC9C,KAAK,EAAE;gCACL,QAAQ,EAAE,cAAc;gCACxB,OAAO,EAAE,KAAK,CAAC,OAAO;6BACvB;yBACF;qBACF;iBACF,CAAC,CAAA;aACH;SACF;IACH,CAAC;CACF,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,34 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const tests_1 = require("../../../../src/tests");
|
4
|
+
const sdk_1 = require("../../gql/sdk");
|
5
|
+
const sdk_2 = require("../../gql/__mocks__/sdk");
|
6
|
+
const createJournalEntry_1 = require("../createJournalEntry");
|
7
|
+
jest.mock('../../gql/sdk');
|
8
|
+
jest.mock('../../graphqlClient');
|
9
|
+
describe('createJournalEntry action', () => {
|
10
|
+
const onComplete = jest.fn();
|
11
|
+
beforeAll(() => {
|
12
|
+
const mock = sdk_1.getSdk;
|
13
|
+
mock.mockImplementation(sdk_2.mockGetSdk);
|
14
|
+
});
|
15
|
+
beforeEach(() => {
|
16
|
+
jest.clearAllMocks();
|
17
|
+
});
|
18
|
+
test('Should create a journal entry', async () => {
|
19
|
+
await createJournalEntry_1.createJournalEntry.onActivityCreated((0, tests_1.generateTestPayload)({
|
20
|
+
fields: {
|
21
|
+
id: 'patient-1',
|
22
|
+
type: 'MetricEntry',
|
23
|
+
percieved_hungriness: 1,
|
24
|
+
},
|
25
|
+
settings: {
|
26
|
+
apiKey: 'apiKey',
|
27
|
+
apiUrl: 'test-url',
|
28
|
+
},
|
29
|
+
}), onComplete, jest.fn());
|
30
|
+
expect(sdk_2.mockGetSdkReturn.createJournalEntry).toHaveBeenCalled();
|
31
|
+
expect(onComplete).toHaveBeenCalled();
|
32
|
+
});
|
33
|
+
});
|
34
|
+
//# sourceMappingURL=createJournalEntry.test.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"createJournalEntry.test.js","sourceRoot":"","sources":["../../../../../extensions/healthie/actions/createJournalEntry/createJournalEntry.test.ts"],"names":[],"mappings":";;AAAA,iDAA2D;AAC3D,uCAAsC;AACtC,iDAAsE;AACtE,8DAA0D;AAE1D,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA;AAC1B,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAA;AAEhC,QAAQ,CAAC,2BAA2B,EAAE,GAAG,EAAE;IACzC,MAAM,UAAU,GAAG,IAAI,CAAC,EAAE,EAAE,CAAA;IAE5B,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,IAAI,GAAG,YAAmB,CAAA;QAChC,IAAI,CAAC,kBAAkB,CAAC,gBAAU,CAAC,CAAA;IACrC,CAAC,CAAC,CAAA;IAEF,UAAU,CAAC,GAAG,EAAE;QACd,IAAI,CAAC,aAAa,EAAE,CAAA;IACtB,CAAC,CAAC,CAAA;IAEF,IAAI,CAAC,+BAA+B,EAAE,KAAK,IAAI,EAAE;QAC/C,MAAM,uCAAkB,CAAC,iBAAiB,CACxC,IAAA,2BAAmB,EAAC;YAClB,MAAM,EAAE;gBACN,EAAE,EAAE,WAAW;gBACf,IAAI,EAAE,aAAa;gBACnB,oBAAoB,EAAE,CAAC;aACxB;YACD,QAAQ,EAAE;gBACR,MAAM,EAAE,QAAQ;gBAChB,MAAM,EAAE,UAAU;aACnB;SACF,CAAC,EACF,UAAU,EACV,IAAI,CAAC,EAAE,EAAE,CACV,CAAA;QAED,MAAM,CAAC,sBAAgB,CAAC,kBAAkB,CAAC,CAAC,gBAAgB,EAAE,CAAA;QAC9D,MAAM,CAAC,UAAU,CAAC,CAAC,gBAAgB,EAAE,CAAA;IACvC,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { createJournalEntry } from './createJournalEntry';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.createJournalEntry = void 0;
|
4
|
+
var createJournalEntry_1 = require("./createJournalEntry");
|
5
|
+
Object.defineProperty(exports, "createJournalEntry", { enumerable: true, get: function () { return createJournalEntry_1.createJournalEntry; } });
|
6
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../extensions/healthie/actions/createJournalEntry/index.ts"],"names":[],"mappings":";;;AAAA,2DAAyD;AAAhD,wHAAA,kBAAkB,OAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"dataPoints.js","sourceRoot":"","sources":["../../../../../../extensions/healthie/actions/createLocation/config/dataPoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACxB,UAAU,EAAE;QACV,GAAG,EAAE,YAAY;QACjB,SAAS,EAAE,QAAQ;KACpB;CAC4C,CAAA"}
|
package/dist/extensions/healthie/actions/{createLocation.d.ts → createLocation/config/fields.d.ts}
RENAMED
@@ -1,6 +1,5 @@
|
|
1
|
-
import { FieldType
|
2
|
-
|
3
|
-
declare const fields: {
|
1
|
+
import { FieldType } from '@awell-health/extensions-core';
|
2
|
+
export declare const fields: {
|
4
3
|
id: {
|
5
4
|
id: string;
|
6
5
|
label: string;
|
@@ -52,11 +51,3 @@ declare const fields: {
|
|
52
51
|
type: FieldType.STRING;
|
53
52
|
};
|
54
53
|
};
|
55
|
-
declare const dataPoints: {
|
56
|
-
locationId: {
|
57
|
-
key: string;
|
58
|
-
valueType: "string";
|
59
|
-
};
|
60
|
-
};
|
61
|
-
export declare const createLocation: Action<typeof fields, typeof settings, keyof typeof dataPoints>;
|
62
|
-
export {};
|
@@ -0,0 +1,57 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.fields = void 0;
|
4
|
+
const extensions_core_1 = require("@awell-health/extensions-core");
|
5
|
+
exports.fields = {
|
6
|
+
id: {
|
7
|
+
id: 'id',
|
8
|
+
label: 'ID',
|
9
|
+
description: 'The id of the patient in Healthie.',
|
10
|
+
type: extensions_core_1.FieldType.STRING,
|
11
|
+
required: true,
|
12
|
+
},
|
13
|
+
name: {
|
14
|
+
id: 'name',
|
15
|
+
label: 'Name',
|
16
|
+
description: 'The name of the address.',
|
17
|
+
type: extensions_core_1.FieldType.STRING,
|
18
|
+
},
|
19
|
+
country: {
|
20
|
+
id: 'country',
|
21
|
+
label: 'Country',
|
22
|
+
description: 'The country of the patient.',
|
23
|
+
type: extensions_core_1.FieldType.STRING,
|
24
|
+
},
|
25
|
+
state: {
|
26
|
+
id: 'state',
|
27
|
+
label: 'State',
|
28
|
+
description: "The state patient's lives in.",
|
29
|
+
type: extensions_core_1.FieldType.STRING,
|
30
|
+
},
|
31
|
+
city: {
|
32
|
+
id: 'city',
|
33
|
+
label: 'City',
|
34
|
+
description: 'The city of the patient.',
|
35
|
+
type: extensions_core_1.FieldType.STRING,
|
36
|
+
},
|
37
|
+
zip: {
|
38
|
+
id: 'zip',
|
39
|
+
label: 'Zip code',
|
40
|
+
description: 'The zip code of the patient.',
|
41
|
+
type: extensions_core_1.FieldType.STRING,
|
42
|
+
},
|
43
|
+
line1: {
|
44
|
+
id: 'line1',
|
45
|
+
label: 'Line 1',
|
46
|
+
description: 'The line 1 of the address.',
|
47
|
+
type: extensions_core_1.FieldType.STRING,
|
48
|
+
required: true,
|
49
|
+
},
|
50
|
+
line2: {
|
51
|
+
id: 'line2',
|
52
|
+
label: 'Line 2',
|
53
|
+
description: 'The line 2 of the address.',
|
54
|
+
type: extensions_core_1.FieldType.STRING,
|
55
|
+
},
|
56
|
+
};
|
57
|
+
//# sourceMappingURL=fields.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../../extensions/healthie/actions/createLocation/config/fields.ts"],"names":[],"mappings":";;;AAAA,mEAAqE;AAExD,QAAA,MAAM,GAAG;IACpB,EAAE,EAAE;QACF,EAAE,EAAE,IAAI;QACR,KAAK,EAAE,IAAI;QACX,WAAW,EAAE,oCAAoC;QACjD,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM;QACV,KAAK,EAAE,MAAM;QACb,WAAW,EAAE,0BAA0B;QACvC,IAAI,EAAE,2BAAS,CAAC,MAAM;KACvB;IACD,OAAO,EAAE;QACP,EAAE,EAAE,SAAS;QACb,KAAK,EAAE,SAAS;QAChB,WAAW,EAAE,6BAA6B;QAC1C,IAAI,EAAE,2BAAS,CAAC,MAAM;KACvB;IACD,KAAK,EAAE;QACL,EAAE,EAAE,OAAO;QACX,KAAK,EAAE,OAAO;QACd,WAAW,EAAE,+BAA+B;QAC5C,IAAI,EAAE,2BAAS,CAAC,MAAM;KACvB;IACD,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM;QACV,KAAK,EAAE,MAAM;QACb,WAAW,EAAE,0BAA0B;QACvC,IAAI,EAAE,2BAAS,CAAC,MAAM;KACvB;IACD,GAAG,EAAE;QACH,EAAE,EAAE,KAAK;QACT,KAAK,EAAE,UAAU;QACjB,WAAW,EAAE,8BAA8B;QAC3C,IAAI,EAAE,2BAAS,CAAC,MAAM;KACvB;IACD,KAAK,EAAE;QACL,EAAE,EAAE,OAAO;QACX,KAAK,EAAE,QAAQ;QACf,WAAW,EAAE,4BAA4B;QACzC,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;IACD,KAAK,EAAE;QACL,EAAE,EAAE,OAAO;QACX,KAAK,EAAE,QAAQ;QACf,WAAW,EAAE,4BAA4B;QACzC,IAAI,EAAE,2BAAS,CAAC,MAAM;KACvB;CAC8B,CAAA"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.fields = exports.dataPoints = void 0;
|
4
|
+
var dataPoints_1 = require("./dataPoints");
|
5
|
+
Object.defineProperty(exports, "dataPoints", { enumerable: true, get: function () { return dataPoints_1.dataPoints; } });
|
6
|
+
var fields_1 = require("./fields");
|
7
|
+
Object.defineProperty(exports, "fields", { enumerable: true, get: function () { return fields_1.fields; } });
|
8
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../extensions/healthie/actions/createLocation/config/index.ts"],"names":[],"mappings":";;;AAAA,2CAAyC;AAAhC,wGAAA,UAAU,OAAA;AACnB,mCAAiC;AAAxB,gGAAA,MAAM,OAAA"}
|