@awell-health/awell-extensions 2.0.151 → 2.0.153

Sign up to get free protection for your applications and to get access to all the features.
Files changed (325) hide show
  1. package/dist/extensions/cerner/actions/createPatient/__testdata__/CreateFhirPatient.mock.d.ts +8 -0
  2. package/dist/extensions/cerner/actions/createPatient/__testdata__/CreateFhirPatient.mock.js +12 -0
  3. package/dist/extensions/cerner/actions/createPatient/__testdata__/CreateFhirPatient.mock.js.map +1 -0
  4. package/dist/extensions/cerner/actions/createPatient/config/datapoints.d.ts +6 -1
  5. package/dist/extensions/cerner/actions/createPatient/config/datapoints.js +6 -1
  6. package/dist/extensions/cerner/actions/createPatient/config/datapoints.js.map +1 -1
  7. package/dist/extensions/cerner/actions/createPatient/config/fields.d.ts +70 -2
  8. package/dist/extensions/cerner/actions/createPatient/config/fields.js +61 -2
  9. package/dist/extensions/cerner/actions/createPatient/config/fields.js.map +1 -1
  10. package/dist/extensions/cerner/actions/createPatient/createPatient.js +61 -1
  11. package/dist/extensions/cerner/actions/createPatient/createPatient.js.map +1 -1
  12. package/dist/extensions/cerner/actions/getPatient/__testdata__/PatientRead.mock.d.ts +37 -0
  13. package/dist/extensions/cerner/actions/getPatient/__testdata__/PatientRead.mock.js +55 -0
  14. package/dist/extensions/cerner/actions/getPatient/__testdata__/PatientRead.mock.js.map +1 -0
  15. package/dist/extensions/cerner/actions/getPatient/config/datapoints.d.ts +6 -1
  16. package/dist/extensions/cerner/actions/getPatient/config/datapoints.js +6 -1
  17. package/dist/extensions/cerner/actions/getPatient/config/datapoints.js.map +1 -1
  18. package/dist/extensions/cerner/actions/getPatient/config/fields.d.ts +17 -2
  19. package/dist/extensions/cerner/actions/getPatient/config/fields.js +13 -2
  20. package/dist/extensions/cerner/actions/getPatient/config/fields.js.map +1 -1
  21. package/dist/extensions/cerner/actions/getPatient/getPatient.js +33 -2
  22. package/dist/extensions/cerner/actions/getPatient/getPatient.js.map +1 -1
  23. package/dist/extensions/cerner/actions/index.d.ts +31 -4
  24. package/dist/extensions/cerner/actions/index.js +2 -6
  25. package/dist/extensions/cerner/actions/index.js.map +1 -1
  26. package/dist/extensions/cerner/index.js +1 -1
  27. package/dist/extensions/cerner/index.js.map +1 -1
  28. package/dist/extensions/cerner/lib/api/FhirR4/FhirR4client-backup.d.ts +0 -0
  29. package/dist/extensions/cerner/lib/api/FhirR4/FhirR4client-backup.js +172 -0
  30. package/dist/extensions/cerner/lib/api/FhirR4/FhirR4client-backup.js.map +1 -0
  31. package/dist/extensions/cerner/lib/api/FhirR4/FhirR4client.d.ts +19 -0
  32. package/dist/extensions/cerner/lib/api/FhirR4/FhirR4client.js +45 -0
  33. package/dist/extensions/cerner/lib/api/FhirR4/FhirR4client.js.map +1 -0
  34. package/dist/extensions/cerner/lib/api/FhirR4/cacheService.d.ts +11 -0
  35. package/dist/extensions/cerner/lib/api/FhirR4/cacheService.js +15 -0
  36. package/dist/extensions/cerner/lib/api/FhirR4/cacheService.js.map +1 -0
  37. package/dist/extensions/cerner/lib/api/FhirR4/index.d.ts +1 -0
  38. package/dist/extensions/cerner/lib/api/FhirR4/index.js +18 -0
  39. package/dist/extensions/cerner/lib/api/FhirR4/index.js.map +1 -0
  40. package/dist/extensions/cerner/lib/api/FhirR4/schema/AppointmentRead.schema.d.ts +9 -0
  41. package/dist/extensions/cerner/lib/api/FhirR4/schema/AppointmentRead.schema.js +6 -0
  42. package/dist/extensions/cerner/lib/api/FhirR4/schema/AppointmentRead.schema.js.map +1 -0
  43. package/dist/extensions/cerner/lib/api/FhirR4/schema/DocumentReferenceCreate.schema.d.ts +7 -0
  44. package/dist/extensions/cerner/lib/api/FhirR4/schema/DocumentReferenceCreate.schema.js +3 -0
  45. package/dist/extensions/cerner/lib/api/FhirR4/schema/DocumentReferenceCreate.schema.js.map +1 -0
  46. package/dist/extensions/cerner/lib/api/FhirR4/schema/PatientCreate.schema.d.ts +7 -0
  47. package/dist/extensions/cerner/lib/api/FhirR4/schema/PatientCreate.schema.js +3 -0
  48. package/dist/extensions/cerner/lib/api/FhirR4/schema/PatientCreate.schema.js.map +1 -0
  49. package/dist/extensions/cerner/lib/api/FhirR4/schema/PatientMatch.schema.d.ts +37 -0
  50. package/dist/extensions/cerner/lib/api/FhirR4/schema/PatientMatch.schema.js +3 -0
  51. package/dist/extensions/cerner/lib/api/FhirR4/schema/PatientMatch.schema.js.map +1 -0
  52. package/dist/extensions/cerner/lib/api/FhirR4/schema/PatientRead.schema.d.ts +9 -0
  53. package/dist/extensions/cerner/lib/api/FhirR4/schema/PatientRead.schema.js +6 -0
  54. package/dist/extensions/cerner/lib/api/FhirR4/schema/PatientRead.schema.js.map +1 -0
  55. package/dist/extensions/cerner/lib/api/FhirR4/schema/PatientSearch.schema.d.ts +8 -0
  56. package/dist/extensions/cerner/lib/api/FhirR4/schema/PatientSearch.schema.js +3 -0
  57. package/dist/extensions/cerner/lib/api/FhirR4/schema/PatientSearch.schema.js.map +1 -0
  58. package/dist/extensions/cerner/lib/api/FhirR4/schema/index.d.ts +6 -0
  59. package/dist/extensions/cerner/lib/api/FhirR4/schema/index.js +23 -0
  60. package/dist/extensions/cerner/lib/api/FhirR4/schema/index.js.map +1 -0
  61. package/dist/extensions/cerner/lib/api/auth/constructCernerUrls.d.ts +4 -0
  62. package/dist/extensions/cerner/lib/api/auth/constructCernerUrls.js +11 -0
  63. package/dist/extensions/cerner/lib/api/auth/constructCernerUrls.js.map +1 -0
  64. package/dist/extensions/cerner/lib/api/auth/index.d.ts +1 -0
  65. package/dist/extensions/cerner/lib/api/auth/index.js +18 -0
  66. package/dist/extensions/cerner/lib/api/auth/index.js.map +1 -0
  67. package/dist/extensions/cerner/lib/validatePayloadAndCreateSdks.d.ts +18 -0
  68. package/dist/extensions/cerner/lib/validatePayloadAndCreateSdks.js +41 -0
  69. package/dist/extensions/cerner/lib/validatePayloadAndCreateSdks.js.map +1 -0
  70. package/dist/extensions/cerner/settings.d.ts +36 -2
  71. package/dist/extensions/cerner/settings.js +28 -2
  72. package/dist/extensions/cerner/settings.js.map +1 -1
  73. package/dist/extensions/dockHealth/lib/dock.types.d.ts +2 -2
  74. package/dist/extensions/elation/actions/findAppointmentsByPrompt/findAppointmentsByPrompt.js +33 -113
  75. package/dist/extensions/elation/actions/findAppointmentsByPrompt/findAppointmentsByPrompt.js.map +1 -1
  76. package/dist/extensions/elation/actions/findAppointmentsByPrompt/getAppoitnmentCountByStatus.d.ts +2 -0
  77. package/dist/extensions/elation/actions/findAppointmentsByPrompt/getAppoitnmentCountByStatus.js +15 -0
  78. package/dist/extensions/elation/actions/findAppointmentsByPrompt/getAppoitnmentCountByStatus.js.map +1 -0
  79. package/dist/extensions/elation/actions/findAppointmentsByPrompt/lib/findAppointmentsByPromptWithLLM/findAppointmentsByPromptWithLLM.d.ts +14 -0
  80. package/dist/extensions/elation/actions/findAppointmentsByPrompt/lib/findAppointmentsByPromptWithLLM/findAppointmentsByPromptWithLLM.js +36 -0
  81. package/dist/extensions/elation/actions/findAppointmentsByPrompt/lib/findAppointmentsByPromptWithLLM/findAppointmentsByPromptWithLLM.js.map +1 -0
  82. package/dist/extensions/elation/actions/findAppointmentsByPrompt/lib/findAppointmentsByPromptWithLLM/parser.d.ts +17 -0
  83. package/dist/extensions/elation/actions/findAppointmentsByPrompt/lib/findAppointmentsByPromptWithLLM/parser.js +14 -0
  84. package/dist/extensions/elation/actions/findAppointmentsByPrompt/lib/findAppointmentsByPromptWithLLM/parser.js.map +1 -0
  85. package/dist/extensions/elation/actions/findAppointmentsByPrompt/lib/findAppointmentsByPromptWithLLM/prompt.d.ts +2 -0
  86. package/dist/extensions/elation/actions/findAppointmentsByPrompt/lib/findAppointmentsByPromptWithLLM/prompt.js +24 -0
  87. package/dist/extensions/elation/actions/findAppointmentsByPrompt/lib/findAppointmentsByPromptWithLLM/prompt.js.map +1 -0
  88. package/dist/extensions/elation/actions/findFutureAppointment/findFutureAppointment.d.ts +1 -1
  89. package/dist/extensions/elation/actions/findFutureAppointment/findFutureAppointment.js +32 -90
  90. package/dist/extensions/elation/actions/findFutureAppointment/findFutureAppointment.js.map +1 -1
  91. package/dist/extensions/elation/actions/findFutureAppointment/formatAppointments.d.ts +2 -0
  92. package/dist/extensions/elation/actions/findFutureAppointment/formatAppointments.js +18 -0
  93. package/dist/extensions/elation/actions/findFutureAppointment/formatAppointments.js.map +1 -0
  94. package/dist/extensions/elation/actions/findFutureAppointment/getFutureAppoitnments.d.ts +3 -0
  95. package/dist/extensions/elation/actions/findFutureAppointment/getFutureAppoitnments.js +15 -0
  96. package/dist/extensions/elation/actions/findFutureAppointment/getFutureAppoitnments.js.map +1 -0
  97. package/dist/extensions/elation/actions/findFutureAppointment/lib/findAppointmentWithLLM/findAppointmentWithLLM.d.ts +14 -0
  98. package/dist/extensions/elation/actions/findFutureAppointment/lib/findAppointmentWithLLM/findAppointmentWithLLM.js +29 -0
  99. package/dist/extensions/elation/actions/findFutureAppointment/lib/findAppointmentWithLLM/findAppointmentWithLLM.js.map +1 -0
  100. package/dist/extensions/elation/actions/findFutureAppointment/lib/findAppointmentWithLLM/parser.d.ts +17 -0
  101. package/dist/extensions/elation/actions/findFutureAppointment/lib/findAppointmentWithLLM/parser.js +16 -0
  102. package/dist/extensions/elation/actions/findFutureAppointment/lib/findAppointmentWithLLM/parser.js.map +1 -0
  103. package/dist/extensions/elation/actions/findFutureAppointment/lib/findAppointmentWithLLM/prompt.d.ts +2 -0
  104. package/dist/extensions/elation/actions/findFutureAppointment/lib/findAppointmentWithLLM/prompt.js +20 -0
  105. package/dist/extensions/elation/actions/findFutureAppointment/lib/findAppointmentWithLLM/prompt.js.map +1 -0
  106. package/dist/extensions/elation/actions/index.d.ts +0 -210
  107. package/dist/extensions/elation/actions/updatePatientTags/config/types.d.ts +29 -0
  108. package/dist/extensions/elation/actions/updatePatientTags/config/types.js +21 -0
  109. package/dist/extensions/elation/actions/updatePatientTags/config/types.js.map +1 -0
  110. package/dist/extensions/elation/actions/updatePatientTags/lib/getTagsFromLLM/getTagsFromLLM.d.ts +13 -0
  111. package/dist/extensions/elation/actions/updatePatientTags/lib/getTagsFromLLM/getTagsFromLLM.js +29 -0
  112. package/dist/extensions/elation/actions/updatePatientTags/lib/getTagsFromLLM/getTagsFromLLM.js.map +1 -0
  113. package/dist/extensions/elation/actions/updatePatientTags/lib/getTagsFromLLM/parser.d.ts +13 -0
  114. package/dist/extensions/elation/actions/updatePatientTags/lib/getTagsFromLLM/parser.js +7 -0
  115. package/dist/extensions/elation/actions/updatePatientTags/lib/getTagsFromLLM/parser.js.map +1 -0
  116. package/dist/extensions/elation/actions/updatePatientTags/lib/getTagsFromLLM/prompt.d.ts +2 -0
  117. package/dist/extensions/elation/actions/updatePatientTags/lib/getTagsFromLLM/prompt.js +22 -0
  118. package/dist/extensions/elation/actions/updatePatientTags/lib/getTagsFromLLM/prompt.js.map +1 -0
  119. package/dist/extensions/elation/actions/updatePatientTags/updatePatientTags.d.ts +8 -0
  120. package/dist/extensions/elation/actions/updatePatientTags/updatePatientTags.js +35 -77
  121. package/dist/extensions/elation/actions/updatePatientTags/updatePatientTags.js.map +1 -1
  122. package/dist/extensions/elation/actions/updatePatientTags/updateTags.d.ts +2 -0
  123. package/dist/extensions/elation/actions/updatePatientTags/updateTags.js +18 -0
  124. package/dist/extensions/elation/actions/updatePatientTags/updateTags.js.map +1 -0
  125. package/dist/extensions/elation/settings.d.ts +1 -10
  126. package/dist/extensions/elation/settings.js +0 -8
  127. package/dist/extensions/elation/settings.js.map +1 -1
  128. package/dist/extensions/elation/validation/referralOrder.zod.d.ts +17 -17
  129. package/dist/extensions/epic/actions/createClinicalNote/config/fields.js +1 -1
  130. package/dist/extensions/epic/actions/createClinicalNote/config/fields.js.map +1 -1
  131. package/dist/extensions/epic/actions/createClinicalNote/createClinicalNote.js +1 -1
  132. package/dist/extensions/epic/actions/createClinicalNote/createClinicalNote.js.map +1 -1
  133. package/dist/extensions/epic/actions/createPatient/config/fields.js +1 -1
  134. package/dist/extensions/epic/actions/createPatient/config/fields.js.map +1 -1
  135. package/dist/extensions/epic/actions/matchPatient/config/fields.js +1 -1
  136. package/dist/extensions/epic/actions/matchPatient/config/fields.js.map +1 -1
  137. package/dist/extensions/epic/lib/api/customFhirSchemas/DocumentReference/Status.schema.js.map +1 -0
  138. package/dist/extensions/epic/lib/api/customFhirSchemas/DocumentReference/Type.schema.js.map +1 -0
  139. package/dist/extensions/epic/lib/api/{schemas → customFhirSchemas}/DocumentReference/index.js +1 -1
  140. package/dist/extensions/epic/lib/api/customFhirSchemas/DocumentReference/index.js.map +1 -0
  141. package/dist/extensions/markdown.json +1 -1
  142. package/dist/extensions/medplum/actions/createServiceRequest/config/fields.js +4 -6
  143. package/dist/extensions/medplum/actions/createServiceRequest/config/fields.js.map +1 -1
  144. package/dist/extensions/medplum/actions/createTask/config/fields.js +4 -6
  145. package/dist/extensions/medplum/actions/createTask/config/fields.js.map +1 -1
  146. package/dist/extensions/medplum/fhir/schemas/resources/patient.schema.js +2 -2
  147. package/dist/extensions/medplum/fhir/schemas/resources/patient.schema.js.map +1 -1
  148. package/dist/extensions/medplum/fhir/schemas/resources/serviceRequest.schema.js +5 -5
  149. package/dist/extensions/medplum/fhir/schemas/resources/serviceRequest.schema.js.map +1 -1
  150. package/dist/extensions/medplum/fhir/schemas/resources/task.schema.js +4 -4
  151. package/dist/extensions/medplum/fhir/schemas/resources/task.schema.js.map +1 -1
  152. package/dist/extensions/shelly/actions/categorizeMessage/categorizeMessage.d.ts +10 -2
  153. package/dist/extensions/shelly/actions/categorizeMessage/categorizeMessage.js +32 -24
  154. package/dist/extensions/shelly/actions/categorizeMessage/categorizeMessage.js.map +1 -1
  155. package/dist/extensions/shelly/actions/categorizeMessage/lib/categorizeMessageWithLLM/categorizeMessageWithLLM.d.ts +22 -2
  156. package/dist/extensions/shelly/actions/categorizeMessage/lib/categorizeMessageWithLLM/categorizeMessageWithLLM.js +22 -7
  157. package/dist/extensions/shelly/actions/categorizeMessage/lib/categorizeMessageWithLLM/categorizeMessageWithLLM.js.map +1 -1
  158. package/dist/extensions/shelly/actions/categorizeMessage/lib/categorizeMessageWithLLM/parser.d.ts +20 -0
  159. package/dist/extensions/shelly/actions/categorizeMessage/lib/categorizeMessageWithLLM/parser.js +18 -0
  160. package/dist/extensions/shelly/actions/categorizeMessage/lib/categorizeMessageWithLLM/parser.js.map +1 -0
  161. package/dist/extensions/shelly/actions/categorizeMessage/lib/categorizeMessageWithLLM/prompt.d.ts +13 -0
  162. package/dist/extensions/shelly/actions/categorizeMessage/lib/categorizeMessageWithLLM/prompt.js +35 -0
  163. package/dist/extensions/shelly/actions/categorizeMessage/lib/categorizeMessageWithLLM/prompt.js.map +1 -0
  164. package/dist/extensions/shelly/actions/generateMessage/generateMessage.d.ts +10 -2
  165. package/dist/extensions/shelly/actions/generateMessage/generateMessage.js +33 -25
  166. package/dist/extensions/shelly/actions/generateMessage/generateMessage.js.map +1 -1
  167. package/dist/extensions/shelly/actions/generateMessage/lib/generateMessageWithLLM/generateMessageWithLLM.d.ts +18 -2
  168. package/dist/extensions/shelly/actions/generateMessage/lib/generateMessageWithLLM/generateMessageWithLLM.js +23 -10
  169. package/dist/extensions/shelly/actions/generateMessage/lib/generateMessageWithLLM/generateMessageWithLLM.js.map +1 -1
  170. package/dist/extensions/shelly/actions/generateMessage/lib/generateMessageWithLLM/parser.d.ts +28 -0
  171. package/dist/extensions/shelly/actions/generateMessage/lib/generateMessageWithLLM/parser.js +17 -0
  172. package/dist/extensions/shelly/actions/generateMessage/lib/generateMessageWithLLM/parser.js.map +1 -0
  173. package/dist/extensions/shelly/actions/generateMessage/lib/generateMessageWithLLM/prompt.d.ts +10 -0
  174. package/dist/extensions/shelly/actions/generateMessage/lib/generateMessageWithLLM/prompt.js +121 -0
  175. package/dist/extensions/shelly/actions/generateMessage/lib/generateMessageWithLLM/prompt.js.map +1 -0
  176. package/dist/extensions/shelly/actions/index.d.ts +7 -63
  177. package/dist/extensions/shelly/actions/medicationFromImage/medicationFromImage.d.ts +1 -2
  178. package/dist/extensions/shelly/actions/medicationFromImage/medicationFromImage.js.map +1 -1
  179. package/dist/extensions/shelly/actions/reviewMedicationExtraction/reviewMedicationExtraction.d.ts +1 -2
  180. package/dist/extensions/shelly/actions/reviewMedicationExtraction/reviewMedicationExtraction.js.map +1 -1
  181. package/dist/extensions/shelly/actions/summarizeCareFlow/lib/summarizeCareFlowWithLLM/{constants.js → prompt.js} +1 -1
  182. package/dist/extensions/shelly/actions/summarizeCareFlow/lib/summarizeCareFlowWithLLM/prompt.js.map +1 -0
  183. package/dist/extensions/shelly/actions/summarizeCareFlow/lib/summarizeCareFlowWithLLM/summarizeCareFlowWithLLM.d.ts +22 -2
  184. package/dist/extensions/shelly/actions/summarizeCareFlow/lib/summarizeCareFlowWithLLM/summarizeCareFlowWithLLM.js +30 -8
  185. package/dist/extensions/shelly/actions/summarizeCareFlow/lib/summarizeCareFlowWithLLM/summarizeCareFlowWithLLM.js.map +1 -1
  186. package/dist/extensions/shelly/actions/summarizeCareFlow/summarizeCareFlow.d.ts +1 -2
  187. package/dist/extensions/shelly/actions/summarizeCareFlow/summarizeCareFlow.js +24 -21
  188. package/dist/extensions/shelly/actions/summarizeCareFlow/summarizeCareFlow.js.map +1 -1
  189. package/dist/extensions/shelly/actions/summarizeForm/summarizeForm.d.ts +10 -2
  190. package/dist/extensions/shelly/actions/summarizeForm/summarizeForm.js +42 -28
  191. package/dist/extensions/shelly/actions/summarizeForm/summarizeForm.js.map +1 -1
  192. package/dist/extensions/shelly/actions/summarizeFormsInStep/summarizeFormsInStep.d.ts +1 -2
  193. package/dist/extensions/shelly/actions/summarizeFormsInStep/summarizeFormsInStep.js +29 -26
  194. package/dist/extensions/shelly/actions/summarizeFormsInStep/summarizeFormsInStep.js.map +1 -1
  195. package/dist/extensions/shelly/index.js +2 -3
  196. package/dist/extensions/shelly/index.js.map +1 -1
  197. package/dist/extensions/shelly/lib/summarizeFormWithLLM/{constants.js → prompt.js} +1 -1
  198. package/dist/extensions/shelly/lib/summarizeFormWithLLM/prompt.js.map +1 -0
  199. package/dist/extensions/shelly/lib/summarizeFormWithLLM/summarizeFormWithLLM.d.ts +23 -2
  200. package/dist/extensions/shelly/lib/summarizeFormWithLLM/summarizeFormWithLLM.js +33 -9
  201. package/dist/extensions/shelly/lib/summarizeFormWithLLM/summarizeFormWithLLM.js.map +1 -1
  202. package/dist/extensions/shelly/lib/validatePayloadAndCreateSdk.d.ts +1 -5
  203. package/dist/extensions/shelly/lib/validatePayloadAndCreateSdk.js +5 -20
  204. package/dist/extensions/shelly/lib/validatePayloadAndCreateSdk.js.map +1 -1
  205. package/dist/extensions/zendesk/v1/actions/createTask/config/fields.d.ts +2 -2
  206. package/dist/src/lib/fhir/schemas/Appointment/Status.schema.js.map +1 -0
  207. package/dist/src/lib/fhir/schemas/Appointment/index.js.map +1 -0
  208. package/dist/src/lib/fhir/schemas/Patient/Gender.schema.js.map +1 -0
  209. package/dist/src/lib/fhir/schemas/Patient/index.js.map +1 -0
  210. package/dist/{extensions/medplum/fhir/schemas/atoms/IntentSchema.d.ts → src/lib/fhir/schemas/ServiceRequest/Intent.schema.d.ts} +0 -1
  211. package/dist/{extensions/medplum/fhir/schemas/atoms/IntentSchema.js → src/lib/fhir/schemas/ServiceRequest/Intent.schema.js} +2 -13
  212. package/dist/src/lib/fhir/schemas/ServiceRequest/Intent.schema.js.map +1 -0
  213. package/dist/{extensions/medplum/fhir/schemas/atoms/PrioritySchema.js → src/lib/fhir/schemas/ServiceRequest/Priority.schema.js} +1 -1
  214. package/dist/src/lib/fhir/schemas/ServiceRequest/Priority.schema.js.map +1 -0
  215. package/dist/src/lib/fhir/schemas/ServiceRequest/Status.schema.d.ts +2 -0
  216. package/dist/src/lib/fhir/schemas/ServiceRequest/Status.schema.js +14 -0
  217. package/dist/src/lib/fhir/schemas/ServiceRequest/Status.schema.js.map +1 -0
  218. package/dist/src/lib/fhir/schemas/ServiceRequest/index.d.ts +3 -0
  219. package/dist/src/lib/fhir/schemas/ServiceRequest/index.js +20 -0
  220. package/dist/src/lib/fhir/schemas/ServiceRequest/index.js.map +1 -0
  221. package/dist/src/lib/fhir/schemas/Shared/PeriodSchema.js.map +1 -0
  222. package/dist/src/lib/fhir/schemas/Shared/index.d.ts +1 -0
  223. package/dist/src/lib/fhir/schemas/Shared/index.js +18 -0
  224. package/dist/src/lib/fhir/schemas/Shared/index.js.map +1 -0
  225. package/dist/src/lib/fhir/schemas/Task/IntentSchema.d.ts +2 -0
  226. package/dist/src/lib/fhir/schemas/Task/IntentSchema.js +16 -0
  227. package/dist/src/lib/fhir/schemas/Task/IntentSchema.js.map +1 -0
  228. package/dist/src/lib/fhir/schemas/Task/Priority.schema.d.ts +2 -0
  229. package/dist/src/lib/fhir/schemas/Task/Priority.schema.js +6 -0
  230. package/dist/src/lib/fhir/schemas/Task/Priority.schema.js.map +1 -0
  231. package/dist/{extensions/medplum/fhir/schemas/atoms/StatusSchema.d.ts → src/lib/fhir/schemas/Task/Status.schema.d.ts} +0 -1
  232. package/dist/{extensions/medplum/fhir/schemas/atoms/StatusSchema.js → src/lib/fhir/schemas/Task/Status.schema.js} +2 -11
  233. package/dist/src/lib/fhir/schemas/Task/Status.schema.js.map +1 -0
  234. package/dist/src/lib/fhir/schemas/Task/index.d.ts +3 -0
  235. package/dist/src/lib/fhir/schemas/Task/index.js +20 -0
  236. package/dist/src/lib/fhir/schemas/Task/index.js.map +1 -0
  237. package/dist/src/lib/llm/openai/constants.d.ts +28 -0
  238. package/dist/src/lib/llm/openai/constants.js +32 -0
  239. package/dist/src/lib/llm/openai/constants.js.map +1 -0
  240. package/dist/src/lib/llm/openai/createOpenAIModel.d.ts +23 -0
  241. package/dist/src/lib/llm/openai/createOpenAIModel.js +89 -0
  242. package/dist/src/lib/llm/openai/createOpenAIModel.js.map +1 -0
  243. package/dist/src/lib/llm/openai/index.d.ts +3 -0
  244. package/dist/src/lib/llm/openai/index.js +20 -0
  245. package/dist/src/lib/llm/openai/index.js.map +1 -0
  246. package/dist/src/lib/llm/openai/types.d.ts +63 -0
  247. package/dist/src/lib/llm/openai/types.js +3 -0
  248. package/dist/src/lib/llm/openai/types.js.map +1 -0
  249. package/package.json +5 -4
  250. package/dist/extensions/cerner/actions/createClinicalNote/config/datapoints.d.ts +0 -1
  251. package/dist/extensions/cerner/actions/createClinicalNote/config/datapoints.js +0 -5
  252. package/dist/extensions/cerner/actions/createClinicalNote/config/datapoints.js.map +0 -1
  253. package/dist/extensions/cerner/actions/createClinicalNote/config/fields.d.ts +0 -3
  254. package/dist/extensions/cerner/actions/createClinicalNote/config/fields.js +0 -10
  255. package/dist/extensions/cerner/actions/createClinicalNote/config/fields.js.map +0 -1
  256. package/dist/extensions/cerner/actions/createClinicalNote/config/index.d.ts +0 -2
  257. package/dist/extensions/cerner/actions/createClinicalNote/config/index.js +0 -9
  258. package/dist/extensions/cerner/actions/createClinicalNote/config/index.js.map +0 -1
  259. package/dist/extensions/cerner/actions/createClinicalNote/createClinicalNote.d.ts +0 -4
  260. package/dist/extensions/cerner/actions/createClinicalNote/createClinicalNote.js +0 -18
  261. package/dist/extensions/cerner/actions/createClinicalNote/createClinicalNote.js.map +0 -1
  262. package/dist/extensions/cerner/actions/createClinicalNote/index.d.ts +0 -1
  263. package/dist/extensions/cerner/actions/createClinicalNote/index.js +0 -6
  264. package/dist/extensions/cerner/actions/createClinicalNote/index.js.map +0 -1
  265. package/dist/extensions/cerner/actions/getAppointment/config/datapoints.d.ts +0 -1
  266. package/dist/extensions/cerner/actions/getAppointment/config/datapoints.js +0 -5
  267. package/dist/extensions/cerner/actions/getAppointment/config/datapoints.js.map +0 -1
  268. package/dist/extensions/cerner/actions/getAppointment/config/fields.d.ts +0 -3
  269. package/dist/extensions/cerner/actions/getAppointment/config/fields.js +0 -10
  270. package/dist/extensions/cerner/actions/getAppointment/config/fields.js.map +0 -1
  271. package/dist/extensions/cerner/actions/getAppointment/config/index.d.ts +0 -2
  272. package/dist/extensions/cerner/actions/getAppointment/config/index.js +0 -9
  273. package/dist/extensions/cerner/actions/getAppointment/config/index.js.map +0 -1
  274. package/dist/extensions/cerner/actions/getAppointment/getAppointment.d.ts +0 -4
  275. package/dist/extensions/cerner/actions/getAppointment/getAppointment.js +0 -18
  276. package/dist/extensions/cerner/actions/getAppointment/getAppointment.js.map +0 -1
  277. package/dist/extensions/cerner/actions/getAppointment/index.d.ts +0 -1
  278. package/dist/extensions/cerner/actions/getAppointment/index.js +0 -6
  279. package/dist/extensions/cerner/actions/getAppointment/index.js.map +0 -1
  280. package/dist/extensions/epic/lib/api/schemas/Appointment/Status.schema.js.map +0 -1
  281. package/dist/extensions/epic/lib/api/schemas/Appointment/index.js.map +0 -1
  282. package/dist/extensions/epic/lib/api/schemas/DocumentReference/Status.schema.js.map +0 -1
  283. package/dist/extensions/epic/lib/api/schemas/DocumentReference/Type.schema.js.map +0 -1
  284. package/dist/extensions/epic/lib/api/schemas/DocumentReference/index.js.map +0 -1
  285. package/dist/extensions/epic/lib/api/schemas/Patient/Gender.schema.js.map +0 -1
  286. package/dist/extensions/epic/lib/api/schemas/Patient/index.js.map +0 -1
  287. package/dist/extensions/medplum/fhir/schemas/atoms/GenderSchema.d.ts +0 -2
  288. package/dist/extensions/medplum/fhir/schemas/atoms/GenderSchema.js +0 -6
  289. package/dist/extensions/medplum/fhir/schemas/atoms/GenderSchema.js.map +0 -1
  290. package/dist/extensions/medplum/fhir/schemas/atoms/IntentSchema.js.map +0 -1
  291. package/dist/extensions/medplum/fhir/schemas/atoms/PeriodSchema.js.map +0 -1
  292. package/dist/extensions/medplum/fhir/schemas/atoms/PrioritySchema.js.map +0 -1
  293. package/dist/extensions/medplum/fhir/schemas/atoms/StatusSchema.js.map +0 -1
  294. package/dist/extensions/medplum/fhir/schemas/atoms/index.d.ts +0 -5
  295. package/dist/extensions/medplum/fhir/schemas/atoms/index.js +0 -16
  296. package/dist/extensions/medplum/fhir/schemas/atoms/index.js.map +0 -1
  297. package/dist/extensions/shelly/actions/categorizeMessage/lib/categorizeMessageWithLLM/constants.d.ts +0 -24
  298. package/dist/extensions/shelly/actions/categorizeMessage/lib/categorizeMessageWithLLM/constants.js +0 -33
  299. package/dist/extensions/shelly/actions/categorizeMessage/lib/categorizeMessageWithLLM/constants.js.map +0 -1
  300. package/dist/extensions/shelly/actions/generateMessage/lib/generateMessageWithLLM/constants.d.ts +0 -24
  301. package/dist/extensions/shelly/actions/generateMessage/lib/generateMessageWithLLM/constants.js +0 -123
  302. package/dist/extensions/shelly/actions/generateMessage/lib/generateMessageWithLLM/constants.js.map +0 -1
  303. package/dist/extensions/shelly/actions/summarizeCareFlow/lib/summarizeCareFlowWithLLM/constants.js.map +0 -1
  304. package/dist/extensions/shelly/lib/summarizeFormWithLLM/constants.js.map +0 -1
  305. package/dist/extensions/shelly/settings.d.ts +0 -17
  306. package/dist/extensions/shelly/settings.js +0 -17
  307. package/dist/extensions/shelly/settings.js.map +0 -1
  308. package/dist/extensions/epic/lib/api/{schemas → customFhirSchemas}/DocumentReference/Status.schema.d.ts +0 -0
  309. package/dist/extensions/epic/lib/api/{schemas → customFhirSchemas}/DocumentReference/Status.schema.js +0 -0
  310. package/dist/extensions/epic/lib/api/{schemas → customFhirSchemas}/DocumentReference/Type.schema.d.ts +0 -0
  311. package/dist/extensions/epic/lib/api/{schemas → customFhirSchemas}/DocumentReference/Type.schema.js +0 -0
  312. package/dist/extensions/epic/lib/api/{schemas → customFhirSchemas}/DocumentReference/index.d.ts +1 -1
  313. /package/dist/extensions/shelly/actions/summarizeCareFlow/lib/summarizeCareFlowWithLLM/{constants.d.ts → prompt.d.ts} +0 -0
  314. /package/dist/extensions/shelly/lib/summarizeFormWithLLM/{constants.d.ts → prompt.d.ts} +0 -0
  315. /package/dist/{extensions/epic/lib/api → src/lib/fhir}/schemas/Appointment/Status.schema.d.ts +0 -0
  316. /package/dist/{extensions/epic/lib/api → src/lib/fhir}/schemas/Appointment/Status.schema.js +0 -0
  317. /package/dist/{extensions/epic/lib/api → src/lib/fhir}/schemas/Appointment/index.d.ts +0 -0
  318. /package/dist/{extensions/epic/lib/api → src/lib/fhir}/schemas/Appointment/index.js +0 -0
  319. /package/dist/{extensions/epic/lib/api → src/lib/fhir}/schemas/Patient/Gender.schema.d.ts +0 -0
  320. /package/dist/{extensions/epic/lib/api → src/lib/fhir}/schemas/Patient/Gender.schema.js +0 -0
  321. /package/dist/{extensions/epic/lib/api → src/lib/fhir}/schemas/Patient/index.d.ts +0 -0
  322. /package/dist/{extensions/epic/lib/api → src/lib/fhir}/schemas/Patient/index.js +0 -0
  323. /package/dist/{extensions/medplum/fhir/schemas/atoms/PrioritySchema.d.ts → src/lib/fhir/schemas/ServiceRequest/Priority.schema.d.ts} +0 -0
  324. /package/dist/{extensions/medplum/fhir/schemas/atoms → src/lib/fhir/schemas/Shared}/PeriodSchema.d.ts +0 -0
  325. /package/dist/{extensions/medplum/fhir/schemas/atoms → src/lib/fhir/schemas/Shared}/PeriodSchema.js +0 -0
