@awell-health/awell-extensions 1.0.104 → 1.0.105

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.
Files changed (78) hide show
  1. package/dist/extensions/docuSign/settings.d.ts +2 -2
  2. package/dist/extensions/elation/actions/createAppointment.d.ts +6 -6
  3. package/dist/extensions/elation/actions/createAppointment.js +12 -12
  4. package/dist/extensions/elation/actions/createAppointment.js.map +1 -1
  5. package/dist/extensions/elation/actions/createNonVisitNote.d.ts +6 -27
  6. package/dist/extensions/elation/actions/createNonVisitNote.js +25 -39
  7. package/dist/extensions/elation/actions/createNonVisitNote.js.map +1 -1
  8. package/dist/extensions/elation/actions/createPatient.d.ts +17 -2
  9. package/dist/extensions/elation/actions/createPatient.js +48 -19
  10. package/dist/extensions/elation/actions/createPatient.js.map +1 -1
  11. package/dist/extensions/elation/actions/deleteNonVisitNote.js +1 -1
  12. package/dist/extensions/elation/actions/deleteNonVisitNote.js.map +1 -1
  13. package/dist/extensions/elation/actions/findPhysician.js +0 -7
  14. package/dist/extensions/elation/actions/findPhysician.js.map +1 -1
  15. package/dist/extensions/elation/actions/getAppointment.js +1 -1
  16. package/dist/extensions/elation/actions/getAppointment.js.map +1 -1
  17. package/dist/extensions/elation/actions/getPatient.d.ts +5 -1
  18. package/dist/extensions/elation/actions/getPatient.js +11 -3
  19. package/dist/extensions/elation/actions/getPatient.js.map +1 -1
  20. package/dist/extensions/elation/actions/getPhysician/config/dataPoints.d.ts +30 -0
  21. package/dist/extensions/elation/actions/getPhysician/config/dataPoints.js +34 -0
  22. package/dist/extensions/elation/actions/getPhysician/config/dataPoints.js.map +1 -0
  23. package/dist/extensions/elation/actions/getPhysician/config/fields.d.ts +18 -0
  24. package/dist/extensions/elation/actions/getPhysician/config/fields.js +19 -0
  25. package/dist/extensions/elation/actions/getPhysician/config/fields.js.map +1 -0
  26. package/dist/extensions/elation/actions/getPhysician/config/index.d.ts +2 -0
  27. package/dist/extensions/elation/actions/getPhysician/config/index.js +9 -0
  28. package/dist/extensions/elation/actions/getPhysician/config/index.js.map +1 -0
  29. package/dist/extensions/elation/actions/getPhysician/getPhysician.d.ts +4 -0
  30. package/dist/extensions/elation/actions/getPhysician/getPhysician.js +86 -0
  31. package/dist/extensions/elation/actions/getPhysician/getPhysician.js.map +1 -0
  32. package/dist/extensions/elation/actions/getPhysician/getPhysician.test.d.ts +1 -0
  33. package/dist/extensions/elation/actions/getPhysician/getPhysician.test.js +46 -0
  34. package/dist/extensions/elation/actions/getPhysician/getPhysician.test.js.map +1 -0
  35. package/dist/extensions/elation/actions/getPhysician/index.d.ts +1 -0
  36. package/dist/extensions/elation/actions/getPhysician/index.js +6 -0
  37. package/dist/extensions/elation/actions/getPhysician/index.js.map +1 -0
  38. package/dist/extensions/elation/actions/index.d.ts +50 -119
  39. package/dist/extensions/elation/actions/index.js +4 -2
  40. package/dist/extensions/elation/actions/index.js.map +1 -1
  41. package/dist/extensions/elation/actions/updatePatient.d.ts +7 -7
  42. package/dist/extensions/elation/actions/updatePatient.js +37 -26
  43. package/dist/extensions/elation/actions/updatePatient.js.map +1 -1
  44. package/dist/extensions/elation/client.d.ts +5 -3
  45. package/dist/extensions/elation/client.js +12 -1
  46. package/dist/extensions/elation/client.js.map +1 -1
  47. package/dist/extensions/elation/types/patient.d.ts +3 -2
  48. package/dist/extensions/elation/utils/elationMobilePhoneToE164/elationMobilePhoneToE164.d.ts +9 -0
  49. package/dist/extensions/elation/utils/elationMobilePhoneToE164/elationMobilePhoneToE164.js +24 -0
  50. package/dist/extensions/elation/utils/elationMobilePhoneToE164/elationMobilePhoneToE164.js.map +1 -0
  51. package/dist/extensions/elation/utils/elationMobilePhoneToE164/elationMobilePhoneToE164.test.d.ts +1 -0
  52. package/dist/extensions/elation/utils/elationMobilePhoneToE164/elationMobilePhoneToE164.test.js +26 -0
  53. package/dist/extensions/elation/utils/elationMobilePhoneToE164/elationMobilePhoneToE164.test.js.map +1 -0
  54. package/dist/extensions/elation/utils/elationMobilePhoneToE164/index.d.ts +1 -0
  55. package/dist/extensions/elation/utils/elationMobilePhoneToE164/index.js +6 -0
  56. package/dist/extensions/elation/utils/elationMobilePhoneToE164/index.js.map +1 -0
  57. package/dist/extensions/elation/utils/getLastEmail/getLastEmail.d.ts +2 -0
  58. package/dist/extensions/elation/utils/getLastEmail/getLastEmail.js +21 -0
  59. package/dist/extensions/elation/utils/getLastEmail/getLastEmail.js.map +1 -0
  60. package/dist/extensions/elation/utils/getLastEmail/getLastEmail.test.d.ts +1 -0
  61. package/dist/extensions/elation/utils/getLastEmail/getLastEmail.test.js +29 -0
  62. package/dist/extensions/elation/utils/getLastEmail/getLastEmail.test.js.map +1 -0
  63. package/dist/extensions/elation/utils/getLastEmail/index.d.ts +1 -0
  64. package/dist/extensions/elation/utils/getLastEmail/index.js +6 -0
  65. package/dist/extensions/elation/utils/getLastEmail/index.js.map +1 -0
  66. package/dist/extensions/elation/validation/patient.zod.d.ts +591 -0
  67. package/dist/extensions/elation/validation/patient.zod.js +39 -1
  68. package/dist/extensions/elation/validation/patient.zod.js.map +1 -1
  69. package/dist/extensions/elation/webhooks/appointmentCreatedOrUpdated.d.ts +11 -0
  70. package/dist/extensions/elation/webhooks/appointmentCreatedOrUpdated.js +34 -0
  71. package/dist/extensions/elation/webhooks/appointmentCreatedOrUpdated.js.map +1 -0
  72. package/dist/extensions/elation/webhooks/index.d.ts +1 -2
  73. package/dist/extensions/elation/webhooks/index.js +2 -1
  74. package/dist/extensions/elation/webhooks/index.js.map +1 -1
  75. package/dist/extensions/elation/webhooks/patientCreatedOrUpdated.d.ts +1 -1
  76. package/dist/extensions/elation/webhooks/patientCreatedOrUpdated.js +1 -1
  77. package/dist/extensions/markdown.json +2 -2
  78. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"patient.zod.js","sourceRoot":"","sources":["../../../../extensions/elation/validation/patient.zod.ts"],"names":[],"mappings":";;;AAAA,mEAA+E;AAC/E,6BAAuB;AAEvB,Q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C,OAAO,EAAE;IACpD,cAAc,EAAE,2BAAmB,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACtD,UAAU,EAAE,gBAAgB,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC/C,iBAAiB,EAAE,sBAAsB,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC5D,yBAAyB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE;IAC1D,mBAAmB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE;IACjD,kBAAkB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE;IAChD,cAAc,EAAE,iCAAe,CAAC,OAAO,EAAE;IACzC,QAAQ,EAAE,cAAc,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC3C,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC,OAAO,EAAE;CAC/C,CAAC;KACD,MAAM,EAAE,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { type Webhook } from '@awell-health/extensions-core';
