@medplum/dosespot-core 5.1.8 → 5.1.10
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/cjs/index.cjs +1 -1
- package/dist/cjs/index.cjs.map +2 -2
- package/dist/cjs/index.d.ts +2 -0
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/index.mjs.map +2 -2
- package/package.json +8 -8
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __hasOwnProp=Object.prototype.hasOwnProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod);var index_exports={};__export(index_exports,{DOSESPOT_ADD_FAVORITE_MEDICATION_BOT:()=>DOSESPOT_ADD_FAVORITE_MEDICATION_BOT,DOSESPOT_ADD_PATIENT_PHARMACY_BOT:()=>DOSESPOT_ADD_PATIENT_PHARMACY_BOT,DOSESPOT_CLINIC_FAVORITE_ID_SYSTEM:()=>DOSESPOT_CLINIC_FAVORITE_ID_SYSTEM,DOSESPOT_DISPENSABLE_DRUG_ID_SYSTEM:()=>DOSESPOT_DISPENSABLE_DRUG_ID_SYSTEM,DOSESPOT_GET_FAVORITE_MEDICATIONS_BOT:()=>DOSESPOT_GET_FAVORITE_MEDICATIONS_BOT,DOSESPOT_IFRAME_BOT:()=>DOSESPOT_IFRAME_BOT,DOSESPOT_MEDICATION_HISTORY_BOT:()=>DOSESPOT_MEDICATION_HISTORY_BOT,DOSESPOT_NOTIFICATION_COUNTS_BOT:()=>DOSESPOT_NOTIFICATION_COUNTS_BOT,DOSESPOT_PATIENT_ID_SYSTEM:()=>DOSESPOT_PATIENT_ID_SYSTEM,DOSESPOT_PATIENT_SYNC_BOT:()=>DOSESPOT_PATIENT_SYNC_BOT,DOSESPOT_PHARMACY_ID_SYSTEM:()=>DOSESPOT_PHARMACY_ID_SYSTEM,DOSESPOT_PHARMACY_PREFERENCE_TYPE_SYSTEM:()=>DOSESPOT_PHARMACY_PREFERENCE_TYPE_SYSTEM,DOSESPOT_PRESCRIPTIONS_SYNC_BOT:()=>DOSESPOT_PRESCRIPTIONS_SYNC_BOT,DOSESPOT_SEARCH_MEDICATIONS_BOT:()=>DOSESPOT_SEARCH_MEDICATIONS_BOT,DOSESPOT_SEARCH_PHARMACY_BOT:()=>DOSESPOT_SEARCH_PHARMACY_BOT,MEDPLUM_BOT_SYSTEM:()=>MEDPLUM_BOT_SYSTEM,PATIENT_PREFERRED_PHARMACY_URL:()=>import_core.PATIENT_PREFERRED_PHARMACY_URL,PHARMACY_PREFERENCE_TYPE_SYSTEM:()=>import_core.PHARMACY_PREFERENCE_TYPE_SYSTEM,PHARMACY_TYPE_PREFERRED:()=>import_core.PHARMACY_TYPE_PREFERRED,PHARMACY_TYPE_PRIMARY:()=>import_core.PHARMACY_TYPE_PRIMARY,addPreferredPharmacyToPatient:()=>import_core.addPreferredPharmacyToPatient,createPreferredPharmacyExtension:()=>import_core.createPreferredPharmacyExtension,getPreferredPharmaciesFromPatient:()=>import_core.getPreferredPharmaciesFromPatient,isAddPharmacyResponse:()=>import_core.isAddPharmacyResponse,isOrganizationArray:()=>import_core.isOrganizationArray,removePreferredPharmacyFromPatient:()=>import_core.removePreferredPharmacyFromPatient});module.exports=__toCommonJS(index_exports);var import_core=require("@medplum/core"),DOSESPOT_PHARMACY_PREFERENCE_TYPE_SYSTEM="https://dosespot.com/pharmacy-preference-type",MEDPLUM_BOT_SYSTEM="https://www.medplum.com/bots",DOSESPOT_PATIENT_ID_SYSTEM="https://dosespot.com/patient-id",DOSESPOT_PHARMACY_ID_SYSTEM="https://dosespot.com/pharmacy-id",DOSESPOT_CLINIC_FAVORITE_ID_SYSTEM="https://dosespot.com/clinic-favorite-medication-id",DOSESPOT_DISPENSABLE_DRUG_ID_SYSTEM="https://dosespot.com/dispensable-drug-id",DOSESPOT_SEARCH_PHARMACY_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-search-pharmacy-bot"},DOSESPOT_ADD_PATIENT_PHARMACY_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-add-patient-pharmacy-bot"},DOSESPOT_PATIENT_SYNC_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-patient-sync-bot"},DOSESPOT_IFRAME_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-iframe-bot"},DOSESPOT_ADD_FAVORITE_MEDICATION_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-add-favorite-medication-bot"},DOSESPOT_GET_FAVORITE_MEDICATIONS_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-get-favorite-medications-bot"},DOSESPOT_SEARCH_MEDICATIONS_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-search-medication-bot"},DOSESPOT_MEDICATION_HISTORY_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-medication-history-bot"},DOSESPOT_PRESCRIPTIONS_SYNC_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-prescriptions-sync-bot"},DOSESPOT_NOTIFICATION_COUNTS_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-notification-counts-bot"};0&&(module.exports={DOSESPOT_ADD_FAVORITE_MEDICATION_BOT,DOSESPOT_ADD_PATIENT_PHARMACY_BOT,DOSESPOT_CLINIC_FAVORITE_ID_SYSTEM,DOSESPOT_DISPENSABLE_DRUG_ID_SYSTEM,DOSESPOT_GET_FAVORITE_MEDICATIONS_BOT,DOSESPOT_IFRAME_BOT,DOSESPOT_MEDICATION_HISTORY_BOT,DOSESPOT_NOTIFICATION_COUNTS_BOT,DOSESPOT_PATIENT_ID_SYSTEM,DOSESPOT_PATIENT_SYNC_BOT,DOSESPOT_PHARMACY_ID_SYSTEM,DOSESPOT_PHARMACY_PREFERENCE_TYPE_SYSTEM,DOSESPOT_PRESCRIPTIONS_SYNC_BOT,DOSESPOT_SEARCH_MEDICATIONS_BOT,DOSESPOT_SEARCH_PHARMACY_BOT,MEDPLUM_BOT_SYSTEM,PATIENT_PREFERRED_PHARMACY_URL,PHARMACY_PREFERENCE_TYPE_SYSTEM,PHARMACY_TYPE_PREFERRED,PHARMACY_TYPE_PRIMARY,addPreferredPharmacyToPatient,createPreferredPharmacyExtension,getPreferredPharmaciesFromPatient,isAddPharmacyResponse,isOrganizationArray,removePreferredPharmacyFromPatient});
|
|
1
|
+
"use strict";var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __hasOwnProp=Object.prototype.hasOwnProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:!0}),mod);var index_exports={};__export(index_exports,{DOSESPOT_ADD_FAVORITE_MEDICATION_BOT:()=>DOSESPOT_ADD_FAVORITE_MEDICATION_BOT,DOSESPOT_ADD_PATIENT_PHARMACY_BOT:()=>DOSESPOT_ADD_PATIENT_PHARMACY_BOT,DOSESPOT_CLINIC_FAVORITE_ID_SYSTEM:()=>DOSESPOT_CLINIC_FAVORITE_ID_SYSTEM,DOSESPOT_DISPENSABLE_DRUG_ID_SYSTEM:()=>DOSESPOT_DISPENSABLE_DRUG_ID_SYSTEM,DOSESPOT_GET_FAVORITE_MEDICATIONS_BOT:()=>DOSESPOT_GET_FAVORITE_MEDICATIONS_BOT,DOSESPOT_IFRAME_BOT:()=>DOSESPOT_IFRAME_BOT,DOSESPOT_MEDICATION_HISTORY_BOT:()=>DOSESPOT_MEDICATION_HISTORY_BOT,DOSESPOT_NOTIFICATION_COUNTS_BOT:()=>DOSESPOT_NOTIFICATION_COUNTS_BOT,DOSESPOT_PATIENT_ID_SYSTEM:()=>DOSESPOT_PATIENT_ID_SYSTEM,DOSESPOT_PATIENT_SYNC_BOT:()=>DOSESPOT_PATIENT_SYNC_BOT,DOSESPOT_PHARMACY_ID_SYSTEM:()=>DOSESPOT_PHARMACY_ID_SYSTEM,DOSESPOT_PHARMACY_PREFERENCE_TYPE_SYSTEM:()=>DOSESPOT_PHARMACY_PREFERENCE_TYPE_SYSTEM,DOSESPOT_PRESCRIPTIONS_SYNC_BOT:()=>DOSESPOT_PRESCRIPTIONS_SYNC_BOT,DOSESPOT_SEARCH_MEDICATIONS_BOT:()=>DOSESPOT_SEARCH_MEDICATIONS_BOT,DOSESPOT_SEARCH_PHARMACY_BOT:()=>DOSESPOT_SEARCH_PHARMACY_BOT,DOSESPOT_SELF_ENROLL_PRESCRIBER_BOT:()=>DOSESPOT_SELF_ENROLL_PRESCRIBER_BOT,MEDPLUM_BOT_SYSTEM:()=>MEDPLUM_BOT_SYSTEM,PATIENT_PREFERRED_PHARMACY_URL:()=>import_core.PATIENT_PREFERRED_PHARMACY_URL,PHARMACY_PREFERENCE_TYPE_SYSTEM:()=>import_core.PHARMACY_PREFERENCE_TYPE_SYSTEM,PHARMACY_TYPE_PREFERRED:()=>import_core.PHARMACY_TYPE_PREFERRED,PHARMACY_TYPE_PRIMARY:()=>import_core.PHARMACY_TYPE_PRIMARY,addPreferredPharmacyToPatient:()=>import_core.addPreferredPharmacyToPatient,createPreferredPharmacyExtension:()=>import_core.createPreferredPharmacyExtension,getPreferredPharmaciesFromPatient:()=>import_core.getPreferredPharmaciesFromPatient,isAddPharmacyResponse:()=>import_core.isAddPharmacyResponse,isOrganizationArray:()=>import_core.isOrganizationArray,removePreferredPharmacyFromPatient:()=>import_core.removePreferredPharmacyFromPatient});module.exports=__toCommonJS(index_exports);var import_core=require("@medplum/core"),DOSESPOT_PHARMACY_PREFERENCE_TYPE_SYSTEM="https://dosespot.com/pharmacy-preference-type",MEDPLUM_BOT_SYSTEM="https://www.medplum.com/bots",DOSESPOT_PATIENT_ID_SYSTEM="https://dosespot.com/patient-id",DOSESPOT_PHARMACY_ID_SYSTEM="https://dosespot.com/pharmacy-id",DOSESPOT_CLINIC_FAVORITE_ID_SYSTEM="https://dosespot.com/clinic-favorite-medication-id",DOSESPOT_DISPENSABLE_DRUG_ID_SYSTEM="https://dosespot.com/dispensable-drug-id",DOSESPOT_SEARCH_PHARMACY_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-search-pharmacy-bot"},DOSESPOT_ADD_PATIENT_PHARMACY_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-add-patient-pharmacy-bot"},DOSESPOT_PATIENT_SYNC_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-patient-sync-bot"},DOSESPOT_IFRAME_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-iframe-bot"},DOSESPOT_ADD_FAVORITE_MEDICATION_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-add-favorite-medication-bot"},DOSESPOT_GET_FAVORITE_MEDICATIONS_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-get-favorite-medications-bot"},DOSESPOT_SEARCH_MEDICATIONS_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-search-medication-bot"},DOSESPOT_MEDICATION_HISTORY_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-medication-history-bot"},DOSESPOT_PRESCRIPTIONS_SYNC_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-prescriptions-sync-bot"},DOSESPOT_NOTIFICATION_COUNTS_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-notification-counts-bot"},DOSESPOT_SELF_ENROLL_PRESCRIBER_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-self-enroll-prescriber-bot"};0&&(module.exports={DOSESPOT_ADD_FAVORITE_MEDICATION_BOT,DOSESPOT_ADD_PATIENT_PHARMACY_BOT,DOSESPOT_CLINIC_FAVORITE_ID_SYSTEM,DOSESPOT_DISPENSABLE_DRUG_ID_SYSTEM,DOSESPOT_GET_FAVORITE_MEDICATIONS_BOT,DOSESPOT_IFRAME_BOT,DOSESPOT_MEDICATION_HISTORY_BOT,DOSESPOT_NOTIFICATION_COUNTS_BOT,DOSESPOT_PATIENT_ID_SYSTEM,DOSESPOT_PATIENT_SYNC_BOT,DOSESPOT_PHARMACY_ID_SYSTEM,DOSESPOT_PHARMACY_PREFERENCE_TYPE_SYSTEM,DOSESPOT_PRESCRIPTIONS_SYNC_BOT,DOSESPOT_SEARCH_MEDICATIONS_BOT,DOSESPOT_SEARCH_PHARMACY_BOT,DOSESPOT_SELF_ENROLL_PRESCRIBER_BOT,MEDPLUM_BOT_SYSTEM,PATIENT_PREFERRED_PHARMACY_URL,PHARMACY_PREFERENCE_TYPE_SYSTEM,PHARMACY_TYPE_PREFERRED,PHARMACY_TYPE_PRIMARY,addPreferredPharmacyToPatient,createPreferredPharmacyExtension,getPreferredPharmaciesFromPatient,isAddPharmacyResponse,isOrganizationArray,removePreferredPharmacyFromPatient});
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/cjs/index.cjs.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts", "../../src/pharmacy-utils.ts"],
|
|
4
|
-
"sourcesContent": ["// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors\n// SPDX-License-Identifier: Apache-2.0\n\nexport {\n DOSESPOT_ADD_FAVORITE_MEDICATION_BOT,\n DOSESPOT_ADD_PATIENT_PHARMACY_BOT,\n DOSESPOT_CLINIC_FAVORITE_ID_SYSTEM,\n DOSESPOT_DISPENSABLE_DRUG_ID_SYSTEM,\n DOSESPOT_GET_FAVORITE_MEDICATIONS_BOT,\n DOSESPOT_IFRAME_BOT,\n DOSESPOT_MEDICATION_HISTORY_BOT,\n DOSESPOT_NOTIFICATION_COUNTS_BOT,\n DOSESPOT_PATIENT_ID_SYSTEM,\n DOSESPOT_PATIENT_SYNC_BOT,\n DOSESPOT_PHARMACY_ID_SYSTEM,\n DOSESPOT_PHARMACY_PREFERENCE_TYPE_SYSTEM,\n DOSESPOT_PRESCRIPTIONS_SYNC_BOT,\n DOSESPOT_SEARCH_MEDICATIONS_BOT,\n DOSESPOT_SEARCH_PHARMACY_BOT,\n MEDPLUM_BOT_SYSTEM,\n // Pharmacy extension URLs and systems (re-exported from @medplum/core)\n PATIENT_PREFERRED_PHARMACY_URL,\n PHARMACY_PREFERENCE_TYPE_SYSTEM,\n PHARMACY_TYPE_PREFERRED,\n PHARMACY_TYPE_PRIMARY,\n // Pharmacy utility functions (re-exported from @medplum/core)\n addPreferredPharmacyToPatient,\n createPreferredPharmacyExtension,\n getPreferredPharmaciesFromPatient,\n isAddPharmacyResponse,\n isOrganizationArray,\n removePreferredPharmacyFromPatient,\n} from './pharmacy-utils';\nexport type {\n AddFavoriteParams,\n AddPharmacyResponse,\n DoseSpotNotificationCountsResponse,\n PharmacySearchParams,\n PreferredPharmacy,\n} from './pharmacy-utils';\n", "// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors\n// SPDX-License-Identifier: Apache-2.0\n\nimport type { Identifier } from '@medplum/fhirtypes';\n\n// DoseSpot-specific pharmacy preference type system\nexport const DOSESPOT_PHARMACY_PREFERENCE_TYPE_SYSTEM = 'https://dosespot.com/pharmacy-preference-type';\n\n// Re-export generic pharmacy utilities from @medplum/core\nexport {\n addPreferredPharmacyToPatient,\n createPreferredPharmacyExtension,\n getPreferredPharmaciesFromPatient,\n isAddPharmacyResponse,\n isOrganizationArray,\n PATIENT_PREFERRED_PHARMACY_URL,\n PHARMACY_PREFERENCE_TYPE_SYSTEM,\n PHARMACY_TYPE_PREFERRED,\n PHARMACY_TYPE_PRIMARY,\n removePreferredPharmacyFromPatient,\n} from '@medplum/core';\nexport type { AddFavoriteParams, AddPharmacyResponse, PharmacySearchParams, PreferredPharmacy } from '@medplum/core';\n\n// Bot system\nexport const MEDPLUM_BOT_SYSTEM = 'https://www.medplum.com/bots';\n\n// DoseSpot identifier systems\nexport const DOSESPOT_PATIENT_ID_SYSTEM = 'https://dosespot.com/patient-id';\nexport const DOSESPOT_PHARMACY_ID_SYSTEM = 'https://dosespot.com/pharmacy-id';\nexport const DOSESPOT_CLINIC_FAVORITE_ID_SYSTEM = 'https://dosespot.com/clinic-favorite-medication-id';\nexport const DOSESPOT_DISPENSABLE_DRUG_ID_SYSTEM = 'https://dosespot.com/dispensable-drug-id';\n\n// Bot identifiers - Pharmacy\nexport const DOSESPOT_SEARCH_PHARMACY_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-search-pharmacy-bot',\n};\n\nexport const DOSESPOT_ADD_PATIENT_PHARMACY_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-add-patient-pharmacy-bot',\n};\n\n// Bot identifiers - Patient and Medications\nexport const DOSESPOT_PATIENT_SYNC_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-patient-sync-bot',\n};\n\nexport const DOSESPOT_IFRAME_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-iframe-bot',\n};\n\nexport const DOSESPOT_ADD_FAVORITE_MEDICATION_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-add-favorite-medication-bot',\n};\n\nexport const DOSESPOT_GET_FAVORITE_MEDICATIONS_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-get-favorite-medications-bot',\n};\n\nexport const DOSESPOT_SEARCH_MEDICATIONS_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-search-medication-bot',\n};\n\nexport const DOSESPOT_MEDICATION_HISTORY_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-medication-history-bot',\n};\n\nexport const DOSESPOT_PRESCRIPTIONS_SYNC_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-prescriptions-sync-bot',\n};\n\nexport const DOSESPOT_NOTIFICATION_COUNTS_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-notification-counts-bot',\n};\n\n// DoseSpot notification response type\nexport interface DoseSpotNotificationCountsResponse {\n PendingPrescriptionsCount: number;\n PendingRxChangeCount: number;\n RefillRequestsCount: number;\n TransactionErrorsCount: number;\n}\n"],
|
|
5
|
-
"mappings": "wpBAAA,
|
|
4
|
+
"sourcesContent": ["// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors\n// SPDX-License-Identifier: Apache-2.0\n\nexport {\n DOSESPOT_ADD_FAVORITE_MEDICATION_BOT,\n DOSESPOT_ADD_PATIENT_PHARMACY_BOT,\n DOSESPOT_CLINIC_FAVORITE_ID_SYSTEM,\n DOSESPOT_DISPENSABLE_DRUG_ID_SYSTEM,\n DOSESPOT_GET_FAVORITE_MEDICATIONS_BOT,\n DOSESPOT_IFRAME_BOT,\n DOSESPOT_MEDICATION_HISTORY_BOT,\n DOSESPOT_NOTIFICATION_COUNTS_BOT,\n DOSESPOT_PATIENT_ID_SYSTEM,\n DOSESPOT_PATIENT_SYNC_BOT,\n DOSESPOT_PHARMACY_ID_SYSTEM,\n DOSESPOT_PHARMACY_PREFERENCE_TYPE_SYSTEM,\n DOSESPOT_PRESCRIPTIONS_SYNC_BOT,\n DOSESPOT_SEARCH_MEDICATIONS_BOT,\n DOSESPOT_SEARCH_PHARMACY_BOT,\n DOSESPOT_SELF_ENROLL_PRESCRIBER_BOT,\n MEDPLUM_BOT_SYSTEM,\n // Pharmacy extension URLs and systems (re-exported from @medplum/core)\n PATIENT_PREFERRED_PHARMACY_URL,\n PHARMACY_PREFERENCE_TYPE_SYSTEM,\n PHARMACY_TYPE_PREFERRED,\n PHARMACY_TYPE_PRIMARY,\n // Pharmacy utility functions (re-exported from @medplum/core)\n addPreferredPharmacyToPatient,\n createPreferredPharmacyExtension,\n getPreferredPharmaciesFromPatient,\n isAddPharmacyResponse,\n isOrganizationArray,\n removePreferredPharmacyFromPatient,\n} from './pharmacy-utils';\nexport type {\n AddFavoriteParams,\n AddPharmacyResponse,\n DoseSpotNotificationCountsResponse,\n PharmacySearchParams,\n PreferredPharmacy,\n} from './pharmacy-utils';\n", "// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors\n// SPDX-License-Identifier: Apache-2.0\n\nimport type { Identifier } from '@medplum/fhirtypes';\n\n// DoseSpot-specific pharmacy preference type system\nexport const DOSESPOT_PHARMACY_PREFERENCE_TYPE_SYSTEM = 'https://dosespot.com/pharmacy-preference-type';\n\n// Re-export generic pharmacy utilities from @medplum/core\nexport {\n addPreferredPharmacyToPatient,\n createPreferredPharmacyExtension,\n getPreferredPharmaciesFromPatient,\n isAddPharmacyResponse,\n isOrganizationArray,\n PATIENT_PREFERRED_PHARMACY_URL,\n PHARMACY_PREFERENCE_TYPE_SYSTEM,\n PHARMACY_TYPE_PREFERRED,\n PHARMACY_TYPE_PRIMARY,\n removePreferredPharmacyFromPatient,\n} from '@medplum/core';\nexport type { AddFavoriteParams, AddPharmacyResponse, PharmacySearchParams, PreferredPharmacy } from '@medplum/core';\n\n// Bot system\nexport const MEDPLUM_BOT_SYSTEM = 'https://www.medplum.com/bots';\n\n// DoseSpot identifier systems\nexport const DOSESPOT_PATIENT_ID_SYSTEM = 'https://dosespot.com/patient-id';\nexport const DOSESPOT_PHARMACY_ID_SYSTEM = 'https://dosespot.com/pharmacy-id';\nexport const DOSESPOT_CLINIC_FAVORITE_ID_SYSTEM = 'https://dosespot.com/clinic-favorite-medication-id';\nexport const DOSESPOT_DISPENSABLE_DRUG_ID_SYSTEM = 'https://dosespot.com/dispensable-drug-id';\n\n// Bot identifiers - Pharmacy\nexport const DOSESPOT_SEARCH_PHARMACY_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-search-pharmacy-bot',\n};\n\nexport const DOSESPOT_ADD_PATIENT_PHARMACY_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-add-patient-pharmacy-bot',\n};\n\n// Bot identifiers - Patient and Medications\nexport const DOSESPOT_PATIENT_SYNC_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-patient-sync-bot',\n};\n\nexport const DOSESPOT_IFRAME_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-iframe-bot',\n};\n\nexport const DOSESPOT_ADD_FAVORITE_MEDICATION_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-add-favorite-medication-bot',\n};\n\nexport const DOSESPOT_GET_FAVORITE_MEDICATIONS_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-get-favorite-medications-bot',\n};\n\nexport const DOSESPOT_SEARCH_MEDICATIONS_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-search-medication-bot',\n};\n\nexport const DOSESPOT_MEDICATION_HISTORY_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-medication-history-bot',\n};\n\nexport const DOSESPOT_PRESCRIPTIONS_SYNC_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-prescriptions-sync-bot',\n};\n\nexport const DOSESPOT_NOTIFICATION_COUNTS_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-notification-counts-bot',\n};\n\n// Bot identifiers - Enrollment\nexport const DOSESPOT_SELF_ENROLL_PRESCRIBER_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-self-enroll-prescriber-bot',\n};\n\n// DoseSpot notification response type\nexport interface DoseSpotNotificationCountsResponse {\n PendingPrescriptionsCount: number;\n PendingRxChangeCount: number;\n RefillRequestsCount: number;\n TransactionErrorsCount: number;\n}\n"],
|
|
5
|
+
"mappings": "wpBAAA,k6DCSA,gBAWO,yBAdM,yCAA2C,gDAkB3C,mBAAqB,+BAGrB,2BAA6B,kCAC7B,4BAA8B,mCAC9B,mCAAqC,qDACrC,oCAAsC,2CAGtC,6BAA2C,CACtD,OAAQ,mBACR,MAAO,8BACT,EAEa,kCAAgD,CAC3D,OAAQ,mBACR,MAAO,mCACT,EAGa,0BAAwC,CACnD,OAAQ,mBACR,MAAO,2BACT,EAEa,oBAAkC,CAC7C,OAAQ,mBACR,MAAO,qBACT,EAEa,qCAAmD,CAC9D,OAAQ,mBACR,MAAO,sCACT,EAEa,sCAAoD,CAC/D,OAAQ,mBACR,MAAO,uCACT,EAEa,gCAA8C,CACzD,OAAQ,mBACR,MAAO,gCACT,EAEa,gCAA8C,CACzD,OAAQ,mBACR,MAAO,iCACT,EAEa,gCAA8C,CACzD,OAAQ,mBACR,MAAO,iCACT,EAEa,iCAA+C,CAC1D,OAAQ,mBACR,MAAO,kCACT,EAGa,oCAAkD,CAC7D,OAAQ,mBACR,MAAO,qCACT",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -52,6 +52,8 @@ export declare const DOSESPOT_SEARCH_MEDICATIONS_BOT: Identifier;
|
|
|
52
52
|
|
|
53
53
|
export declare const DOSESPOT_SEARCH_PHARMACY_BOT: Identifier;
|
|
54
54
|
|
|
55
|
+
export declare const DOSESPOT_SELF_ENROLL_PRESCRIBER_BOT: Identifier;
|
|
56
|
+
|
|
55
57
|
export declare interface DoseSpotNotificationCountsResponse {
|
|
56
58
|
PendingPrescriptionsCount: number;
|
|
57
59
|
PendingRxChangeCount: number;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -52,6 +52,8 @@ export declare const DOSESPOT_SEARCH_MEDICATIONS_BOT: Identifier;
|
|
|
52
52
|
|
|
53
53
|
export declare const DOSESPOT_SEARCH_PHARMACY_BOT: Identifier;
|
|
54
54
|
|
|
55
|
+
export declare const DOSESPOT_SELF_ENROLL_PRESCRIBER_BOT: Identifier;
|
|
56
|
+
|
|
55
57
|
export declare interface DoseSpotNotificationCountsResponse {
|
|
56
58
|
PendingPrescriptionsCount: number;
|
|
57
59
|
PendingRxChangeCount: number;
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{addPreferredPharmacyToPatient,createPreferredPharmacyExtension,getPreferredPharmaciesFromPatient,isAddPharmacyResponse,isOrganizationArray,PATIENT_PREFERRED_PHARMACY_URL,PHARMACY_PREFERENCE_TYPE_SYSTEM,PHARMACY_TYPE_PREFERRED,PHARMACY_TYPE_PRIMARY,removePreferredPharmacyFromPatient}from"@medplum/core";var DOSESPOT_PHARMACY_PREFERENCE_TYPE_SYSTEM="https://dosespot.com/pharmacy-preference-type",MEDPLUM_BOT_SYSTEM="https://www.medplum.com/bots",DOSESPOT_PATIENT_ID_SYSTEM="https://dosespot.com/patient-id",DOSESPOT_PHARMACY_ID_SYSTEM="https://dosespot.com/pharmacy-id",DOSESPOT_CLINIC_FAVORITE_ID_SYSTEM="https://dosespot.com/clinic-favorite-medication-id",DOSESPOT_DISPENSABLE_DRUG_ID_SYSTEM="https://dosespot.com/dispensable-drug-id",DOSESPOT_SEARCH_PHARMACY_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-search-pharmacy-bot"},DOSESPOT_ADD_PATIENT_PHARMACY_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-add-patient-pharmacy-bot"},DOSESPOT_PATIENT_SYNC_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-patient-sync-bot"},DOSESPOT_IFRAME_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-iframe-bot"},DOSESPOT_ADD_FAVORITE_MEDICATION_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-add-favorite-medication-bot"},DOSESPOT_GET_FAVORITE_MEDICATIONS_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-get-favorite-medications-bot"},DOSESPOT_SEARCH_MEDICATIONS_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-search-medication-bot"},DOSESPOT_MEDICATION_HISTORY_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-medication-history-bot"},DOSESPOT_PRESCRIPTIONS_SYNC_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-prescriptions-sync-bot"},DOSESPOT_NOTIFICATION_COUNTS_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-notification-counts-bot"};export{DOSESPOT_ADD_FAVORITE_MEDICATION_BOT,DOSESPOT_ADD_PATIENT_PHARMACY_BOT,DOSESPOT_CLINIC_FAVORITE_ID_SYSTEM,DOSESPOT_DISPENSABLE_DRUG_ID_SYSTEM,DOSESPOT_GET_FAVORITE_MEDICATIONS_BOT,DOSESPOT_IFRAME_BOT,DOSESPOT_MEDICATION_HISTORY_BOT,DOSESPOT_NOTIFICATION_COUNTS_BOT,DOSESPOT_PATIENT_ID_SYSTEM,DOSESPOT_PATIENT_SYNC_BOT,DOSESPOT_PHARMACY_ID_SYSTEM,DOSESPOT_PHARMACY_PREFERENCE_TYPE_SYSTEM,DOSESPOT_PRESCRIPTIONS_SYNC_BOT,DOSESPOT_SEARCH_MEDICATIONS_BOT,DOSESPOT_SEARCH_PHARMACY_BOT,MEDPLUM_BOT_SYSTEM,PATIENT_PREFERRED_PHARMACY_URL,PHARMACY_PREFERENCE_TYPE_SYSTEM,PHARMACY_TYPE_PREFERRED,PHARMACY_TYPE_PRIMARY,addPreferredPharmacyToPatient,createPreferredPharmacyExtension,getPreferredPharmaciesFromPatient,isAddPharmacyResponse,isOrganizationArray,removePreferredPharmacyFromPatient};
|
|
1
|
+
import{addPreferredPharmacyToPatient,createPreferredPharmacyExtension,getPreferredPharmaciesFromPatient,isAddPharmacyResponse,isOrganizationArray,PATIENT_PREFERRED_PHARMACY_URL,PHARMACY_PREFERENCE_TYPE_SYSTEM,PHARMACY_TYPE_PREFERRED,PHARMACY_TYPE_PRIMARY,removePreferredPharmacyFromPatient}from"@medplum/core";var DOSESPOT_PHARMACY_PREFERENCE_TYPE_SYSTEM="https://dosespot.com/pharmacy-preference-type",MEDPLUM_BOT_SYSTEM="https://www.medplum.com/bots",DOSESPOT_PATIENT_ID_SYSTEM="https://dosespot.com/patient-id",DOSESPOT_PHARMACY_ID_SYSTEM="https://dosespot.com/pharmacy-id",DOSESPOT_CLINIC_FAVORITE_ID_SYSTEM="https://dosespot.com/clinic-favorite-medication-id",DOSESPOT_DISPENSABLE_DRUG_ID_SYSTEM="https://dosespot.com/dispensable-drug-id",DOSESPOT_SEARCH_PHARMACY_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-search-pharmacy-bot"},DOSESPOT_ADD_PATIENT_PHARMACY_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-add-patient-pharmacy-bot"},DOSESPOT_PATIENT_SYNC_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-patient-sync-bot"},DOSESPOT_IFRAME_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-iframe-bot"},DOSESPOT_ADD_FAVORITE_MEDICATION_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-add-favorite-medication-bot"},DOSESPOT_GET_FAVORITE_MEDICATIONS_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-get-favorite-medications-bot"},DOSESPOT_SEARCH_MEDICATIONS_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-search-medication-bot"},DOSESPOT_MEDICATION_HISTORY_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-medication-history-bot"},DOSESPOT_PRESCRIPTIONS_SYNC_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-prescriptions-sync-bot"},DOSESPOT_NOTIFICATION_COUNTS_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-notification-counts-bot"},DOSESPOT_SELF_ENROLL_PRESCRIBER_BOT={system:MEDPLUM_BOT_SYSTEM,value:"dosespot-self-enroll-prescriber-bot"};export{DOSESPOT_ADD_FAVORITE_MEDICATION_BOT,DOSESPOT_ADD_PATIENT_PHARMACY_BOT,DOSESPOT_CLINIC_FAVORITE_ID_SYSTEM,DOSESPOT_DISPENSABLE_DRUG_ID_SYSTEM,DOSESPOT_GET_FAVORITE_MEDICATIONS_BOT,DOSESPOT_IFRAME_BOT,DOSESPOT_MEDICATION_HISTORY_BOT,DOSESPOT_NOTIFICATION_COUNTS_BOT,DOSESPOT_PATIENT_ID_SYSTEM,DOSESPOT_PATIENT_SYNC_BOT,DOSESPOT_PHARMACY_ID_SYSTEM,DOSESPOT_PHARMACY_PREFERENCE_TYPE_SYSTEM,DOSESPOT_PRESCRIPTIONS_SYNC_BOT,DOSESPOT_SEARCH_MEDICATIONS_BOT,DOSESPOT_SEARCH_PHARMACY_BOT,DOSESPOT_SELF_ENROLL_PRESCRIBER_BOT,MEDPLUM_BOT_SYSTEM,PATIENT_PREFERRED_PHARMACY_URL,PHARMACY_PREFERENCE_TYPE_SYSTEM,PHARMACY_TYPE_PREFERRED,PHARMACY_TYPE_PRIMARY,addPreferredPharmacyToPatient,createPreferredPharmacyExtension,getPreferredPharmaciesFromPatient,isAddPharmacyResponse,isOrganizationArray,removePreferredPharmacyFromPatient};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/esm/index.mjs.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/pharmacy-utils.ts"],
|
|
4
|
-
"sourcesContent": ["// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors\n// SPDX-License-Identifier: Apache-2.0\n\nimport type { Identifier } from '@medplum/fhirtypes';\n\n// DoseSpot-specific pharmacy preference type system\nexport const DOSESPOT_PHARMACY_PREFERENCE_TYPE_SYSTEM = 'https://dosespot.com/pharmacy-preference-type';\n\n// Re-export generic pharmacy utilities from @medplum/core\nexport {\n addPreferredPharmacyToPatient,\n createPreferredPharmacyExtension,\n getPreferredPharmaciesFromPatient,\n isAddPharmacyResponse,\n isOrganizationArray,\n PATIENT_PREFERRED_PHARMACY_URL,\n PHARMACY_PREFERENCE_TYPE_SYSTEM,\n PHARMACY_TYPE_PREFERRED,\n PHARMACY_TYPE_PRIMARY,\n removePreferredPharmacyFromPatient,\n} from '@medplum/core';\nexport type { AddFavoriteParams, AddPharmacyResponse, PharmacySearchParams, PreferredPharmacy } from '@medplum/core';\n\n// Bot system\nexport const MEDPLUM_BOT_SYSTEM = 'https://www.medplum.com/bots';\n\n// DoseSpot identifier systems\nexport const DOSESPOT_PATIENT_ID_SYSTEM = 'https://dosespot.com/patient-id';\nexport const DOSESPOT_PHARMACY_ID_SYSTEM = 'https://dosespot.com/pharmacy-id';\nexport const DOSESPOT_CLINIC_FAVORITE_ID_SYSTEM = 'https://dosespot.com/clinic-favorite-medication-id';\nexport const DOSESPOT_DISPENSABLE_DRUG_ID_SYSTEM = 'https://dosespot.com/dispensable-drug-id';\n\n// Bot identifiers - Pharmacy\nexport const DOSESPOT_SEARCH_PHARMACY_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-search-pharmacy-bot',\n};\n\nexport const DOSESPOT_ADD_PATIENT_PHARMACY_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-add-patient-pharmacy-bot',\n};\n\n// Bot identifiers - Patient and Medications\nexport const DOSESPOT_PATIENT_SYNC_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-patient-sync-bot',\n};\n\nexport const DOSESPOT_IFRAME_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-iframe-bot',\n};\n\nexport const DOSESPOT_ADD_FAVORITE_MEDICATION_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-add-favorite-medication-bot',\n};\n\nexport const DOSESPOT_GET_FAVORITE_MEDICATIONS_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-get-favorite-medications-bot',\n};\n\nexport const DOSESPOT_SEARCH_MEDICATIONS_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-search-medication-bot',\n};\n\nexport const DOSESPOT_MEDICATION_HISTORY_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-medication-history-bot',\n};\n\nexport const DOSESPOT_PRESCRIPTIONS_SYNC_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-prescriptions-sync-bot',\n};\n\nexport const DOSESPOT_NOTIFICATION_COUNTS_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-notification-counts-bot',\n};\n\n// DoseSpot notification response type\nexport interface DoseSpotNotificationCountsResponse {\n PendingPrescriptionsCount: number;\n PendingRxChangeCount: number;\n RefillRequestsCount: number;\n TransactionErrorsCount: number;\n}\n"],
|
|
5
|
-
"mappings": "AASA,OACE,8BACA,iCACA,kCACA,sBACA,oBACA,+BACA,gCACA,wBACA,sBACA,uCACK,gBAdA,IAAM,yCAA2C,gDAkB3C,mBAAqB,+BAGrB,2BAA6B,kCAC7B,4BAA8B,mCAC9B,mCAAqC,qDACrC,oCAAsC,2CAGtC,6BAA2C,CACtD,OAAQ,mBACR,MAAO,8BACT,EAEa,kCAAgD,CAC3D,OAAQ,mBACR,MAAO,mCACT,EAGa,0BAAwC,CACnD,OAAQ,mBACR,MAAO,2BACT,EAEa,oBAAkC,CAC7C,OAAQ,mBACR,MAAO,qBACT,EAEa,qCAAmD,CAC9D,OAAQ,mBACR,MAAO,sCACT,EAEa,sCAAoD,CAC/D,OAAQ,mBACR,MAAO,uCACT,EAEa,gCAA8C,CACzD,OAAQ,mBACR,MAAO,gCACT,EAEa,gCAA8C,CACzD,OAAQ,mBACR,MAAO,iCACT,EAEa,gCAA8C,CACzD,OAAQ,mBACR,MAAO,iCACT,EAEa,iCAA+C,CAC1D,OAAQ,mBACR,MAAO,kCACT",
|
|
4
|
+
"sourcesContent": ["// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors\n// SPDX-License-Identifier: Apache-2.0\n\nimport type { Identifier } from '@medplum/fhirtypes';\n\n// DoseSpot-specific pharmacy preference type system\nexport const DOSESPOT_PHARMACY_PREFERENCE_TYPE_SYSTEM = 'https://dosespot.com/pharmacy-preference-type';\n\n// Re-export generic pharmacy utilities from @medplum/core\nexport {\n addPreferredPharmacyToPatient,\n createPreferredPharmacyExtension,\n getPreferredPharmaciesFromPatient,\n isAddPharmacyResponse,\n isOrganizationArray,\n PATIENT_PREFERRED_PHARMACY_URL,\n PHARMACY_PREFERENCE_TYPE_SYSTEM,\n PHARMACY_TYPE_PREFERRED,\n PHARMACY_TYPE_PRIMARY,\n removePreferredPharmacyFromPatient,\n} from '@medplum/core';\nexport type { AddFavoriteParams, AddPharmacyResponse, PharmacySearchParams, PreferredPharmacy } from '@medplum/core';\n\n// Bot system\nexport const MEDPLUM_BOT_SYSTEM = 'https://www.medplum.com/bots';\n\n// DoseSpot identifier systems\nexport const DOSESPOT_PATIENT_ID_SYSTEM = 'https://dosespot.com/patient-id';\nexport const DOSESPOT_PHARMACY_ID_SYSTEM = 'https://dosespot.com/pharmacy-id';\nexport const DOSESPOT_CLINIC_FAVORITE_ID_SYSTEM = 'https://dosespot.com/clinic-favorite-medication-id';\nexport const DOSESPOT_DISPENSABLE_DRUG_ID_SYSTEM = 'https://dosespot.com/dispensable-drug-id';\n\n// Bot identifiers - Pharmacy\nexport const DOSESPOT_SEARCH_PHARMACY_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-search-pharmacy-bot',\n};\n\nexport const DOSESPOT_ADD_PATIENT_PHARMACY_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-add-patient-pharmacy-bot',\n};\n\n// Bot identifiers - Patient and Medications\nexport const DOSESPOT_PATIENT_SYNC_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-patient-sync-bot',\n};\n\nexport const DOSESPOT_IFRAME_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-iframe-bot',\n};\n\nexport const DOSESPOT_ADD_FAVORITE_MEDICATION_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-add-favorite-medication-bot',\n};\n\nexport const DOSESPOT_GET_FAVORITE_MEDICATIONS_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-get-favorite-medications-bot',\n};\n\nexport const DOSESPOT_SEARCH_MEDICATIONS_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-search-medication-bot',\n};\n\nexport const DOSESPOT_MEDICATION_HISTORY_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-medication-history-bot',\n};\n\nexport const DOSESPOT_PRESCRIPTIONS_SYNC_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-prescriptions-sync-bot',\n};\n\nexport const DOSESPOT_NOTIFICATION_COUNTS_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-notification-counts-bot',\n};\n\n// Bot identifiers - Enrollment\nexport const DOSESPOT_SELF_ENROLL_PRESCRIBER_BOT: Identifier = {\n system: MEDPLUM_BOT_SYSTEM,\n value: 'dosespot-self-enroll-prescriber-bot',\n};\n\n// DoseSpot notification response type\nexport interface DoseSpotNotificationCountsResponse {\n PendingPrescriptionsCount: number;\n PendingRxChangeCount: number;\n RefillRequestsCount: number;\n TransactionErrorsCount: number;\n}\n"],
|
|
5
|
+
"mappings": "AASA,OACE,8BACA,iCACA,kCACA,sBACA,oBACA,+BACA,gCACA,wBACA,sBACA,uCACK,gBAdA,IAAM,yCAA2C,gDAkB3C,mBAAqB,+BAGrB,2BAA6B,kCAC7B,4BAA8B,mCAC9B,mCAAqC,qDACrC,oCAAsC,2CAGtC,6BAA2C,CACtD,OAAQ,mBACR,MAAO,8BACT,EAEa,kCAAgD,CAC3D,OAAQ,mBACR,MAAO,mCACT,EAGa,0BAAwC,CACnD,OAAQ,mBACR,MAAO,2BACT,EAEa,oBAAkC,CAC7C,OAAQ,mBACR,MAAO,qBACT,EAEa,qCAAmD,CAC9D,OAAQ,mBACR,MAAO,sCACT,EAEa,sCAAoD,CAC/D,OAAQ,mBACR,MAAO,uCACT,EAEa,gCAA8C,CACzD,OAAQ,mBACR,MAAO,gCACT,EAEa,gCAA8C,CACzD,OAAQ,mBACR,MAAO,iCACT,EAEa,gCAA8C,CACzD,OAAQ,mBACR,MAAO,iCACT,EAEa,iCAA+C,CAC1D,OAAQ,mBACR,MAAO,kCACT,EAGa,oCAAkD,CAC7D,OAAQ,mBACR,MAAO,qCACT",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medplum/dosespot-core",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.10",
|
|
4
4
|
"description": "Medplum DoseSpot SDK",
|
|
5
5
|
"homepage": "https://www.medplum.com/",
|
|
6
6
|
"bugs": {
|
|
@@ -42,16 +42,16 @@
|
|
|
42
42
|
"test:watch": "vitest watch"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@medplum/core": "5.1.
|
|
46
|
-
"@medplum/definitions": "5.1.
|
|
47
|
-
"@medplum/fhirtypes": "5.1.
|
|
48
|
-
"@medplum/mock": "5.1.
|
|
45
|
+
"@medplum/core": "5.1.10",
|
|
46
|
+
"@medplum/definitions": "5.1.10",
|
|
47
|
+
"@medplum/fhirtypes": "5.1.10",
|
|
48
|
+
"@medplum/mock": "5.1.10",
|
|
49
49
|
"@types/node": "22.19.17",
|
|
50
|
-
"vitest": "4.1.
|
|
50
|
+
"vitest": "4.1.5"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@medplum/core": "5.1.
|
|
54
|
-
"@medplum/fhirtypes": "5.1.
|
|
53
|
+
"@medplum/core": "5.1.10",
|
|
54
|
+
"@medplum/fhirtypes": "5.1.10"
|
|
55
55
|
},
|
|
56
56
|
"engines": {
|
|
57
57
|
"node": "^22.18.0 || >=24.2.0"
|