@@ -0,0 +1,8 @@
1
+ export declare const CreateFhirPatientMockResponse: {
2
+ status: number;
3
+ statusText: string;
4
+ headers: {
5
+ Location: string;
6
+ };
7
+ data: {};
8
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateFhirPatientMockResponse = void 0;
4
+ exports.CreateFhirPatientMockResponse = {
5
+ status: 201,
6
+ statusText: 'Created',
7
+ headers: {
8
+ Location: 'Patient/eKquahyPZlalzKHM5DZX3lA3',
9
+ },
10
+ data: {},
11
+ };
12
+ //# sourceMappingURL=CreateFhirPatient.mock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateFhirPatient.mock.js","sourceRoot":"","sources":["../../../../../../extensions/cerner/actions/createPatient/__testdata__/CreateFhirPatient.mock.ts"],"names":[],"mappings":";;;AAEa,QAAA,6BAA6B,GAAG;IAC3C,MAAM,EAAE,GAAG;IACX,UAAU,EAAE,SAAS;IACrB,OAAO,EAAE;QACP,QAAQ,EAAE,kCAAkC;KAC7C;IACD,IAAI,EAAE,EAAE;CACwB,CAAA"}
@@ -1 +1,6 @@
1
- export declare const dataPoints: {};
1
+ export declare const dataPoints: {
2
+ resourceId: {
3
+ key: string;
4
+ valueType: "string";
5
+ };
6
+ };
@@ -1,5 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.dataPoints = void 0;
4
- exports.dataPoints = {};
4
+ exports.dataPoints = {
5
+ resourceId: {
6
+ key: 'resourceId',
7
+ valueType: 'string',
8
+ },
9
+ };
5
10
  //# sourceMappingURL=datapoints.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"datapoints.js","sourceRoot":"","sources":["../../../../../../extensions/cerner/actions/createPatient/config/datapoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,EAAgD,CAAA"}
1
+ {"version":3,"file":"datapoints.js","sourceRoot":"","sources":["../../../../../../extensions/cerner/actions/createPatient/config/datapoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACxB,UAAU,EAAE;QACV,GAAG,EAAE,YAAY;QACjB,SAAS,EAAE,QAAQ;KACpB;CAC4C,CAAA"}
@@ -1,3 +1,71 @@
1
+ import { FieldType } from '@awell-health/extensions-core';
1
2
  import z from 'zod';
2
- export declare const fields: {};
3
- export declare const FieldsValidationSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
3
+ export declare const fields: {
4
+ ssn: {
5
+ id: string;
6
+ label: string;
7
+ type: FieldType.STRING;
8
+ description: string;
9
+ required: true;
10
+ };
11
+ familyName: {
12
+ id: string;
13
+ label: string;
14
+ type: FieldType.STRING;
15
+ description: string;
16
+ required: true;
17
+ };
18
+ givenName: {
19
+ id: string;
20
+ label: string;
21
+ type: FieldType.STRING;
22
+ description: string;
23
+ required: true;
24
+ };
25
+ birthDate: {
26
+ id: string;
27
+ label: string;
28
+ type: FieldType.DATE;
29
+ required: true;
30
+ };
31
+ gender: {
32
+ id: string;
33
+ label: string;
34
+ type: FieldType.STRING;
35
+ required: true;
36
+ options: {
37
+ dropdownOptions: {
38
+ value: "unknown" | "male" | "female" | "other";
39
+ label: string;
40
+ }[];
41
+ };
42
+ };
43
+ email: {
44
+ id: string;
45
+ label: string;
46
+ type: FieldType.STRING;
47
+ required: false;
48
+ };
49
+ };
50
+ export declare const FieldsValidationSchema: z.ZodObject<{
51
+ ssn: z.ZodString;
52
+ familyName: z.ZodString;
53
+ givenName: z.ZodString;
54
+ birthDate: z.ZodDate;
55
+ gender: z.ZodEnum<["male", "female", "other", "unknown"]>;
56
+ email: z.ZodOptional<z.ZodString>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ birthDate: Date;
59
+ gender: "unknown" | "male" | "female" | "other";
60
+ ssn: string;
61
+ familyName: string;
62
+ givenName: string;
63
+ email?: string | undefined;
64
+ }, {
65
+ birthDate: Date;
66
+ gender: "unknown" | "male" | "female" | "other";
67
+ ssn: string;
68
+ familyName: string;
69
+ givenName: string;
70
+ email?: string | undefined;
71
+ }>;
@@ -4,7 +4,66 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.FieldsValidationSchema = exports.fields = void 0;
7
+ const extensions_core_1 = require("@awell-health/extensions-core");
7
8
  const zod_1 = __importDefault(require("zod"));
8
- exports.fields = {};
9
- exports.FieldsValidationSchema = zod_1.default.object({});
9
+ const Patient_1 = require("../../../../../src/lib/fhir/schemas/Patient");
10
+ const lodash_1 = require("lodash");
11
+ exports.fields = {
12
+ ssn: {
13
+ id: 'ssn',
14
+ label: 'SSN',
15
+ type: extensions_core_1.FieldType.STRING,
16
+ description: 'The patient’s Social Security Number.',
17
+ required: true,
18
+ },
19
+ familyName: {
20
+ id: 'familyName',
21
+ label: 'Family name',
22
+ type: extensions_core_1.FieldType.STRING,
23
+ description: 'The patient’s family (last) name.',
24
+ required: true,
25
+ },
26
+ givenName: {
27
+ id: 'givenName',
28
+ label: 'Given name',
29
+ type: extensions_core_1.FieldType.STRING,
30
+ description: "The patient's given name. May include first and middle names.",
31
+ required: true,
32
+ },
33
+ birthDate: {
34
+ id: 'birthDate',
35
+ label: 'Birth date',
36
+ type: extensions_core_1.FieldType.DATE,
37
+ required: true,
38
+ },
39
+ gender: {
40
+ id: 'gender',
41
+ label: 'Gender',
42
+ type: extensions_core_1.FieldType.STRING,
43
+ required: true,
44
+ options: {
45
+ dropdownOptions: Patient_1.GenderSchema._def.values.map((value) => ({
46
+ value,
47
+ label: (0, lodash_1.startCase)(value),
48
+ })),
49
+ },
50
+ },
51
+ email: {
52
+ id: 'email',
53
+ label: 'Email',
54
+ type: extensions_core_1.FieldType.STRING,
55
+ required: false,
56
+ },
57
+ };
58
+ exports.FieldsValidationSchema = zod_1.default.object({
59
+ ssn: zod_1.default
60
+ .string()
61
+ .min(1)
62
+ .regex(/^\d{3}-\d{2}-\d{4}$/, 'Invalid SSN format. Must be in the format xxx-xx-xxxx'),
63
+ familyName: zod_1.default.string().min(1),
64
+ givenName: zod_1.default.string().min(1),
65
+ birthDate: zod_1.default.coerce.date(),
66
+ gender: Patient_1.GenderSchema,
67
+ email: zod_1.default.string().email().optional(),
68
+ });
10
69
  //# sourceMappingURL=fields.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../../extensions/cerner/actions/createPatient/config/fields.ts"],"names":[],"mappings":";;;;;;AACA,8CAAwC;AAE3B,QAAA,MAAM,GAAG,EAAkC,CAAA;AAE3C,QAAA,sBAAsB,GAAG,aAAC,CAAC,MAAM,CAAC,EAAoD,CAAC,CAAA"}
1
+ {"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../../extensions/cerner/actions/createPatient/config/fields.ts"],"names":[],"mappings":";;;;;;AAAA,mEAAqE;AACrE,8CAAwC;AACxC,yEAA0E;AAC1E,mCAAkC;AAErB,QAAA,MAAM,GAAG;IACpB,GAAG,EAAE;QACH,EAAE,EAAE,KAAK;QACT,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,WAAW,EAAE,uCAAuC;QACpD,QAAQ,EAAE,IAAI;KACf;IACD,UAAU,EAAE;QACV,EAAE,EAAE,YAAY;QAChB,KAAK,EAAE,aAAa;QACpB,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,WAAW,EAAE,mCAAmC;QAChD,QAAQ,EAAE,IAAI;KACf;IACD,SAAS,EAAE;QACT,EAAE,EAAE,WAAW;QACf,KAAK,EAAE,YAAY;QACnB,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,WAAW,EACT,+DAA+D;QACjE,QAAQ,EAAE,IAAI;KACf;IACD,SAAS,EAAE;QACT,EAAE,EAAE,WAAW;QACf,KAAK,EAAE,YAAY;QACnB,IAAI,EAAE,2BAAS,CAAC,IAAI;QACpB,QAAQ,EAAE,IAAI;KACf;IACD,MAAM,EAAE;QACN,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE;YACP,eAAe,EAAE,sBAAY,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;gBACxD,KAAK;gBACL,KAAK,EAAE,IAAA,kBAAS,EAAC,KAAK,CAAC;aACxB,CAAC,CAAC;SACJ;KACF;IACD,KAAK,EAAE;QACL,EAAE,EAAE,OAAO;QACX,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,KAAK;KAChB;CAC8B,CAAA;AAEpB,QAAA,sBAAsB,GAAG,aAAC,CAAC,MAAM,CAAC;IAC7C,GAAG,EAAE,aAAC;SACH,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,KAAK,CACJ,qBAAqB,EACrB,uDAAuD,CACxD;IACH,UAAU,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC7B,SAAS,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5B,SAAS,EAAE,aAAC,CAAC,MAAM,CAAC,IAAI,EAAE;IAC1B,MAAM,EAAE,sBAAY;IACpB,KAAK,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;CACa,CAAC,CAAA"}
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createPatient = void 0;
4
4
  const extensions_core_1 = require("@awell-health/extensions-core");
5
5
  const config_1 = require("./config");
6
+ const validatePayloadAndCreateSdks_1 = require("../../lib/validatePayloadAndCreateSdks");
7
+ const axios_1 = require("axios");
8
+ const lodash_1 = require("lodash");
9
+ const awell_1 = require("../../../../src/lib/awell");
6
10
  exports.createPatient = {
7
11
  key: 'createPatient',
8
12
  category: extensions_core_1.Category.EHR_INTEGRATIONS,
@@ -12,7 +16,63 @@ exports.createPatient = {
12
16
  previewable: false,
13
17
  dataPoints: config_1.dataPoints,
14
18
  onEvent: async ({ payload, onComplete, onError }) => {
15
- await onComplete();
19
+ var _a, _b;
20
+ const { cernerFhirR4Sdk, fields: { familyName, givenName, email, gender, birthDate, ssn }, } = await (0, validatePayloadAndCreateSdks_1.validatePayloadAndCreateSdks)({
21
+ fieldsSchema: config_1.FieldsValidationSchema,
22
+ payload,
23
+ });
24
+ const PatientResource = {
25
+ resourceType: 'Patient',
26
+ identifier: [
27
+ {
28
+ use: 'usual',
29
+ system: 'urn:oid:2.16.840.1.113883.4.1', // SSN
30
+ value: ssn,
31
+ },
32
+ ],
33
+ name: [
34
+ {
35
+ use: 'official',
36
+ family: familyName,
37
+ given: [givenName],
38
+ },
39
+ ],
40
+ gender,
41
+ birthDate: birthDate.toISOString().split('T')[0],
42
+ ...(!(0, lodash_1.isEmpty)(email) && {
43
+ telecom: [
44
+ {
45
+ system: 'email',
46
+ value: email,
47
+ },
48
+ ],
49
+ }),
50
+ };
51
+ try {
52
+ const res = await cernerFhirR4Sdk.createPatient(PatientResource);
53
+ const resourceReference = (_a = res.headers.Location) !== null && _a !== void 0 ? _a : res.headers.location;
54
+ const resourceId = resourceReference.split('/')[1];
55
+ await onComplete({
56
+ data_points: {
57
+ resourceId,
58
+ },
59
+ });
60
+ }
61
+ catch (error) {
62
+ if (error instanceof axios_1.AxiosError) {
63
+ const err = error;
64
+ await onError({
65
+ events: [
66
+ (0, awell_1.addActivityEventLog)({
67
+ message: JSON.stringify((_b = err.response) === null || _b === void 0 ? void 0 : _b.data, null, 2),
68
+ }),
69
+ ],
70
+ });
71
+ return;
72
+ }
73
+ // Throw all other errors
74
+ throw error;
75
+ }
16
76
  },
17
77
  };
18
78
  //# sourceMappingURL=createPatient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createPatient.js","sourceRoot":"","sources":["../../../../../extensions/cerner/actions/createPatient/createPatient.ts"],"names":[],"mappings":";;;AAAA,mEAAqE;AAErE,qCAA6C;AAEhC,QAAA,aAAa,GAItB;IACF,GAAG,EAAE,eAAe;IACpB,QAAQ,EAAE,0BAAQ,CAAC,gBAAgB;IACnC,KAAK,EAAE,gBAAgB;IACvB,WAAW,EAAE,0BAA0B;IACvC,MAAM,EAAN,eAAM;IACN,WAAW,EAAE,KAAK;IAClB,UAAU,EAAV,mBAAU;IACV,OAAO,EAAE,KAAK,EAAE,EAAC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAC,EAAiB,EAAE;QAC/D,MAAM,UAAU,EAAE,CAAA;IACpB,CAAC;CACF,CAAA"}
1
+ {"version":3,"file":"createPatient.js","sourceRoot":"","sources":["../../../../../extensions/cerner/actions/createPatient/createPatient.ts"],"names":[],"mappings":";;;AAAA,mEAAqE;AAErE,qCAAqE;AACrE,yFAAqF;AAErF,iCAAkC;AAClC,mCAAgC;AAChC,qDAA+D;AAElD,QAAA,aAAa,GAItB;IACF,GAAG,EAAE,eAAe;IACpB,QAAQ,EAAE,0BAAQ,CAAC,gBAAgB;IACnC,KAAK,EAAE,gBAAgB;IACvB,WAAW,EAAE,0BAA0B;IACvC,MAAM,EAAN,eAAM;IACN,WAAW,EAAE,KAAK;IAClB,UAAU,EAAV,mBAAU;IACV,OAAO,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,EAAiB,EAAE;;QACjE,MAAM,EACJ,eAAe,EACf,MAAM,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,EAAE,GACjE,GAAG,MAAM,IAAA,2DAA4B,EAAC;YACrC,YAAY,EAAE,+BAAsB;YACpC,OAAO;SACR,CAAC,CAAA;QAEF,MAAM,eAAe,GAAG;YACtB,YAAY,EAAE,SAAS;YACvB,UAAU,EAAE;gBACV;oBACE,GAAG,EAAE,OAAO;oBACZ,MAAM,EAAE,+BAA+B,EAAE,MAAM;oBAC/C,KAAK,EAAE,GAAG;iBACX;aACF;YACD,IAAI,EAAE;gBACJ;oBACE,GAAG,EAAE,UAAU;oBACf,MAAM,EAAE,UAAU;oBAClB,KAAK,EAAE,CAAC,SAAS,CAAC;iBACnB;aACF;YACD,MAAM;YACN,SAAS,EAAE,SAAS,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YAChD,GAAG,CAAC,CAAC,IAAA,gBAAO,EAAC,KAAK,CAAC,IAAI;gBACrB,OAAO,EAAE;oBACP;wBACE,MAAM,EAAE,OAAO;wBACf,KAAK,EAAE,KAAK;qBACb;iBACF;aACF,CAAC;SACe,CAAA;QAEnB,IAAI,CAAC;YACH,MAAM,GAAG,GAAG,MAAM,eAAe,CAAC,aAAa,CAAC,eAAe,CAAC,CAAA;YAChE,MAAM,iBAAiB,GACrB,MAAC,GAAG,CAAC,OAAO,CAAC,QAAmB,mCAAK,GAAG,CAAC,OAAO,CAAC,QAAmB,CAAA;YACtE,MAAM,UAAU,GAAG,iBAAiB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAA;YAElD,MAAM,UAAU,CAAC;gBACf,WAAW,EAAE;oBACX,UAAU;iBACX;aACF,CAAC,CAAA;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,KAAK,YAAY,kBAAU,EAAE,CAAC;gBAChC,MAAM,GAAG,GAAG,KAAmB,CAAA;gBAC/B,MAAM,OAAO,CAAC;oBACZ,MAAM,EAAE;wBACN,IAAA,2BAAmB,EAAC;4BAClB,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,MAAA,GAAG,CAAC,QAAQ,0CAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC;yBACrD,CAAC;qBACH;iBACF,CAAC,CAAA;gBACF,OAAM;YACR,CAAC;YAED,yBAAyB;YACzB,MAAM,KAAK,CAAA;QACb,CAAC;IACH,CAAC;CACF,CAAA"}
@@ -0,0 +1,37 @@
1
+ export declare const patientReadMock: {
2
+ resourceType: string;
3
+ id: string;
4
+ identifier: {
5
+ use: string;
6
+ type: {
7
+ text: string;
8
+ };
9
+ system: string;
10
+ value: string;
11
+ }[];
12
+ active: boolean;
13
+ name: {
14
+ use: string;
15
+ text: string;
16
+ family: string;
17
+ given: string[];
18
+ }[];
19
+ telecom: {
20
+ system: string;
21
+ value: string;
22
+ rank: number;
23
+ }[];
24
+ gender: string;
25
+ birthDate: string;
26
+ deceasedBoolean: boolean;
27
+ address: {
28
+ use: string;
29
+ line: string[];
30
+ city: string;
31
+ state: string;
32
+ postalCode: string;
33
+ period: {
34
+ start: string;
35
+ };
36
+ }[];
37
+ };
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.patientReadMock = void 0;
4
+ exports.patientReadMock = {
5
+ resourceType: 'Patient',
6
+ id: '12724067',
7
+ identifier: [
8
+ {
9
+ use: 'usual',
10
+ type: {
11
+ text: 'CERNER',
12
+ },
13
+ system: 'urn:oid:1.2.840.114350.1.13.0.1.7.5.737384.0',
14
+ value: 'E11629',
15
+ },
16
+ ],
17
+ active: true,
18
+ name: [
19
+ {
20
+ use: 'official',
21
+ text: 'Nick Test',
22
+ family: 'Test',
23
+ given: ['Nick'],
24
+ },
25
+ {
26
+ use: 'usual',
27
+ text: 'Nick Test',
28
+ family: 'Test',
29
+ given: ['Nick'],
30
+ },
31
+ ],
32
+ telecom: [
33
+ {
34
+ system: 'email',
35
+ value: 'nick@awellhealth.com',
36
+ rank: 1,
37
+ },
38
+ ],
39
+ gender: 'male',
40
+ birthDate: '1993-11-30',
41
+ deceasedBoolean: false,
42
+ address: [
43
+ {
44
+ use: 'home',
45
+ line: ['100 Milky Way', 'Learning Campus'],
46
+ city: 'Verona',
47
+ state: 'WI',
48
+ postalCode: '53593',
49
+ period: {
50
+ start: '2025-01-20',
51
+ },
52
+ },
53
+ ],
54
+ };
55
+ //# sourceMappingURL=PatientRead.mock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PatientRead.mock.js","sourceRoot":"","sources":["../../../../../../extensions/cerner/actions/getPatient/__testdata__/PatientRead.mock.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG;IAC7B,YAAY,EAAE,SAAS;IACvB,EAAE,EAAE,UAAU;IACd,UAAU,EAAE;QACV;YACE,GAAG,EAAE,OAAO;YACZ,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;aACf;YACD,MAAM,EAAE,8CAA8C;YACtD,KAAK,EAAE,QAAQ;SAChB;KACF;IACD,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE;QACJ;YACE,GAAG,EAAE,UAAU;YACf,IAAI,EAAE,WAAW;YACjB,MAAM,EAAE,MAAM;YACd,KAAK,EAAE,CAAC,MAAM,CAAC;SAChB;QACD;YACE,GAAG,EAAE,OAAO;YACZ,IAAI,EAAE,WAAW;YACjB,MAAM,EAAE,MAAM;YACd,KAAK,EAAE,CAAC,MAAM,CAAC;SAChB;KACF;IACD,OAAO,EAAE;QACP;YACE,MAAM,EAAE,OAAO;YACf,KAAK,EAAE,sBAAsB;YAC7B,IAAI,EAAE,CAAC;SACR;KACF;IACD,MAAM,EAAE,MAAM;IACd,SAAS,EAAE,YAAY;IACvB,eAAe,EAAE,KAAK;IACtB,OAAO,EAAE;QACP;YACE,GAAG,EAAE,MAAM;YACX,IAAI,EAAE,CAAC,eAAe,EAAE,iBAAiB,CAAC;YAC1C,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,IAAI;YACX,UAAU,EAAE,OAAO;YACnB,MAAM,EAAE;gBACN,KAAK,EAAE,YAAY;aACpB;SACF;KACF;CACF,CAAA"}
@@ -1 +1,6 @@
1
- export declare const dataPoints: {};
1
+ export declare const dataPoints: {
2
+ patient: {
3
+ key: string;
4
+ valueType: "json";
5
+ };
6
+ };
@@ -1,5 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.dataPoints = void 0;
4
- exports.dataPoints = {};
4
+ exports.dataPoints = {
5
+ patient: {
6
+ key: 'patient',
7
+ valueType: 'json',
8
+ },
9
+ };
5
10
  //# sourceMappingURL=datapoints.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"datapoints.js","sourceRoot":"","sources":["../../../../../../extensions/cerner/actions/getPatient/config/datapoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG,EAAgD,CAAA"}
1
+ {"version":3,"file":"datapoints.js","sourceRoot":"","sources":["../../../../../../extensions/cerner/actions/getPatient/config/datapoints.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACxB,OAAO,EAAE;QACP,GAAG,EAAE,SAAS;QACd,SAAS,EAAE,MAAM;KAClB;CAC4C,CAAA"}
@@ -1,3 +1,18 @@
1
+ import { FieldType } from '@awell-health/extensions-core';
1
2
  import z from 'zod';
2
- export declare const fields: {};
3
- export declare const FieldsValidationSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
3
+ export declare const fields: {
4
+ resourceId: {
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
+ resourceId: z.ZodString;
14
+ }, "strip", z.ZodTypeAny, {
15
+ resourceId: string;
16
+ }, {
17
+ resourceId: string;
18
+ }>;
@@ -4,7 +4,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.FieldsValidationSchema = exports.fields = void 0;
7
+ const extensions_core_1 = require("@awell-health/extensions-core");
7
8
  const zod_1 = __importDefault(require("zod"));
8
- exports.fields = {};
9
- exports.FieldsValidationSchema = zod_1.default.object({});
9
+ exports.fields = {
10
+ resourceId: {
11
+ id: 'resourceId',
12
+ label: 'Patient resource ID',
13
+ description: 'The resource ID of the patient',
14
+ type: extensions_core_1.FieldType.STRING,
15
+ required: true,
16
+ },
17
+ };
18
+ exports.FieldsValidationSchema = zod_1.default.object({
19
+ resourceId: zod_1.default.string().min(1),
20
+ });
10
21
  //# sourceMappingURL=fields.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../../extensions/cerner/actions/getPatient/config/fields.ts"],"names":[],"mappings":";;;;;;AACA,8CAAwC;AAE3B,QAAA,MAAM,GAAG,EAAkC,CAAA;AAE3C,QAAA,sBAAsB,GAAG,aAAC,CAAC,MAAM,CAAC,EAAoD,CAAC,CAAA"}
1
+ {"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../../extensions/cerner/actions/getPatient/config/fields.ts"],"names":[],"mappings":";;;;;;AAAA,mEAAqE;AACrE,8CAAwC;AAE3B,QAAA,MAAM,GAAG;IACpB,UAAU,EAAE;QACV,EAAE,EAAE,YAAY;QAChB,KAAK,EAAE,qBAAqB;QAC5B,WAAW,EAAE,gCAAgC;QAC7C,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;KACf;CAC8B,CAAA;AAEpB,QAAA,sBAAsB,GAAG,aAAC,CAAC,MAAM,CAAC;IAC7C,UAAU,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACoB,CAAC,CAAA"}
@@ -3,16 +3,47 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getPatient = void 0;
4
4
  const extensions_core_1 = require("@awell-health/extensions-core");
5
5
  const config_1 = require("./config");
6
+ const validatePayloadAndCreateSdks_1 = require("../../lib/validatePayloadAndCreateSdks");
7
+ const axios_1 = require("axios");
8
+ const awell_1 = require("../../../../src/lib/awell");
6
9
  exports.getPatient = {
7
10
  key: 'getPatient',
8
11
  category: extensions_core_1.Category.EHR_INTEGRATIONS,
9
12
  title: 'Get patient',
10
- description: 'Retrieve patient details from Epic',
13
+ description: 'Retrieve patient details from Cerner',
11
14
  fields: config_1.fields,
12
15
  previewable: false,
13
16
  dataPoints: config_1.dataPoints,
14
17
  onEvent: async ({ payload, onComplete, onError }) => {
15
- await onComplete();
18
+ const { cernerFhirR4Sdk, fields: { resourceId }, } = await (0, validatePayloadAndCreateSdks_1.validatePayloadAndCreateSdks)({
19
+ fieldsSchema: config_1.FieldsValidationSchema,
20
+ payload,
21
+ });
22
+ try {
23
+ const { data } = await cernerFhirR4Sdk.getPatient(resourceId);
24
+ await onComplete({
25
+ data_points: {
26
+ patient: JSON.stringify(data),
27
+ },
28
+ });
29
+ }
30
+ catch (error) {
31
+ console.log('error', error);
32
+ if (error instanceof axios_1.AxiosError) {
33
+ const err = error;
34
+ if (err.status === 404)
35
+ await onError({
36
+ events: [
37
+ (0, awell_1.addActivityEventLog)({
38
+ message: 'Patient not found',
39
+ }),
40
+ ],
41
+ });
42
+ return;
43
+ }
44
+ // Throw all other errors
45
+ throw error;
46
+ }
16
47
  },
17
48
  };
18
49
  //# sourceMappingURL=getPatient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPatient.js","sourceRoot":"","sources":["../../../../../extensions/cerner/actions/getPatient/getPatient.ts"],"names":[],"mappings":";;;AAAA,mEAAqE;AAErE,qCAA6C;AAEhC,QAAA,UAAU,GAInB;IACF,GAAG,EAAE,YAAY;IACjB,QAAQ,EAAE,0BAAQ,CAAC,gBAAgB;IACnC,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,oCAAoC;IACjD,MAAM,EAAN,eAAM;IACN,WAAW,EAAE,KAAK;IAClB,UAAU,EAAV,mBAAU;IACV,OAAO,EAAE,KAAK,EAAE,EAAC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAC,EAAiB,EAAE;QAC/D,MAAM,UAAU,EAAE,CAAA;IACpB,CAAC;CACF,CAAA"}
1
+ {"version":3,"file":"getPatient.js","sourceRoot":"","sources":["../../../../../extensions/cerner/actions/getPatient/getPatient.ts"],"names":[],"mappings":";;;AAAA,mEAAqE;AAErE,qCAAqE;AACrE,yFAAqF;AACrF,iCAAkC;AAClC,qDAA+D;AAElD,QAAA,UAAU,GAInB;IACF,GAAG,EAAE,YAAY;IACjB,QAAQ,EAAE,0BAAQ,CAAC,gBAAgB;IACnC,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,sCAAsC;IACnD,MAAM,EAAN,eAAM;IACN,WAAW,EAAE,KAAK;IAClB,UAAU,EAAV,mBAAU;IACV,OAAO,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,EAAiB,EAAE;QACjE,MAAM,EACJ,eAAe,EACf,MAAM,EAAE,EAAE,UAAU,EAAE,GACvB,GAAG,MAAM,IAAA,2DAA4B,EAAC;YACrC,YAAY,EAAE,+BAAsB;YACpC,OAAO;SACR,CAAC,CAAA;QAEF,IAAI,CAAC;YACH,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,eAAe,CAAC,UAAU,CAAC,UAAU,CAAC,CAAA;YAE7D,MAAM,UAAU,CAAC;gBACf,WAAW,EAAE;oBACX,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;iBAC9B;aACF,CAAC,CAAA;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAA;YAC3B,IAAI,KAAK,YAAY,kBAAU,EAAE,CAAC;gBAChC,MAAM,GAAG,GAAG,KAAmB,CAAA;gBAE/B,IAAI,GAAG,CAAC,MAAM,KAAK,GAAG;oBACpB,MAAM,OAAO,CAAC;wBACZ,MAAM,EAAE;4BACN,IAAA,2BAAmB,EAAC;gCAClB,OAAO,EAAE,mBAAmB;6BAC7B,CAAC;yBACH;qBACF,CAAC,CAAA;gBACJ,OAAM;YACR,CAAC;YAED,yBAAyB;YACzB,MAAM,KAAK,CAAA;QACb,CAAC;IACH,CAAC;CACF,CAAA"}
@@ -1,7 +1,34 @@
1
1
  declare const actions: {
2
- getPatient: import("@awell-health/extensions-core").Action<{}, {}, never>;
3
- getAppointment: import("@awell-health/extensions-core").Action<{}, {}, never>;
4
- createPatient: import("@awell-health/extensions-core").Action<{}, {}, never>;
5
- createClinicalNote: import("@awell-health/extensions-core").Action<{}, {}, never>;
2
+ getPatient: import("@awell-health/extensions-core").Action<{
3
+ resourceId: {
4
+ id: string;
5
+ label: string;
6
+ description: string;
7
+ type: import("@awell-health/extensions-core").FieldType.STRING;
8
+ required: true;
9
+ };
10
+ }, {
11
+ tenantId: {
12
+ key: string;
13
+ label: string;
14
+ required: true;
15
+ obfuscated: false;
16
+ description: string;
17
+ };
18
+ clientId: {
19
+ key: string;
20
+ label: string;
21
+ required: true;
22
+ obfuscated: false;
23
+ description: string;
24
+ };
25
+ clientSecret: {
26
+ key: string;
27
+ label: string;
28
+ required: true;
29
+ obfuscated: true;
30
+ description: string;
31
+ };
32
+ }, "patient">;
6
33
  };
7
34
  export default actions;
@@ -1,14 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const createPatient_1 = require("./createPatient");
4
3
  const getPatient_1 = require("./getPatient");
5
- const getAppointment_1 = require("./getAppointment");
6
- const createClinicalNote_1 = require("./createClinicalNote");
4
+ // import { createPatient } from './createPatient'
7
5
  const actions = {
8
6
  getPatient: getPatient_1.getPatient,
9
- getAppointment: getAppointment_1.getAppointment,
10
- createPatient: createPatient_1.createPatient,
11
- createClinicalNote: createClinicalNote_1.createClinicalNote,
7
+ // createPatient,
12
8
  };
13
9
  exports.default = actions;
14
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../extensions/cerner/actions/index.ts"],"names":[],"mappings":";;AAAA,mDAA+C;AAC/C,6CAAyC;AACzC,qDAAiD;AACjD,6DAAyD;AAEzD,MAAM,OAAO,GAAG;IACd,UAAU,EAAV,uBAAU;IACV,cAAc,EAAd,+BAAc;IACd,aAAa,EAAb,6BAAa;IACb,kBAAkB,EAAlB,uCAAkB;CACnB,CAAA;AAED,kBAAe,OAAO,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../extensions/cerner/actions/index.ts"],"names":[],"mappings":";;AAAA,6CAAyC;AACzC,kDAAkD;AAElD,MAAM,OAAO,GAAG;IACd,UAAU,EAAV,uBAAU;IACV,iBAAiB;CAClB,CAAA;AAED,kBAAe,OAAO,CAAA"}
@@ -10,7 +10,7 @@ const settings_1 = require("./settings");
10
10
  exports.cerner = {
11
11
  key: 'cerner',
12
12
  title: 'Cerner',
13
- description: 'Cerner EHR is a cloud-based healthcare IT solution used to streamline clinical, administrative, and financial workflows by practices of all sizes.',
13
+ description: 'Cerner EMR is an electronic medical records system that helps healthcare organizations improve patient care and increase efficiency.',
14
14
  icon_url: 'https://res.cloudinary.com/da7x4rzl4/image/upload/v1736327719/Awell%20Extensions/CERN-4c75d8aa.png',
15
15
  category: extensions_core_1.Category.EHR_INTEGRATIONS,
16
16
  author: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../extensions/cerner/index.ts"],"names":[],"mappings":";;;;;;AAAA,mEAIsC;AACtC,wDAA+B;AAC/B,yCAAqC;AAExB,QAAA,MAAM,GAAc;IAC/B,GAAG,EAAE,QAAQ;IACb,KAAK,EAAE,QAAQ;IACf,WAAW,EACT,oJAAoJ;IACtJ,QAAQ,EACN,oGAAoG;IACtG,QAAQ,EAAE,0BAAQ,CAAC,gBAAgB;IACnC,MAAM,EAAE;QACN,UAAU,EAAE,4BAAU,CAAC,KAAK;KAC7B;IACD,QAAQ,EAAR,mBAAQ;IACR,OAAO,EAAP,iBAAO;CACR,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../extensions/cerner/index.ts"],"names":[],"mappings":";;;;;;AAAA,mEAIsC;AACtC,wDAA+B;AAC/B,yCAAqC;AAExB,QAAA,MAAM,GAAc;IAC/B,GAAG,EAAE,QAAQ;IACb,KAAK,EAAE,QAAQ;IACf,WAAW,EACT,sIAAsI;IACxI,QAAQ,EACN,oGAAoG;IACtG,QAAQ,EAAE,0BAAQ,CAAC,gBAAgB;IACnC,MAAM,EAAE;QACN,UAAU,EAAE,4BAAU,CAAC,KAAK;KAC7B;IACD,QAAQ,EAAR,mBAAQ;IACR,OAAO,EAAP,iBAAO;CACR,CAAA"}