2
+ import { type SubscriptionEvent } from '../types/subscription';
3
+ declare const dataPoints: {
4
+ appointmentId: {
5
+ key: string;
6
+ valueType: "number";
7
+ };
8
+ };
9
+ export declare const appointmentCreatedOrUpdated: Webhook<keyof typeof dataPoints, SubscriptionEvent>;
10
+ export type OnCreateOrUpdateAppointment = typeof appointmentCreatedOrUpdated;
11
+ export {};
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.appointmentCreatedOrUpdated = void 0;
4
+ const dataPoints = {
5
+ appointmentId: {
6
+ key: 'appointmentId',
7
+ valueType: 'number',
8
+ },
9
+ };
10
+ exports.appointmentCreatedOrUpdated = {
11
+ key: 'appointmentCreatedOrUpdated',
12
+ dataPoints,
13
+ onWebhookReceived: async ({ payload, settings }, onSuccess, onError) => {
14
+ const { data, resource, action } = payload;
15
+ // skip non 'saved' actions for that webhook
16
+ if (action !== 'saved') {
17
+ return;
18
+ }
19
+ if (resource !== 'appointments') {
20
+ await onError({
21
+ response: {
22
+ statusCode: 400,
23
+ message: 'resource must be apppointments',
24
+ },
25
+ });
26
+ }
27
+ else {
28
+ await onSuccess({
29
+ data_points: { appointmentId: String(data.id) },
30
+ });
31
+ }
32
+ },
33
+ };
34
+ //# sourceMappingURL=appointmentCreatedOrUpdated.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appointmentCreatedOrUpdated.js","sourceRoot":"","sources":["../../../../extensions/elation/webhooks/appointmentCreatedOrUpdated.ts"],"names":[],"mappings":";;;AAMA,MAAM,UAAU,GAAG;IACjB,aAAa,EAAE;QACb,GAAG,EAAE,eAAe;QACpB,SAAS,EAAE,QAAQ;KACpB;CAC4C,CAAA;AAElC,QAAA,2BAA2B,GAGpC;IACF,GAAG,EAAE,6BAA6B;IAClC,UAAU;IACV,iBAAiB,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE;QACrE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAA;QAE1C,4CAA4C;QAC5C,IAAI,MAAM,KAAK,OAAO,EAAE;YACtB,OAAM;SACP;QAED,IAAI,QAAQ,KAAK,cAAc,EAAE;YAC/B,MAAM,OAAO,CAAC;gBACZ,QAAQ,EAAE;oBACR,UAAU,EAAE,GAAG;oBACf,OAAO,EAAE,gCAAgC;iBAC1C;aACF,CAAC,CAAA;SACH;aAAM;YACL,MAAM,SAAS,CAAC;gBACd,WAAW,EAAE,EAAE,aAAa,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;aAChD,CAAC,CAAA;SACH;IACH,CAAC;CACF,CAAA"}
@@ -1,2 +1 @@
1
- export type { OnCreatePatient } from './patientCreatedOrUpdated';
2
- export declare const webhooks: import("@awell-health/extensions-core").Webhook<"patientId", import("../types/subscription").SubscriptionEvent>[];
1
+ export declare const webhooks: (import("@awell-health/extensions-core").Webhook<"patientId", import("../types/subscription").SubscriptionEvent> | import("@awell-health/extensions-core").Webhook<"appointmentId", import("../types/subscription").SubscriptionEvent>)[];
@@ -2,5 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.webhooks = void 0;
4
4
  const patientCreatedOrUpdated_1 = require("./patientCreatedOrUpdated");
5
- exports.webhooks = [patientCreatedOrUpdated_1.patientCreatedOrUpdated];
5
+ const appointmentCreatedOrUpdated_1 = require("./appointmentCreatedOrUpdated");
6
+ exports.webhooks = [patientCreatedOrUpdated_1.patientCreatedOrUpdated, appointmentCreatedOrUpdated_1.appointmentCreatedOrUpdated];
6
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../extensions/elation/webhooks/index.ts"],"names":[],"mappings":";;;AAAA,uEAAmE;AAGtD,QAAA,QAAQ,GAAG,CAAC,iDAAuB,CAAC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../extensions/elation/webhooks/index.ts"],"names":[],"mappings":";;;AAAA,uEAAmE;AACnE,+EAA2E;AAE9D,QAAA,QAAQ,GAAG,CAAC,iDAAuB,EAAE,yDAA2B,CAAC,CAAA"}
@@ -3,7 +3,7 @@ import { type SubscriptionEvent } from '../types/subscription';
3
3
  declare const dataPoints: {
4
4
  patientId: {
5
5
  key: string;
6
- valueType: "string";
6
+ valueType: "number";
7
7
  };
8
8
  };
9
9
  export declare const patientCreatedOrUpdated: Webhook<keyof typeof dataPoints, SubscriptionEvent>;
@@ -4,7 +4,7 @@ exports.patientCreatedOrUpdated = void 0;
4
4
  const dataPoints = {
5
5
  patientId: {
6
6
  key: 'patientId',
7
- valueType: 'string',
7
+ valueType: 'number',
8
8
  },
9
9
  };
10
10
  exports.patientCreatedOrUpdated = {
@@ -32,8 +32,8 @@
32
32
  "changelog": "# Dropbox Sign changelog"
33
33
  },
34
34
  "elation": {
35
- "readme": "---\ntitle: Elation\ndescription: Elation is a cloud-based health record system designed for healthcare providers, clinics, and medical practices.\n---\n# Elation\n\nElation is a cloud-based health record system designed for healthcare providers, clinics, and medical practices. It offers a range of features including patient scheduling, charting, e-prescribing, billing, and telemedicine. Overall, Elation is designed to streamline the workflow of medical practices, improve patient care, and increase efficiency.\n\n## Extension settings\n\nIn order to use this extension you will need to provide the extension with the following settings:\n\n- Base URL / endpoint URL of the API\n- Authorization URL\n- Client ID for OAuth2 Password authentication\n- Client Secret for OAuth2 Password authentication\n- API Username for OAuth2 Password authentication\n- API Password for OAuth2 Password authentication\n\n## Actions\n\nThe following actions are supported with Elation today:\n\n### Create Patient\n\nCreate a patient in the EHR. **Does not look for duplicates**\n\nRequired fields include:\n- First Name\n- Last Name\n- Date of Birth (YYYY-MM-DD)\n- Sex (Male, Female, Other, Unknown)\n- Primary Physician (the ID of the physician, which you will be able to retrieve using the [Find Physicians](https://docs.elationhealth.com/reference/find-physicians) API call, or by using the `Find Physician` action)\n- Caregiver Practice (the ID of the practice. Again, you can find using the same API call or action as listed above)\n\nThere are also a number of optional fields.\n\n**NOTE: We currently do not support nested objects, so the entire patient object supported by elation's API is not yet exposed**. Please reach out to us if you're looking to add a particular field or set of fields.\n\n### Get Patient\n\nUsing a patient identifier, get a patient object that has all datapoints listed above in `Create Patient`.\n\n**NOTE: Because we don't yet support nested objects and arrays in extensions, we expose specifically the `mobile_phone` field, which is a search for the patient's mobile phone specifically.**\n\n### Update Patient\n\nUpdate a patient using any fields available in create patient.\n\nOddly enough, the following fields are always required by Elation:\n- first_name\n- last_name\n- dob\n- sex\n- primary_physician\n- caregiver_practice\n\n![Postman request](./assets/elation-update-patient.png?raw=true \"Bad Update Patient Request\")\n\n### Create Appointment\n\nCreate a patient appointment in your EHR for a given practice and physician.\n\nCreating an appointment requires a few strings to be well-formulated:\n- `Scheduled date` must be a datetime string (ISO-8601). For example, January 1, 2023 at noon, Pacific Time (-8 hours) would be shown as such: `2023-01-01T12:00:00.000-08:00`\n- `Reason` must not be free text. This value comes from the following list of appointment types (`Follow-Up`, `Office Visit`, `Physical Exam`, etc.):\n![Appointment types](./assets/elation-appointment-reason.png?raw=true \"Elation Appointment Types\")\n- `Patient` is the patient ID.\n- `Physician` is the physician ID (see `Find Physician`)\n- `Practice` is the practice ID (again, see `Find Physician`)\n\nYou can also include a duration (default to 15 minutes, or whatever has been set in your EHR)\n\n### Get Appointment\n\nGet an appointment using an appointment ID. View all of the fields supported by the API.\n\n### Create Non-Visit Note\n\nThe non-visit note is a special kind of note that, as the name suggests, is not associated with a visit. These notes, in their simplest form, provide a chronological account of information about the patient.\n\n### Update Non-Visit Note\n\nUpdates the non-visit note identified by an ID. Only ID is required by default, however editing any of `text`, `author` or `category` requires `Bullet ID` and both `text` and `author` to be provided.\n\n### Delete Non-Visit Note\n\nDeletes the non-visit note identified by an ID.\n\n### Get Non-Visit Note\n\nGets the non-visit note identified by an ID. Fields are saved as data points:\n- `authorId`\n- `text`\n- `chartDate`\n- `documentDate`\n- `patientId`\n- `practiceId`\n- `tags` (comma-separated list)",
36
- "changelog": "# Elation Changelog\n\n## September 4, 2023\n\n- rename `onCreatePatient` webhook to `patientCreatedOrUpdated`\n- filter non `saved` actions for this webhook\n\n## August 21, 2023\n\n- make non-visit note text a large input (`StringType.TEXT`)\n"
35
+ "readme": "---\ntitle: Elation\ndescription: Elation is a cloud-based health record system designed for healthcare providers, clinics, and medical practices.\n---\n# Elation\n\nElation is a cloud-based health record system designed for healthcare providers, clinics, and medical practices. It offers a range of features including patient scheduling, charting, e-prescribing, billing, and telemedicine. Overall, Elation is designed to streamline the workflow of medical practices, improve patient care, and increase efficiency.\n\n## Setup\n\n### Webhooks\n\nThe integration of webhooks with Elation presents unique challenges and considerations:\n\n- **Non-Discriminative Triggers**: Elation does not differentiate between the creation or update of a resource. Both actions will set off webhook with action `saved`, which might not provide enough discriminative information for some use cases.\n- **Programmatic Setup**: Elation webhooks can only be configured programmatically, as there's no dedicated user interface in Elation to set up webhooks. View [this demo video](https://youtu.be/v8u6E8MEI8E) for a step-by-step guide on how to set up your webhooks in Elation.\n- **Limitation on user-triggered actions**: Elation has a concept called \"Preventing echo\". This means that that any action carried out by the user affiliated with the API credentials that created the subscription doesn't trigger a webhook. You can read more about this behaviour [here](https://docs.elationhealth.com/reference/webhooks). If you are not receiving any webhooks from Elation after setting up your subscription, then this is the reason. A feasible workaround to the above limitation is creating a dedicated user not meant for human interactions but serves the sole purpose of facilitating M2M communication.\n\nIf you need help setting up your webhooks in Elation, reach out! We are happy to help you.\n\n### Extension settings\n\nIn order to use this extension you will need to provide the extension with the following settings:\n\n- Base URL / endpoint URL of the API\n- Authorization URL\n- Client ID for OAuth2 Password authentication\n- Client Secret for OAuth2 Password authentication\n- API Username for OAuth2 Password authentication\n- API Password for OAuth2 Password authentication\n\nNot sure where you can find all of this information? Click [here](https://docs.elationhealth.com/reference/introduction) to have a look at Elation's Developer documentation.\n\n## Actions\n\nThe following actions are supported with Elation today:\n\n### Create Patient\n\nThis action creates a patient in Elation.\n\n**When creating a patient, you will have to specifiy the primary physician and caregiver practice ID:**\n- Primary physician ID: you can retrieve this ID by using the [Find Physicians](https://docs.elationhealth.com/reference/find-physicians) API call, or by using the `Find Physician` action\n- Caregiver Practice ID: similar to the primary physician ID, you can find this ID by using the same API call or action\n\n### Get Patient\n\nUsing a patient identifier, retrieve a patient object from Elation. \n\nNote that when retrieve the mobile phone number, we are tranforming the number to an international format. We apply a heuristic and assume all mobile numbers in Elation are in US national format so we prepend the number with the +1 country code. Having the number in international format unlocks more powerful functionality like sending text messages with 3rd party services like Twilio and MessageBird.\n\n### Update Patient\n\nUpdate a patient in Elation using any fields available in create patient. We use Elation's `PATCH` method to apply partial modifications to a the patient resource (i.e. update only what is needed).\n\n### Create Appointment\n\nEasily create a patient appointment in Elation.\n\nCreating an appointment requires a few strings to be well-formulated:\n- `Scheduled date` must be a datetime string (ISO-8601). For example, January 1, 2023 at noon, Pacific Time (-8 hours) would be shown as such: `2023-01-01T12:00:00.000-08:00`\n- `Reason` must not be free text. This value comes from the following list of appointment types (`Follow-Up`, `Office Visit`, `Physical Exam`, etc.):\n![Appointment types](./assets/elation-appointment-reason.png?raw=true \"Elation Appointment Types\")\n- `Patient` is the patient ID.\n- `Physician` is the physician ID (see `Find Physician`)\n- `Practice` is the practice ID (again, see `Find Physician`)\n\nYou can also include a duration (default to 15 minutes, or whatever has been set in your EHR)\n\n### Get Appointment\n\nRetrieve appointment details using an appointment ID. \n\n### Create Non-Visit Note\n\nThe non-visit note is a special kind of note that, as the name suggests, is not associated with a visit. These notes, in their simplest form, provide a chronological account of information about the patient.\n\n**Additional documentation for some of the action fields:**\n1. Category: The default category is \"Problem\" but you can choose any of \"Past\", \"Family\", \"Social\", \"Instr\", \"PE\", \"ROS\", \"Med\", \"Data\", \"Assessment\", \"Test\", \"Tx\", \"Narrative\", \"Followup\", \"Reason\", \"Plan\", \"Objective\", \"Hpi\", \"Allergies\", \"Habits\", \"Assessplan\", \"Consultant\", \"Attending\", \"Dateprocedure\", \"Surgical\", \"Orders\", \"Referenced\", \"Procedure\".\n2. Chart and document date automatically get set to the current date, i.e. the date when the action is orchestrated.\n\n### Delete Non-Visit Note\n\nDeletes the non-visit note identified by an ID.\n\n### Get Non-Visit Note\n\nRetrieve the details of a non-visit note identified by an ID.\n### Get physician\n\nUsing a physician identifier, retrieve a physician object from Elation.\n\n### Find physicians\n\nSearch a physician based on a set of parameters. The ID of the physician matching the search parameters will be returned. To retrieve the details of the physician, you can use the the \"Get physician\" action.\n\nNote that this action can only support finding one physician so if your search criteria match multiple physicians the action will throw an error.\n\n",
36
+ "changelog": "# Elation Changelog\n\n## October 3, 2023\n\n- The README is now more concise with less unneeded detail. A section on the particularities of Elation subscriptions (webhooks) was added.\n- Misc. updates to labels, descriptions, action fields order\n- Action updates\n - Create Non-Visit Note:\n - Simplify the action by removing some optional action fields (we can always expand later)\n - `document_date` and `chart_date` are now automatically set to the date of today so that the corresponding action fields could be removed\n - Create patient\n - `dob` is now a `date` field type (was a string)\n - You can pass a mobile phone number and email when creating a patient \n - Find physician\n - Only returns the physician ID instead of all the details of the physician. To retrieve the details one can use the new `Get physician` action\n - Update patient\n - `dob` is now a `date` field type (was a string)\n - We are now using `PATCH` instead of `PUT` which allows for a partial update, i.e. only update the fields that are needed. \n- New actions\n - Get physician: Using a physician identifier, retrieve a physician object from Elation. \n- Removed actions\n - Update Non-Visit Note\n- Webhooks\n - Fix the type of `patientId` in `patientCreatedOrUpdated` webhook\n - Added `appointmentCreatedOrUpdated` webhook \n\n## September 4, 2023\n\n- rename `onCreatePatient` webhook to `patientCreatedOrUpdated`\n- filter non `saved` actions for this webhook\n\n## August 21, 2023\n\n- make non-visit note text a large input (`StringType.TEXT`)\n"
37
37
  },
38
38
  "formsort": {
39
39
  "readme": "---\ntitle: Formsort\ndescription: Formsort is a fully-managed form-building platform.\n---\n# Formsort\n\nFormsort is a fully-managed form-building platform. Team can use the online studio (a specialized content management system for forms) to create form content, modify styles, and configure integrations.\n\nFormsort hosts your fully-branded forms, either on one of your subdomains or embedded in a page on your site. When responders submit answers, Formsort sends the answers to a destination of your liking directly. Formsort doesn't store the responder's answers. \n\n## Flow settings\n\nIn order for the flows to work well with Awell care flows, make sure your flow settings are set as follows:\n\n- There should be no redirects\n- \"Start each session as a new responder\" should be checked\n- \"Enable URL navigation\" should be disabled\n- \"Enable restart once flow completed\" should be disabled\n- \"Enable close once flow completed\" should be disabled\n\n## Custom Actions\n\n### Complete flow\n\nLet a stakeholder complete a Formsort flow from within Awell Hosted Pages.\n\n**Limitations:**\nCurrently data from the flow is not ingested into Awell yet and cannot be used in your care flow as data points.\n",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awell-health/awell-extensions",
3
- "version": "1.0.104",
3
+ "version": "1.0.105",
4
4
  "packageManager": "yarn@3.4.1",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": {