@photonhealth/client 2.0.0-rc.2 → 2.0.0-rc.4

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 (72) hide show
  1. package/README.md +4 -2
  2. package/dist/analytics/lifecycleEvents.d.ts +5 -2
  3. package/dist/analytics/lifecycleEvents.d.ts.map +1 -1
  4. package/dist/analytics/lifecycleEvents.js +4 -1
  5. package/dist/analytics/lifecycleEvents.js.map +1 -1
  6. package/dist/{photon/analytics.d.ts → analytics/track.d.ts} +3 -3
  7. package/dist/analytics/track.d.ts.map +1 -0
  8. package/dist/{photon/analytics.js → analytics/track.js} +2 -2
  9. package/dist/analytics/track.js.map +1 -0
  10. package/dist/api/changes/applyOption.d.ts +4 -1
  11. package/dist/api/changes/applyOption.d.ts.map +1 -1
  12. package/dist/api/changes/applyOption.js +23 -2
  13. package/dist/api/changes/applyOption.js.map +1 -1
  14. package/dist/api/orders.d.ts +21 -0
  15. package/dist/api/orders.d.ts.map +1 -1
  16. package/dist/gql/gql.d.ts +1 -1
  17. package/dist/gql/gql.d.ts.map +1 -1
  18. package/dist/gql/gql.js +1 -1
  19. package/dist/gql/gql.js.map +1 -1
  20. package/dist/gql/graphql.d.ts +336 -1
  21. package/dist/gql/graphql.d.ts.map +1 -1
  22. package/dist/gql/graphql.js +75 -0
  23. package/dist/gql/graphql.js.map +1 -1
  24. package/dist/meta/version.js +1 -1
  25. package/dist/photon/index.d.ts +2 -2
  26. package/dist/photon/index.d.ts.map +1 -1
  27. package/dist/photon/index.js.map +1 -1
  28. package/dist/photon/map.d.ts.map +1 -1
  29. package/dist/photon/map.js +13 -11
  30. package/dist/photon/map.js.map +1 -1
  31. package/dist/photon/order.d.ts +3 -4
  32. package/dist/photon/order.d.ts.map +1 -1
  33. package/dist/photon/order.js +6 -11
  34. package/dist/photon/order.js.map +1 -1
  35. package/dist/photon/photon.d.ts +1 -1
  36. package/dist/photon/photon.d.ts.map +1 -1
  37. package/dist/photon/photon.js +1 -1
  38. package/dist/photon/photon.js.map +1 -1
  39. package/dist/photon/session.d.ts +3 -2
  40. package/dist/photon/session.d.ts.map +1 -1
  41. package/dist/photon/session.js +22 -9
  42. package/dist/photon/session.js.map +1 -1
  43. package/dist/photon/types.d.ts +10 -2
  44. package/dist/photon/types.d.ts.map +1 -1
  45. package/dist/testing/fixtures.d.ts +26 -0
  46. package/dist/testing/fixtures.d.ts.map +1 -1
  47. package/dist/testing/fixtures.js +6 -0
  48. package/dist/testing/fixtures.js.map +1 -1
  49. package/dist/testing.d.ts +1 -1
  50. package/dist/testing.d.ts.map +1 -1
  51. package/dist/testing.js +1 -1
  52. package/dist/testing.js.map +1 -1
  53. package/package.json +1 -1
  54. package/src/analytics/lifecycleEvents.test.ts +25 -5
  55. package/src/analytics/lifecycleEvents.ts +20 -3
  56. package/src/analytics/track.test.ts +231 -0
  57. package/src/{photon/analytics.ts → analytics/track.ts} +2 -2
  58. package/src/api/changes/applyOption.ts +25 -2
  59. package/src/gql/gql.ts +3 -3
  60. package/src/gql/graphql.ts +523 -111
  61. package/src/meta/version.ts +1 -1
  62. package/src/operations/fragments.graphql +3 -0
  63. package/src/photon/index.ts +2 -1
  64. package/src/photon/map.ts +14 -11
  65. package/src/photon/order.ts +7 -12
  66. package/src/photon/photon.ts +1 -1
  67. package/src/photon/session.ts +23 -9
  68. package/src/photon/types.ts +11 -2
  69. package/src/testing/fixtures.ts +12 -0
  70. package/src/testing.ts +1 -0
  71. package/dist/photon/analytics.d.ts.map +0 -1
  72. package/dist/photon/analytics.js.map +0 -1
@@ -694,14 +694,27 @@ export type ChoiceFieldsFragment = { __typename: 'Choice', displayName: string,
694
694
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
695
695
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
696
696
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
697
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
697
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
698
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
699
+ | { __typename: 'ProgramEnrollmentLink', url: string }
700
+ > }> }
698
701
  | { __typename: 'Prescription' }
699
702
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
700
703
  | null };
701
704
 
702
- export type PharmacyOfferFieldsFragment = { __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> };
705
+ export type PharmacyOfferFieldsFragment = { __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
706
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
707
+ | { __typename: 'ProgramEnrollmentLink', url: string }
708
+ > };
703
709
 
704
- export type RedemptionMethodFieldsFragment = { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null };
710
+ type RedemptionMethodFields_PharmacyDiscountCard_Fragment = { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null };
711
+
712
+ type RedemptionMethodFields_ProgramEnrollmentLink_Fragment = { __typename: 'ProgramEnrollmentLink', url: string };
713
+
714
+ export type RedemptionMethodFieldsFragment =
715
+ | RedemptionMethodFields_PharmacyDiscountCard_Fragment
716
+ | RedemptionMethodFields_ProgramEnrollmentLink_Fragment
717
+ ;
705
718
 
706
719
  export type ChangeFieldsFragment = { __typename: 'Change', key: string, label: string, status: ChangeStatus, severity: ChangeSeverity, reason: string | null, category: ChangeCategory | null, operation: ChangeOperation, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
707
720
  | { __typename: 'Allergy' }
@@ -716,7 +729,10 @@ export type ChangeFieldsFragment = { __typename: 'Change', key: string, label: s
716
729
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
717
730
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
718
731
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
719
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
732
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
733
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
734
+ | { __typename: 'ProgramEnrollmentLink', url: string }
735
+ > }> }
720
736
  | { __typename: 'Prescription' }
721
737
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
722
738
  | null }> | null, before: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -732,7 +748,10 @@ export type ChangeFieldsFragment = { __typename: 'Change', key: string, label: s
732
748
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
733
749
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
734
750
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
735
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
751
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
752
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
753
+ | { __typename: 'ProgramEnrollmentLink', url: string }
754
+ > }> }
736
755
  | { __typename: 'Prescription' }
737
756
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
738
757
  | null } | null, after: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -748,7 +767,10 @@ export type ChangeFieldsFragment = { __typename: 'Change', key: string, label: s
748
767
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
749
768
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
750
769
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
751
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
770
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
771
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
772
+ | { __typename: 'ProgramEnrollmentLink', url: string }
773
+ > }> }
752
774
  | { __typename: 'Prescription' }
753
775
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
754
776
  | null } | null };
@@ -766,7 +788,10 @@ type ChangeSetFields_OrderPayload_Fragment = { __typename: 'OrderPayload', chang
766
788
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
767
789
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
768
790
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
769
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
791
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
792
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
793
+ | { __typename: 'ProgramEnrollmentLink', url: string }
794
+ > }> }
770
795
  | { __typename: 'Prescription' }
771
796
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
772
797
  | null }> | null, before: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -782,7 +807,10 @@ type ChangeSetFields_OrderPayload_Fragment = { __typename: 'OrderPayload', chang
782
807
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
783
808
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
784
809
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
785
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
810
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
811
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
812
+ | { __typename: 'ProgramEnrollmentLink', url: string }
813
+ > }> }
786
814
  | { __typename: 'Prescription' }
787
815
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
788
816
  | null } | null, after: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -798,7 +826,10 @@ type ChangeSetFields_OrderPayload_Fragment = { __typename: 'OrderPayload', chang
798
826
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
799
827
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
800
828
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
801
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
829
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
830
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
831
+ | { __typename: 'ProgramEnrollmentLink', url: string }
832
+ > }> }
802
833
  | { __typename: 'Prescription' }
803
834
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
804
835
  | null } | null }> };
@@ -816,7 +847,10 @@ type ChangeSetFields_PatientPayload_Fragment = { __typename: 'PatientPayload', c
816
847
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
817
848
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
818
849
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
819
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
850
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
851
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
852
+ | { __typename: 'ProgramEnrollmentLink', url: string }
853
+ > }> }
820
854
  | { __typename: 'Prescription' }
821
855
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
822
856
  | null }> | null, before: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -832,7 +866,10 @@ type ChangeSetFields_PatientPayload_Fragment = { __typename: 'PatientPayload', c
832
866
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
833
867
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
834
868
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
835
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
869
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
870
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
871
+ | { __typename: 'ProgramEnrollmentLink', url: string }
872
+ > }> }
836
873
  | { __typename: 'Prescription' }
837
874
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
838
875
  | null } | null, after: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -848,7 +885,10 @@ type ChangeSetFields_PatientPayload_Fragment = { __typename: 'PatientPayload', c
848
885
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
849
886
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
850
887
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
851
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
888
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
889
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
890
+ | { __typename: 'ProgramEnrollmentLink', url: string }
891
+ > }> }
852
892
  | { __typename: 'Prescription' }
853
893
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
854
894
  | null } | null }> };
@@ -866,7 +906,10 @@ type ChangeSetFields_PrescriptionPayload_Fragment = { __typename: 'PrescriptionP
866
906
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
867
907
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
868
908
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
869
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
909
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
910
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
911
+ | { __typename: 'ProgramEnrollmentLink', url: string }
912
+ > }> }
870
913
  | { __typename: 'Prescription' }
871
914
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
872
915
  | null }> | null, before: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -882,7 +925,10 @@ type ChangeSetFields_PrescriptionPayload_Fragment = { __typename: 'PrescriptionP
882
925
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
883
926
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
884
927
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
885
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
928
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
929
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
930
+ | { __typename: 'ProgramEnrollmentLink', url: string }
931
+ > }> }
886
932
  | { __typename: 'Prescription' }
887
933
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
888
934
  | null } | null, after: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -898,7 +944,10 @@ type ChangeSetFields_PrescriptionPayload_Fragment = { __typename: 'PrescriptionP
898
944
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
899
945
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
900
946
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
901
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
947
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
948
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
949
+ | { __typename: 'ProgramEnrollmentLink', url: string }
950
+ > }> }
902
951
  | { __typename: 'Prescription' }
903
952
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
904
953
  | null } | null }> };
@@ -919,7 +968,10 @@ export type PharmacyFieldsFragment = { __typename: 'Pharmacy', id: string, name:
919
968
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
920
969
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
921
970
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
922
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> };
971
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
972
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
973
+ | { __typename: 'ProgramEnrollmentLink', url: string }
974
+ > }> };
923
975
 
924
976
  type PharmacyEventFields_PharmacyCloseEvent_Fragment = { __typename: 'PharmacyCloseEvent', type: string, datetime: string };
925
977
 
@@ -950,7 +1002,10 @@ export type PatientFieldsFragment = { __typename: 'Patient', id: string, demogra
950
1002
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
951
1003
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
952
1004
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
953
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null };
1005
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1006
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1007
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1008
+ > }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null };
954
1009
 
955
1010
  type PatientRecordFields_OperationError_Fragment = { __typename: 'OperationError', type: OperationErrorType, code: string, message: string, requiredPermission: string | null, service: string | null, retryable: boolean };
956
1011
 
@@ -962,7 +1017,10 @@ type PatientRecordFields_Patient_Fragment = { __typename: 'Patient', id: string,
962
1017
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
963
1018
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
964
1019
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
965
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null };
1020
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1021
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1022
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1023
+ > }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null };
966
1024
 
967
1025
  export type PatientRecordFieldsFragment =
968
1026
  | PatientRecordFields_OperationError_Fragment
@@ -982,7 +1040,10 @@ export type ScreeningAlertFieldsFragment = { __typename: 'ScreeningAlert', sever
982
1040
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
983
1041
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
984
1042
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
985
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1043
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1044
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1045
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1046
+ > }> }
986
1047
  | { __typename: 'Prescription' }
987
1048
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
988
1049
  | null }> | null };
@@ -1000,12 +1061,18 @@ export type PrescriptionFieldsFragment = { __typename: 'Prescription', id: strin
1000
1061
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1001
1062
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1002
1063
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1003
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1064
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1065
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1066
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1067
+ > }> }
1004
1068
  | { __typename: 'Prescription' }
1005
1069
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1006
1070
  | null }> | null }> | null, signing: { __typename: 'PrescriptionSigningDetails', state: PrescriptionSigningState, contentHash: string, message: string | null, signedAt: string | null } };
1007
1071
 
1008
- export type OrderFieldsFragment = { __typename: 'Order', id: string, state: OrderState, offers: { __typename: 'OrderOffers', atPharmacy: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> | null }, organization:
1072
+ export type OrderFieldsFragment = { __typename: 'Order', id: string, state: OrderState, offers: { __typename: 'OrderOffers', atPharmacy: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1073
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1074
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1075
+ > }> | null }, organization:
1009
1076
  | { __typename: 'OperationError' }
1010
1077
  | { __typename: 'Organization', id: string, name: string, customer:
1011
1078
  | { __typename: 'Customer', id: string, name: string }
@@ -1021,7 +1088,10 @@ export type OrderFieldsFragment = { __typename: 'Order', id: string, state: Orde
1021
1088
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1022
1089
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1023
1090
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1024
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null }
1091
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1092
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1093
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1094
+ > }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null }
1025
1095
  | null, prescriptions: Array<{ __typename: 'Prescription', id: string, templateId: string | null, instructions: string | null, prescriber: { __typename: 'Prescriber', id: string, name: { __typename: 'HumanName', first: string | null, middle: string | null, last: string | null } } | null, fulfillment: { __typename: 'PrescriptionFulfillment', state: PrescriptionFulfillmentState | null, pharmacyEstimatedReadyAt: string | null, exceptions: Array<{ __typename: 'PrescriptionFulfillmentException', id: string, type: PrescriptionFulfillmentExceptionType, message: string | null, createdAt: string }> } | null, patient: { __typename: 'PatientReference', id: string } | null, treatment: { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null }, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null, clinical: { __typename: 'PrescriptionClinical', notes: string | null, diagnoses: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } | null, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1026
1096
  | { __typename: 'Allergy' }
1027
1097
  | { __typename: 'Diagnosis' }
@@ -1035,7 +1105,10 @@ export type OrderFieldsFragment = { __typename: 'Order', id: string, state: Orde
1035
1105
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1036
1106
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1037
1107
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1038
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1108
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1109
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1110
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1111
+ > }> }
1039
1112
  | { __typename: 'Prescription' }
1040
1113
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1041
1114
  | null }> | null }> | null, signing: { __typename: 'PrescriptionSigningDetails', state: PrescriptionSigningState, contentHash: string, message: string | null, signedAt: string | null } }>, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -1051,7 +1124,10 @@ export type OrderFieldsFragment = { __typename: 'Order', id: string, state: Orde
1051
1124
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1052
1125
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1053
1126
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1054
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1127
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1128
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1129
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1130
+ > }> }
1055
1131
  | { __typename: 'Prescription' }
1056
1132
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1057
1133
  | null }> | null }> | null, pharmacy: { __typename: 'Pharmacy', id: string, name: string, logo: string | null, phone: string | null, isOpen: boolean | null, latitude: number | null, longitude: number | null, fulfillmentType: Array<FulfillmentType> | null, hours: Array<{ __typename: 'PharmacyHours', openFrom: string, openUntil: string, dayOfWeek: DayOfWeek, is24Hr: boolean, timezone: string }> | null, nextEvents: { __typename: 'PharmacyEvents', open:
@@ -1062,7 +1138,10 @@ export type OrderFieldsFragment = { __typename: 'Order', id: string, state: Orde
1062
1138
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1063
1139
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1064
1140
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1065
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, fulfillment: { __typename: 'OrderFulfillment', state: OrderFulfillmentState | null, history: Array<{ __typename: 'OrderRoutingHistoryEntry', selector: OrderRoutingSelector, reason: string | null, createdAt: string, pharmacy: { __typename: 'Pharmacy', id: string, name: string, logo: string | null, phone: string | null, isOpen: boolean | null, latitude: number | null, longitude: number | null, fulfillmentType: Array<FulfillmentType> | null, hours: Array<{ __typename: 'PharmacyHours', openFrom: string, openUntil: string, dayOfWeek: DayOfWeek, is24Hr: boolean, timezone: string }> | null, nextEvents: { __typename: 'PharmacyEvents', open:
1141
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1142
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1143
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1144
+ > }> } | null, fulfillment: { __typename: 'OrderFulfillment', state: OrderFulfillmentState | null, history: Array<{ __typename: 'OrderRoutingHistoryEntry', selector: OrderRoutingSelector, reason: string | null, createdAt: string, pharmacy: { __typename: 'Pharmacy', id: string, name: string, logo: string | null, phone: string | null, isOpen: boolean | null, latitude: number | null, longitude: number | null, fulfillmentType: Array<FulfillmentType> | null, hours: Array<{ __typename: 'PharmacyHours', openFrom: string, openUntil: string, dayOfWeek: DayOfWeek, is24Hr: boolean, timezone: string }> | null, nextEvents: { __typename: 'PharmacyEvents', open:
1066
1145
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1067
1146
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1068
1147
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
@@ -1070,7 +1149,10 @@ export type OrderFieldsFragment = { __typename: 'Order', id: string, state: Orde
1070
1149
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1071
1150
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1072
1151
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1073
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } }>, routability: { __typename: 'OrderRoutability', allowed: boolean, reason: string | null } | null, exceptions: Array<{ __typename: 'OrderException', id: string, type: OrderExceptionType, message: string | null, createdAt: string }> } | null };
1152
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1153
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1154
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1155
+ > }> } }>, routability: { __typename: 'OrderRoutability', allowed: boolean, reason: string | null } | null, exceptions: Array<{ __typename: 'OrderException', id: string, type: OrderExceptionType, message: string | null, createdAt: string }> } | null };
1074
1156
 
1075
1157
  export type PrescriptionTemplateFieldsFragment = { __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null };
1076
1158
 
@@ -1088,7 +1170,10 @@ type PatientResultFields_PatientPayload_Fragment = { __typename: 'PatientPayload
1088
1170
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1089
1171
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1090
1172
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1091
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null }
1173
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1174
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1175
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1176
+ > }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null }
1092
1177
  | null, changes: Array<{ __typename: 'Change', key: string, label: string, status: ChangeStatus, severity: ChangeSeverity, reason: string | null, category: ChangeCategory | null, operation: ChangeOperation, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1093
1178
  | { __typename: 'Allergy' }
1094
1179
  | { __typename: 'Diagnosis' }
@@ -1102,7 +1187,10 @@ type PatientResultFields_PatientPayload_Fragment = { __typename: 'PatientPayload
1102
1187
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1103
1188
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1104
1189
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1105
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1190
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1191
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1192
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1193
+ > }> }
1106
1194
  | { __typename: 'Prescription' }
1107
1195
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1108
1196
  | null }> | null, before: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -1118,7 +1206,10 @@ type PatientResultFields_PatientPayload_Fragment = { __typename: 'PatientPayload
1118
1206
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1119
1207
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1120
1208
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1121
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1209
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1210
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1211
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1212
+ > }> }
1122
1213
  | { __typename: 'Prescription' }
1123
1214
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1124
1215
  | null } | null, after: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -1134,7 +1225,10 @@ type PatientResultFields_PatientPayload_Fragment = { __typename: 'PatientPayload
1134
1225
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1135
1226
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1136
1227
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1137
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1228
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1229
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1230
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1231
+ > }> }
1138
1232
  | { __typename: 'Prescription' }
1139
1233
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1140
1234
  | null } | null }> };
@@ -1162,7 +1256,10 @@ type PrescriptionResultFields_PrescriptionPayload_Fragment = { __typename: 'Pres
1162
1256
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1163
1257
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1164
1258
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1165
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1259
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1260
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1261
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1262
+ > }> }
1166
1263
  | { __typename: 'Prescription' }
1167
1264
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1168
1265
  | null }> | null }> | null, signing: { __typename: 'PrescriptionSigningDetails', state: PrescriptionSigningState, contentHash: string, message: string | null, signedAt: string | null } } | null, changes: Array<{ __typename: 'Change', key: string, label: string, status: ChangeStatus, severity: ChangeSeverity, reason: string | null, category: ChangeCategory | null, operation: ChangeOperation, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -1178,7 +1275,10 @@ type PrescriptionResultFields_PrescriptionPayload_Fragment = { __typename: 'Pres
1178
1275
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1179
1276
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1180
1277
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1181
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1278
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1279
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1280
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1281
+ > }> }
1182
1282
  | { __typename: 'Prescription' }
1183
1283
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1184
1284
  | null }> | null, before: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -1194,7 +1294,10 @@ type PrescriptionResultFields_PrescriptionPayload_Fragment = { __typename: 'Pres
1194
1294
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1195
1295
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1196
1296
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1197
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1297
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1298
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1299
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1300
+ > }> }
1198
1301
  | { __typename: 'Prescription' }
1199
1302
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1200
1303
  | null } | null, after: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -1210,7 +1313,10 @@ type PrescriptionResultFields_PrescriptionPayload_Fragment = { __typename: 'Pres
1210
1313
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1211
1314
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1212
1315
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1213
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1316
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1317
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1318
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1319
+ > }> }
1214
1320
  | { __typename: 'Prescription' }
1215
1321
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1216
1322
  | null } | null }> };
@@ -1229,7 +1335,10 @@ export type OrderCandidateFieldsFragment = { __typename: 'OrderCandidate', id: s
1229
1335
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1230
1336
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1231
1337
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1232
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, prescriptions: Array<{ __typename: 'Prescription', id: string, templateId: string | null, instructions: string | null, prescriber: { __typename: 'Prescriber', id: string, name: { __typename: 'HumanName', first: string | null, middle: string | null, last: string | null } } | null, fulfillment: { __typename: 'PrescriptionFulfillment', state: PrescriptionFulfillmentState | null, pharmacyEstimatedReadyAt: string | null, exceptions: Array<{ __typename: 'PrescriptionFulfillmentException', id: string, type: PrescriptionFulfillmentExceptionType, message: string | null, createdAt: string }> } | null, patient: { __typename: 'PatientReference', id: string } | null, treatment: { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null }, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null, clinical: { __typename: 'PrescriptionClinical', notes: string | null, diagnoses: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } | null, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1338
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1339
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1340
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1341
+ > }> } | null, prescriptions: Array<{ __typename: 'Prescription', id: string, templateId: string | null, instructions: string | null, prescriber: { __typename: 'Prescriber', id: string, name: { __typename: 'HumanName', first: string | null, middle: string | null, last: string | null } } | null, fulfillment: { __typename: 'PrescriptionFulfillment', state: PrescriptionFulfillmentState | null, pharmacyEstimatedReadyAt: string | null, exceptions: Array<{ __typename: 'PrescriptionFulfillmentException', id: string, type: PrescriptionFulfillmentExceptionType, message: string | null, createdAt: string }> } | null, patient: { __typename: 'PatientReference', id: string } | null, treatment: { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null }, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null, clinical: { __typename: 'PrescriptionClinical', notes: string | null, diagnoses: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } | null, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1233
1342
  | { __typename: 'Allergy' }
1234
1343
  | { __typename: 'Diagnosis' }
1235
1344
  | { __typename: 'MedicationCandidate' }
@@ -1242,7 +1351,10 @@ export type OrderCandidateFieldsFragment = { __typename: 'OrderCandidate', id: s
1242
1351
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1243
1352
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1244
1353
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1245
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1354
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1355
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1356
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1357
+ > }> }
1246
1358
  | { __typename: 'Prescription' }
1247
1359
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1248
1360
  | null }> | null }> | null, signing: { __typename: 'PrescriptionSigningDetails', state: PrescriptionSigningState, contentHash: string, message: string | null, signedAt: string | null } }> };
@@ -1255,7 +1367,10 @@ type OrderResultFields_AmbiguousOrderMatch_Fragment = { __typename: 'AmbiguousOr
1255
1367
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1256
1368
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1257
1369
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1258
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, prescriptions: Array<{ __typename: 'Prescription', id: string, templateId: string | null, instructions: string | null, prescriber: { __typename: 'Prescriber', id: string, name: { __typename: 'HumanName', first: string | null, middle: string | null, last: string | null } } | null, fulfillment: { __typename: 'PrescriptionFulfillment', state: PrescriptionFulfillmentState | null, pharmacyEstimatedReadyAt: string | null, exceptions: Array<{ __typename: 'PrescriptionFulfillmentException', id: string, type: PrescriptionFulfillmentExceptionType, message: string | null, createdAt: string }> } | null, patient: { __typename: 'PatientReference', id: string } | null, treatment: { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null }, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null, clinical: { __typename: 'PrescriptionClinical', notes: string | null, diagnoses: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } | null, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1370
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1371
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1372
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1373
+ > }> } | null, prescriptions: Array<{ __typename: 'Prescription', id: string, templateId: string | null, instructions: string | null, prescriber: { __typename: 'Prescriber', id: string, name: { __typename: 'HumanName', first: string | null, middle: string | null, last: string | null } } | null, fulfillment: { __typename: 'PrescriptionFulfillment', state: PrescriptionFulfillmentState | null, pharmacyEstimatedReadyAt: string | null, exceptions: Array<{ __typename: 'PrescriptionFulfillmentException', id: string, type: PrescriptionFulfillmentExceptionType, message: string | null, createdAt: string }> } | null, patient: { __typename: 'PatientReference', id: string } | null, treatment: { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null }, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null, clinical: { __typename: 'PrescriptionClinical', notes: string | null, diagnoses: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } | null, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1259
1374
  | { __typename: 'Allergy' }
1260
1375
  | { __typename: 'Diagnosis' }
1261
1376
  | { __typename: 'MedicationCandidate' }
@@ -1268,14 +1383,20 @@ type OrderResultFields_AmbiguousOrderMatch_Fragment = { __typename: 'AmbiguousOr
1268
1383
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1269
1384
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1270
1385
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1271
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1386
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1387
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1388
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1389
+ > }> }
1272
1390
  | { __typename: 'Prescription' }
1273
1391
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1274
1392
  | null }> | null }> | null, signing: { __typename: 'PrescriptionSigningDetails', state: PrescriptionSigningState, contentHash: string, message: string | null, signedAt: string | null } }> }> };
1275
1393
 
1276
1394
  type OrderResultFields_OperationError_Fragment = { __typename: 'OperationError', type: OperationErrorType, code: string, message: string, requiredPermission: string | null, service: string | null, retryable: boolean };
1277
1395
 
1278
- type OrderResultFields_OrderPayload_Fragment = { __typename: 'OrderPayload', order: { __typename: 'Order', id: string, state: OrderState, offers: { __typename: 'OrderOffers', atPharmacy: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> | null }, organization:
1396
+ type OrderResultFields_OrderPayload_Fragment = { __typename: 'OrderPayload', order: { __typename: 'Order', id: string, state: OrderState, offers: { __typename: 'OrderOffers', atPharmacy: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1397
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1398
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1399
+ > }> | null }, organization:
1279
1400
  | { __typename: 'OperationError' }
1280
1401
  | { __typename: 'Organization', id: string, name: string, customer:
1281
1402
  | { __typename: 'Customer', id: string, name: string }
@@ -1291,7 +1412,10 @@ type OrderResultFields_OrderPayload_Fragment = { __typename: 'OrderPayload', ord
1291
1412
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1292
1413
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1293
1414
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1294
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null }
1415
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1416
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1417
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1418
+ > }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null }
1295
1419
  | null, prescriptions: Array<{ __typename: 'Prescription', id: string, templateId: string | null, instructions: string | null, prescriber: { __typename: 'Prescriber', id: string, name: { __typename: 'HumanName', first: string | null, middle: string | null, last: string | null } } | null, fulfillment: { __typename: 'PrescriptionFulfillment', state: PrescriptionFulfillmentState | null, pharmacyEstimatedReadyAt: string | null, exceptions: Array<{ __typename: 'PrescriptionFulfillmentException', id: string, type: PrescriptionFulfillmentExceptionType, message: string | null, createdAt: string }> } | null, patient: { __typename: 'PatientReference', id: string } | null, treatment: { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null }, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null, clinical: { __typename: 'PrescriptionClinical', notes: string | null, diagnoses: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } | null, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1296
1420
  | { __typename: 'Allergy' }
1297
1421
  | { __typename: 'Diagnosis' }
@@ -1305,7 +1429,10 @@ type OrderResultFields_OrderPayload_Fragment = { __typename: 'OrderPayload', ord
1305
1429
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1306
1430
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1307
1431
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1308
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1432
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1433
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1434
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1435
+ > }> }
1309
1436
  | { __typename: 'Prescription' }
1310
1437
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1311
1438
  | null }> | null }> | null, signing: { __typename: 'PrescriptionSigningDetails', state: PrescriptionSigningState, contentHash: string, message: string | null, signedAt: string | null } }>, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -1321,7 +1448,10 @@ type OrderResultFields_OrderPayload_Fragment = { __typename: 'OrderPayload', ord
1321
1448
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1322
1449
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1323
1450
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1324
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1451
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1452
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1453
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1454
+ > }> }
1325
1455
  | { __typename: 'Prescription' }
1326
1456
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1327
1457
  | null }> | null }> | null, pharmacy: { __typename: 'Pharmacy', id: string, name: string, logo: string | null, phone: string | null, isOpen: boolean | null, latitude: number | null, longitude: number | null, fulfillmentType: Array<FulfillmentType> | null, hours: Array<{ __typename: 'PharmacyHours', openFrom: string, openUntil: string, dayOfWeek: DayOfWeek, is24Hr: boolean, timezone: string }> | null, nextEvents: { __typename: 'PharmacyEvents', open:
@@ -1332,7 +1462,10 @@ type OrderResultFields_OrderPayload_Fragment = { __typename: 'OrderPayload', ord
1332
1462
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1333
1463
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1334
1464
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1335
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, fulfillment: { __typename: 'OrderFulfillment', state: OrderFulfillmentState | null, history: Array<{ __typename: 'OrderRoutingHistoryEntry', selector: OrderRoutingSelector, reason: string | null, createdAt: string, pharmacy: { __typename: 'Pharmacy', id: string, name: string, logo: string | null, phone: string | null, isOpen: boolean | null, latitude: number | null, longitude: number | null, fulfillmentType: Array<FulfillmentType> | null, hours: Array<{ __typename: 'PharmacyHours', openFrom: string, openUntil: string, dayOfWeek: DayOfWeek, is24Hr: boolean, timezone: string }> | null, nextEvents: { __typename: 'PharmacyEvents', open:
1465
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1466
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1467
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1468
+ > }> } | null, fulfillment: { __typename: 'OrderFulfillment', state: OrderFulfillmentState | null, history: Array<{ __typename: 'OrderRoutingHistoryEntry', selector: OrderRoutingSelector, reason: string | null, createdAt: string, pharmacy: { __typename: 'Pharmacy', id: string, name: string, logo: string | null, phone: string | null, isOpen: boolean | null, latitude: number | null, longitude: number | null, fulfillmentType: Array<FulfillmentType> | null, hours: Array<{ __typename: 'PharmacyHours', openFrom: string, openUntil: string, dayOfWeek: DayOfWeek, is24Hr: boolean, timezone: string }> | null, nextEvents: { __typename: 'PharmacyEvents', open:
1336
1469
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1337
1470
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1338
1471
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
@@ -1340,7 +1473,10 @@ type OrderResultFields_OrderPayload_Fragment = { __typename: 'OrderPayload', ord
1340
1473
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1341
1474
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1342
1475
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1343
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } }>, routability: { __typename: 'OrderRoutability', allowed: boolean, reason: string | null } | null, exceptions: Array<{ __typename: 'OrderException', id: string, type: OrderExceptionType, message: string | null, createdAt: string }> } | null } | null, changes: Array<{ __typename: 'Change', key: string, label: string, status: ChangeStatus, severity: ChangeSeverity, reason: string | null, category: ChangeCategory | null, operation: ChangeOperation, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1476
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1477
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1478
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1479
+ > }> } }>, routability: { __typename: 'OrderRoutability', allowed: boolean, reason: string | null } | null, exceptions: Array<{ __typename: 'OrderException', id: string, type: OrderExceptionType, message: string | null, createdAt: string }> } | null } | null, changes: Array<{ __typename: 'Change', key: string, label: string, status: ChangeStatus, severity: ChangeSeverity, reason: string | null, category: ChangeCategory | null, operation: ChangeOperation, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1344
1480
  | { __typename: 'Allergy' }
1345
1481
  | { __typename: 'Diagnosis' }
1346
1482
  | { __typename: 'MedicationCandidate' }
@@ -1353,7 +1489,10 @@ type OrderResultFields_OrderPayload_Fragment = { __typename: 'OrderPayload', ord
1353
1489
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1354
1490
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1355
1491
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1356
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1492
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1493
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1494
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1495
+ > }> }
1357
1496
  | { __typename: 'Prescription' }
1358
1497
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1359
1498
  | null }> | null, before: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -1369,7 +1508,10 @@ type OrderResultFields_OrderPayload_Fragment = { __typename: 'OrderPayload', ord
1369
1508
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1370
1509
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1371
1510
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1372
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1511
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1512
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1513
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1514
+ > }> }
1373
1515
  | { __typename: 'Prescription' }
1374
1516
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1375
1517
  | null } | null, after: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -1385,7 +1527,10 @@ type OrderResultFields_OrderPayload_Fragment = { __typename: 'OrderPayload', ord
1385
1527
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1386
1528
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1387
1529
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1388
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1530
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1531
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1532
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1533
+ > }> }
1389
1534
  | { __typename: 'Prescription' }
1390
1535
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1391
1536
  | null } | null }> };
@@ -1432,7 +1577,10 @@ export type GetOrderMutation = { __typename: 'Mutation', order:
1432
1577
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1433
1578
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1434
1579
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1435
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, prescriptions: Array<{ __typename: 'Prescription', id: string, templateId: string | null, instructions: string | null, prescriber: { __typename: 'Prescriber', id: string, name: { __typename: 'HumanName', first: string | null, middle: string | null, last: string | null } } | null, fulfillment: { __typename: 'PrescriptionFulfillment', state: PrescriptionFulfillmentState | null, pharmacyEstimatedReadyAt: string | null, exceptions: Array<{ __typename: 'PrescriptionFulfillmentException', id: string, type: PrescriptionFulfillmentExceptionType, message: string | null, createdAt: string }> } | null, patient: { __typename: 'PatientReference', id: string } | null, treatment: { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null }, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null, clinical: { __typename: 'PrescriptionClinical', notes: string | null, diagnoses: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } | null, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1580
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1581
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1582
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1583
+ > }> } | null, prescriptions: Array<{ __typename: 'Prescription', id: string, templateId: string | null, instructions: string | null, prescriber: { __typename: 'Prescriber', id: string, name: { __typename: 'HumanName', first: string | null, middle: string | null, last: string | null } } | null, fulfillment: { __typename: 'PrescriptionFulfillment', state: PrescriptionFulfillmentState | null, pharmacyEstimatedReadyAt: string | null, exceptions: Array<{ __typename: 'PrescriptionFulfillmentException', id: string, type: PrescriptionFulfillmentExceptionType, message: string | null, createdAt: string }> } | null, patient: { __typename: 'PatientReference', id: string } | null, treatment: { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null }, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null, clinical: { __typename: 'PrescriptionClinical', notes: string | null, diagnoses: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } | null, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1436
1584
  | { __typename: 'Allergy' }
1437
1585
  | { __typename: 'Diagnosis' }
1438
1586
  | { __typename: 'MedicationCandidate' }
@@ -1445,12 +1593,18 @@ export type GetOrderMutation = { __typename: 'Mutation', order:
1445
1593
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1446
1594
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1447
1595
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1448
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1596
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1597
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1598
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1599
+ > }> }
1449
1600
  | { __typename: 'Prescription' }
1450
1601
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1451
1602
  | null }> | null }> | null, signing: { __typename: 'PrescriptionSigningDetails', state: PrescriptionSigningState, contentHash: string, message: string | null, signedAt: string | null } }> }> }
1452
1603
  | { __typename: 'OperationError', type: OperationErrorType, code: string, message: string, requiredPermission: string | null, service: string | null, retryable: boolean }
1453
- | { __typename: 'OrderPayload', order: { __typename: 'Order', id: string, state: OrderState, offers: { __typename: 'OrderOffers', atPharmacy: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> | null }, organization:
1604
+ | { __typename: 'OrderPayload', order: { __typename: 'Order', id: string, state: OrderState, offers: { __typename: 'OrderOffers', atPharmacy: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1605
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1606
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1607
+ > }> | null }, organization:
1454
1608
  | { __typename: 'OperationError' }
1455
1609
  | { __typename: 'Organization', id: string, name: string, customer:
1456
1610
  | { __typename: 'Customer', id: string, name: string }
@@ -1466,7 +1620,10 @@ export type GetOrderMutation = { __typename: 'Mutation', order:
1466
1620
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1467
1621
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1468
1622
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1469
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null }
1623
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1624
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1625
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1626
+ > }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null }
1470
1627
  | null, prescriptions: Array<{ __typename: 'Prescription', id: string, templateId: string | null, instructions: string | null, prescriber: { __typename: 'Prescriber', id: string, name: { __typename: 'HumanName', first: string | null, middle: string | null, last: string | null } } | null, fulfillment: { __typename: 'PrescriptionFulfillment', state: PrescriptionFulfillmentState | null, pharmacyEstimatedReadyAt: string | null, exceptions: Array<{ __typename: 'PrescriptionFulfillmentException', id: string, type: PrescriptionFulfillmentExceptionType, message: string | null, createdAt: string }> } | null, patient: { __typename: 'PatientReference', id: string } | null, treatment: { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null }, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null, clinical: { __typename: 'PrescriptionClinical', notes: string | null, diagnoses: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } | null, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1471
1628
  | { __typename: 'Allergy' }
1472
1629
  | { __typename: 'Diagnosis' }
@@ -1480,7 +1637,10 @@ export type GetOrderMutation = { __typename: 'Mutation', order:
1480
1637
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1481
1638
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1482
1639
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1483
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1640
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1641
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1642
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1643
+ > }> }
1484
1644
  | { __typename: 'Prescription' }
1485
1645
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1486
1646
  | null }> | null }> | null, signing: { __typename: 'PrescriptionSigningDetails', state: PrescriptionSigningState, contentHash: string, message: string | null, signedAt: string | null } }>, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -1496,7 +1656,10 @@ export type GetOrderMutation = { __typename: 'Mutation', order:
1496
1656
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1497
1657
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1498
1658
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1499
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1659
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1660
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1661
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1662
+ > }> }
1500
1663
  | { __typename: 'Prescription' }
1501
1664
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1502
1665
  | null }> | null }> | null, pharmacy: { __typename: 'Pharmacy', id: string, name: string, logo: string | null, phone: string | null, isOpen: boolean | null, latitude: number | null, longitude: number | null, fulfillmentType: Array<FulfillmentType> | null, hours: Array<{ __typename: 'PharmacyHours', openFrom: string, openUntil: string, dayOfWeek: DayOfWeek, is24Hr: boolean, timezone: string }> | null, nextEvents: { __typename: 'PharmacyEvents', open:
@@ -1507,7 +1670,10 @@ export type GetOrderMutation = { __typename: 'Mutation', order:
1507
1670
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1508
1671
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1509
1672
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1510
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, fulfillment: { __typename: 'OrderFulfillment', state: OrderFulfillmentState | null, history: Array<{ __typename: 'OrderRoutingHistoryEntry', selector: OrderRoutingSelector, reason: string | null, createdAt: string, pharmacy: { __typename: 'Pharmacy', id: string, name: string, logo: string | null, phone: string | null, isOpen: boolean | null, latitude: number | null, longitude: number | null, fulfillmentType: Array<FulfillmentType> | null, hours: Array<{ __typename: 'PharmacyHours', openFrom: string, openUntil: string, dayOfWeek: DayOfWeek, is24Hr: boolean, timezone: string }> | null, nextEvents: { __typename: 'PharmacyEvents', open:
1673
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1674
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1675
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1676
+ > }> } | null, fulfillment: { __typename: 'OrderFulfillment', state: OrderFulfillmentState | null, history: Array<{ __typename: 'OrderRoutingHistoryEntry', selector: OrderRoutingSelector, reason: string | null, createdAt: string, pharmacy: { __typename: 'Pharmacy', id: string, name: string, logo: string | null, phone: string | null, isOpen: boolean | null, latitude: number | null, longitude: number | null, fulfillmentType: Array<FulfillmentType> | null, hours: Array<{ __typename: 'PharmacyHours', openFrom: string, openUntil: string, dayOfWeek: DayOfWeek, is24Hr: boolean, timezone: string }> | null, nextEvents: { __typename: 'PharmacyEvents', open:
1511
1677
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1512
1678
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1513
1679
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
@@ -1515,7 +1681,10 @@ export type GetOrderMutation = { __typename: 'Mutation', order:
1515
1681
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1516
1682
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1517
1683
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1518
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } }>, routability: { __typename: 'OrderRoutability', allowed: boolean, reason: string | null } | null, exceptions: Array<{ __typename: 'OrderException', id: string, type: OrderExceptionType, message: string | null, createdAt: string }> } | null } | null, changes: Array<{ __typename: 'Change', key: string, label: string, status: ChangeStatus, severity: ChangeSeverity, reason: string | null, category: ChangeCategory | null, operation: ChangeOperation, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1684
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1685
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1686
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1687
+ > }> } }>, routability: { __typename: 'OrderRoutability', allowed: boolean, reason: string | null } | null, exceptions: Array<{ __typename: 'OrderException', id: string, type: OrderExceptionType, message: string | null, createdAt: string }> } | null } | null, changes: Array<{ __typename: 'Change', key: string, label: string, status: ChangeStatus, severity: ChangeSeverity, reason: string | null, category: ChangeCategory | null, operation: ChangeOperation, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1519
1688
  | { __typename: 'Allergy' }
1520
1689
  | { __typename: 'Diagnosis' }
1521
1690
  | { __typename: 'MedicationCandidate' }
@@ -1528,7 +1697,10 @@ export type GetOrderMutation = { __typename: 'Mutation', order:
1528
1697
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1529
1698
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1530
1699
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1531
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1700
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1701
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1702
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1703
+ > }> }
1532
1704
  | { __typename: 'Prescription' }
1533
1705
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1534
1706
  | null }> | null, before: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -1544,7 +1716,10 @@ export type GetOrderMutation = { __typename: 'Mutation', order:
1544
1716
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1545
1717
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1546
1718
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1547
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1719
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1720
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1721
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1722
+ > }> }
1548
1723
  | { __typename: 'Prescription' }
1549
1724
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1550
1725
  | null } | null, after: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -1560,7 +1735,10 @@ export type GetOrderMutation = { __typename: 'Mutation', order:
1560
1735
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1561
1736
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1562
1737
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1563
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1738
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1739
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1740
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1741
+ > }> }
1564
1742
  | { __typename: 'Prescription' }
1565
1743
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1566
1744
  | null } | null }> }
@@ -1584,7 +1762,10 @@ export type SyncOrderMutation = { __typename: 'Mutation', order:
1584
1762
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1585
1763
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1586
1764
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1587
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, prescriptions: Array<{ __typename: 'Prescription', id: string, templateId: string | null, instructions: string | null, prescriber: { __typename: 'Prescriber', id: string, name: { __typename: 'HumanName', first: string | null, middle: string | null, last: string | null } } | null, fulfillment: { __typename: 'PrescriptionFulfillment', state: PrescriptionFulfillmentState | null, pharmacyEstimatedReadyAt: string | null, exceptions: Array<{ __typename: 'PrescriptionFulfillmentException', id: string, type: PrescriptionFulfillmentExceptionType, message: string | null, createdAt: string }> } | null, patient: { __typename: 'PatientReference', id: string } | null, treatment: { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null }, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null, clinical: { __typename: 'PrescriptionClinical', notes: string | null, diagnoses: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } | null, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1765
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1766
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1767
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1768
+ > }> } | null, prescriptions: Array<{ __typename: 'Prescription', id: string, templateId: string | null, instructions: string | null, prescriber: { __typename: 'Prescriber', id: string, name: { __typename: 'HumanName', first: string | null, middle: string | null, last: string | null } } | null, fulfillment: { __typename: 'PrescriptionFulfillment', state: PrescriptionFulfillmentState | null, pharmacyEstimatedReadyAt: string | null, exceptions: Array<{ __typename: 'PrescriptionFulfillmentException', id: string, type: PrescriptionFulfillmentExceptionType, message: string | null, createdAt: string }> } | null, patient: { __typename: 'PatientReference', id: string } | null, treatment: { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null }, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null, clinical: { __typename: 'PrescriptionClinical', notes: string | null, diagnoses: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } | null, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1588
1769
  | { __typename: 'Allergy' }
1589
1770
  | { __typename: 'Diagnosis' }
1590
1771
  | { __typename: 'MedicationCandidate' }
@@ -1597,12 +1778,18 @@ export type SyncOrderMutation = { __typename: 'Mutation', order:
1597
1778
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1598
1779
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1599
1780
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1600
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1781
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1782
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1783
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1784
+ > }> }
1601
1785
  | { __typename: 'Prescription' }
1602
1786
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1603
1787
  | null }> | null }> | null, signing: { __typename: 'PrescriptionSigningDetails', state: PrescriptionSigningState, contentHash: string, message: string | null, signedAt: string | null } }> }> }
1604
1788
  | { __typename: 'OperationError', type: OperationErrorType, code: string, message: string, requiredPermission: string | null, service: string | null, retryable: boolean }
1605
- | { __typename: 'OrderPayload', order: { __typename: 'Order', id: string, state: OrderState, offers: { __typename: 'OrderOffers', atPharmacy: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> | null }, organization:
1789
+ | { __typename: 'OrderPayload', order: { __typename: 'Order', id: string, state: OrderState, offers: { __typename: 'OrderOffers', atPharmacy: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1790
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1791
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1792
+ > }> | null }, organization:
1606
1793
  | { __typename: 'OperationError' }
1607
1794
  | { __typename: 'Organization', id: string, name: string, customer:
1608
1795
  | { __typename: 'Customer', id: string, name: string }
@@ -1618,7 +1805,10 @@ export type SyncOrderMutation = { __typename: 'Mutation', order:
1618
1805
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1619
1806
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1620
1807
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1621
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null }
1808
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1809
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1810
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1811
+ > }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null }
1622
1812
  | null, prescriptions: Array<{ __typename: 'Prescription', id: string, templateId: string | null, instructions: string | null, prescriber: { __typename: 'Prescriber', id: string, name: { __typename: 'HumanName', first: string | null, middle: string | null, last: string | null } } | null, fulfillment: { __typename: 'PrescriptionFulfillment', state: PrescriptionFulfillmentState | null, pharmacyEstimatedReadyAt: string | null, exceptions: Array<{ __typename: 'PrescriptionFulfillmentException', id: string, type: PrescriptionFulfillmentExceptionType, message: string | null, createdAt: string }> } | null, patient: { __typename: 'PatientReference', id: string } | null, treatment: { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null }, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null, clinical: { __typename: 'PrescriptionClinical', notes: string | null, diagnoses: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } | null, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1623
1813
  | { __typename: 'Allergy' }
1624
1814
  | { __typename: 'Diagnosis' }
@@ -1632,7 +1822,10 @@ export type SyncOrderMutation = { __typename: 'Mutation', order:
1632
1822
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1633
1823
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1634
1824
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1635
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1825
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1826
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1827
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1828
+ > }> }
1636
1829
  | { __typename: 'Prescription' }
1637
1830
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1638
1831
  | null }> | null }> | null, signing: { __typename: 'PrescriptionSigningDetails', state: PrescriptionSigningState, contentHash: string, message: string | null, signedAt: string | null } }>, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -1648,7 +1841,10 @@ export type SyncOrderMutation = { __typename: 'Mutation', order:
1648
1841
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1649
1842
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1650
1843
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1651
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1844
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1845
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1846
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1847
+ > }> }
1652
1848
  | { __typename: 'Prescription' }
1653
1849
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1654
1850
  | null }> | null }> | null, pharmacy: { __typename: 'Pharmacy', id: string, name: string, logo: string | null, phone: string | null, isOpen: boolean | null, latitude: number | null, longitude: number | null, fulfillmentType: Array<FulfillmentType> | null, hours: Array<{ __typename: 'PharmacyHours', openFrom: string, openUntil: string, dayOfWeek: DayOfWeek, is24Hr: boolean, timezone: string }> | null, nextEvents: { __typename: 'PharmacyEvents', open:
@@ -1659,7 +1855,10 @@ export type SyncOrderMutation = { __typename: 'Mutation', order:
1659
1855
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1660
1856
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1661
1857
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1662
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, fulfillment: { __typename: 'OrderFulfillment', state: OrderFulfillmentState | null, history: Array<{ __typename: 'OrderRoutingHistoryEntry', selector: OrderRoutingSelector, reason: string | null, createdAt: string, pharmacy: { __typename: 'Pharmacy', id: string, name: string, logo: string | null, phone: string | null, isOpen: boolean | null, latitude: number | null, longitude: number | null, fulfillmentType: Array<FulfillmentType> | null, hours: Array<{ __typename: 'PharmacyHours', openFrom: string, openUntil: string, dayOfWeek: DayOfWeek, is24Hr: boolean, timezone: string }> | null, nextEvents: { __typename: 'PharmacyEvents', open:
1858
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1859
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1860
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1861
+ > }> } | null, fulfillment: { __typename: 'OrderFulfillment', state: OrderFulfillmentState | null, history: Array<{ __typename: 'OrderRoutingHistoryEntry', selector: OrderRoutingSelector, reason: string | null, createdAt: string, pharmacy: { __typename: 'Pharmacy', id: string, name: string, logo: string | null, phone: string | null, isOpen: boolean | null, latitude: number | null, longitude: number | null, fulfillmentType: Array<FulfillmentType> | null, hours: Array<{ __typename: 'PharmacyHours', openFrom: string, openUntil: string, dayOfWeek: DayOfWeek, is24Hr: boolean, timezone: string }> | null, nextEvents: { __typename: 'PharmacyEvents', open:
1663
1862
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1664
1863
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1665
1864
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
@@ -1667,7 +1866,10 @@ export type SyncOrderMutation = { __typename: 'Mutation', order:
1667
1866
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1668
1867
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1669
1868
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1670
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } }>, routability: { __typename: 'OrderRoutability', allowed: boolean, reason: string | null } | null, exceptions: Array<{ __typename: 'OrderException', id: string, type: OrderExceptionType, message: string | null, createdAt: string }> } | null } | null, changes: Array<{ __typename: 'Change', key: string, label: string, status: ChangeStatus, severity: ChangeSeverity, reason: string | null, category: ChangeCategory | null, operation: ChangeOperation, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1869
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1870
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1871
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1872
+ > }> } }>, routability: { __typename: 'OrderRoutability', allowed: boolean, reason: string | null } | null, exceptions: Array<{ __typename: 'OrderException', id: string, type: OrderExceptionType, message: string | null, createdAt: string }> } | null } | null, changes: Array<{ __typename: 'Change', key: string, label: string, status: ChangeStatus, severity: ChangeSeverity, reason: string | null, category: ChangeCategory | null, operation: ChangeOperation, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1671
1873
  | { __typename: 'Allergy' }
1672
1874
  | { __typename: 'Diagnosis' }
1673
1875
  | { __typename: 'MedicationCandidate' }
@@ -1680,7 +1882,10 @@ export type SyncOrderMutation = { __typename: 'Mutation', order:
1680
1882
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1681
1883
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1682
1884
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1683
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1885
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1886
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1887
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1888
+ > }> }
1684
1889
  | { __typename: 'Prescription' }
1685
1890
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1686
1891
  | null }> | null, before: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -1696,7 +1901,10 @@ export type SyncOrderMutation = { __typename: 'Mutation', order:
1696
1901
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1697
1902
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1698
1903
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1699
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1904
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1905
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1906
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1907
+ > }> }
1700
1908
  | { __typename: 'Prescription' }
1701
1909
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1702
1910
  | null } | null, after: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -1712,7 +1920,10 @@ export type SyncOrderMutation = { __typename: 'Mutation', order:
1712
1920
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1713
1921
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1714
1922
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1715
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1923
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1924
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1925
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1926
+ > }> }
1716
1927
  | { __typename: 'Prescription' }
1717
1928
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1718
1929
  | null } | null }> }
@@ -1736,7 +1947,10 @@ export type UpdateOrderMutation = { __typename: 'Mutation', order:
1736
1947
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1737
1948
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1738
1949
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1739
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, prescriptions: Array<{ __typename: 'Prescription', id: string, templateId: string | null, instructions: string | null, prescriber: { __typename: 'Prescriber', id: string, name: { __typename: 'HumanName', first: string | null, middle: string | null, last: string | null } } | null, fulfillment: { __typename: 'PrescriptionFulfillment', state: PrescriptionFulfillmentState | null, pharmacyEstimatedReadyAt: string | null, exceptions: Array<{ __typename: 'PrescriptionFulfillmentException', id: string, type: PrescriptionFulfillmentExceptionType, message: string | null, createdAt: string }> } | null, patient: { __typename: 'PatientReference', id: string } | null, treatment: { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null }, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null, clinical: { __typename: 'PrescriptionClinical', notes: string | null, diagnoses: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } | null, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1950
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1951
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1952
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1953
+ > }> } | null, prescriptions: Array<{ __typename: 'Prescription', id: string, templateId: string | null, instructions: string | null, prescriber: { __typename: 'Prescriber', id: string, name: { __typename: 'HumanName', first: string | null, middle: string | null, last: string | null } } | null, fulfillment: { __typename: 'PrescriptionFulfillment', state: PrescriptionFulfillmentState | null, pharmacyEstimatedReadyAt: string | null, exceptions: Array<{ __typename: 'PrescriptionFulfillmentException', id: string, type: PrescriptionFulfillmentExceptionType, message: string | null, createdAt: string }> } | null, patient: { __typename: 'PatientReference', id: string } | null, treatment: { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null }, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null, clinical: { __typename: 'PrescriptionClinical', notes: string | null, diagnoses: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } | null, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1740
1954
  | { __typename: 'Allergy' }
1741
1955
  | { __typename: 'Diagnosis' }
1742
1956
  | { __typename: 'MedicationCandidate' }
@@ -1749,12 +1963,18 @@ export type UpdateOrderMutation = { __typename: 'Mutation', order:
1749
1963
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1750
1964
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1751
1965
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1752
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
1966
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1967
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1968
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1969
+ > }> }
1753
1970
  | { __typename: 'Prescription' }
1754
1971
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1755
1972
  | null }> | null }> | null, signing: { __typename: 'PrescriptionSigningDetails', state: PrescriptionSigningState, contentHash: string, message: string | null, signedAt: string | null } }> }> }
1756
1973
  | { __typename: 'OperationError', type: OperationErrorType, code: string, message: string, requiredPermission: string | null, service: string | null, retryable: boolean }
1757
- | { __typename: 'OrderPayload', order: { __typename: 'Order', id: string, state: OrderState, offers: { __typename: 'OrderOffers', atPharmacy: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> | null }, organization:
1974
+ | { __typename: 'OrderPayload', order: { __typename: 'Order', id: string, state: OrderState, offers: { __typename: 'OrderOffers', atPharmacy: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1975
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1976
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1977
+ > }> | null }, organization:
1758
1978
  | { __typename: 'OperationError' }
1759
1979
  | { __typename: 'Organization', id: string, name: string, customer:
1760
1980
  | { __typename: 'Customer', id: string, name: string }
@@ -1770,7 +1990,10 @@ export type UpdateOrderMutation = { __typename: 'Mutation', order:
1770
1990
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1771
1991
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1772
1992
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1773
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null }
1993
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
1994
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
1995
+ | { __typename: 'ProgramEnrollmentLink', url: string }
1996
+ > }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null }
1774
1997
  | null, prescriptions: Array<{ __typename: 'Prescription', id: string, templateId: string | null, instructions: string | null, prescriber: { __typename: 'Prescriber', id: string, name: { __typename: 'HumanName', first: string | null, middle: string | null, last: string | null } } | null, fulfillment: { __typename: 'PrescriptionFulfillment', state: PrescriptionFulfillmentState | null, pharmacyEstimatedReadyAt: string | null, exceptions: Array<{ __typename: 'PrescriptionFulfillmentException', id: string, type: PrescriptionFulfillmentExceptionType, message: string | null, createdAt: string }> } | null, patient: { __typename: 'PatientReference', id: string } | null, treatment: { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null }, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null, clinical: { __typename: 'PrescriptionClinical', notes: string | null, diagnoses: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } | null, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1775
1998
  | { __typename: 'Allergy' }
1776
1999
  | { __typename: 'Diagnosis' }
@@ -1784,7 +2007,10 @@ export type UpdateOrderMutation = { __typename: 'Mutation', order:
1784
2007
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1785
2008
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1786
2009
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1787
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2010
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2011
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2012
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2013
+ > }> }
1788
2014
  | { __typename: 'Prescription' }
1789
2015
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1790
2016
  | null }> | null }> | null, signing: { __typename: 'PrescriptionSigningDetails', state: PrescriptionSigningState, contentHash: string, message: string | null, signedAt: string | null } }>, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -1800,7 +2026,10 @@ export type UpdateOrderMutation = { __typename: 'Mutation', order:
1800
2026
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1801
2027
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1802
2028
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1803
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2029
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2030
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2031
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2032
+ > }> }
1804
2033
  | { __typename: 'Prescription' }
1805
2034
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1806
2035
  | null }> | null }> | null, pharmacy: { __typename: 'Pharmacy', id: string, name: string, logo: string | null, phone: string | null, isOpen: boolean | null, latitude: number | null, longitude: number | null, fulfillmentType: Array<FulfillmentType> | null, hours: Array<{ __typename: 'PharmacyHours', openFrom: string, openUntil: string, dayOfWeek: DayOfWeek, is24Hr: boolean, timezone: string }> | null, nextEvents: { __typename: 'PharmacyEvents', open:
@@ -1811,7 +2040,10 @@ export type UpdateOrderMutation = { __typename: 'Mutation', order:
1811
2040
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1812
2041
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1813
2042
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1814
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, fulfillment: { __typename: 'OrderFulfillment', state: OrderFulfillmentState | null, history: Array<{ __typename: 'OrderRoutingHistoryEntry', selector: OrderRoutingSelector, reason: string | null, createdAt: string, pharmacy: { __typename: 'Pharmacy', id: string, name: string, logo: string | null, phone: string | null, isOpen: boolean | null, latitude: number | null, longitude: number | null, fulfillmentType: Array<FulfillmentType> | null, hours: Array<{ __typename: 'PharmacyHours', openFrom: string, openUntil: string, dayOfWeek: DayOfWeek, is24Hr: boolean, timezone: string }> | null, nextEvents: { __typename: 'PharmacyEvents', open:
2043
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2044
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2045
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2046
+ > }> } | null, fulfillment: { __typename: 'OrderFulfillment', state: OrderFulfillmentState | null, history: Array<{ __typename: 'OrderRoutingHistoryEntry', selector: OrderRoutingSelector, reason: string | null, createdAt: string, pharmacy: { __typename: 'Pharmacy', id: string, name: string, logo: string | null, phone: string | null, isOpen: boolean | null, latitude: number | null, longitude: number | null, fulfillmentType: Array<FulfillmentType> | null, hours: Array<{ __typename: 'PharmacyHours', openFrom: string, openUntil: string, dayOfWeek: DayOfWeek, is24Hr: boolean, timezone: string }> | null, nextEvents: { __typename: 'PharmacyEvents', open:
1815
2047
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1816
2048
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1817
2049
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
@@ -1819,7 +2051,10 @@ export type UpdateOrderMutation = { __typename: 'Mutation', order:
1819
2051
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1820
2052
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1821
2053
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1822
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } }>, routability: { __typename: 'OrderRoutability', allowed: boolean, reason: string | null } | null, exceptions: Array<{ __typename: 'OrderException', id: string, type: OrderExceptionType, message: string | null, createdAt: string }> } | null } | null, changes: Array<{ __typename: 'Change', key: string, label: string, status: ChangeStatus, severity: ChangeSeverity, reason: string | null, category: ChangeCategory | null, operation: ChangeOperation, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
2054
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2055
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2056
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2057
+ > }> } }>, routability: { __typename: 'OrderRoutability', allowed: boolean, reason: string | null } | null, exceptions: Array<{ __typename: 'OrderException', id: string, type: OrderExceptionType, message: string | null, createdAt: string }> } | null } | null, changes: Array<{ __typename: 'Change', key: string, label: string, status: ChangeStatus, severity: ChangeSeverity, reason: string | null, category: ChangeCategory | null, operation: ChangeOperation, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1823
2058
  | { __typename: 'Allergy' }
1824
2059
  | { __typename: 'Diagnosis' }
1825
2060
  | { __typename: 'MedicationCandidate' }
@@ -1832,7 +2067,10 @@ export type UpdateOrderMutation = { __typename: 'Mutation', order:
1832
2067
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1833
2068
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1834
2069
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1835
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2070
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2071
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2072
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2073
+ > }> }
1836
2074
  | { __typename: 'Prescription' }
1837
2075
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1838
2076
  | null }> | null, before: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -1848,7 +2086,10 @@ export type UpdateOrderMutation = { __typename: 'Mutation', order:
1848
2086
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1849
2087
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1850
2088
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1851
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2089
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2090
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2091
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2092
+ > }> }
1852
2093
  | { __typename: 'Prescription' }
1853
2094
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1854
2095
  | null } | null, after: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -1864,7 +2105,10 @@ export type UpdateOrderMutation = { __typename: 'Mutation', order:
1864
2105
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1865
2106
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1866
2107
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1867
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2108
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2109
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2110
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2111
+ > }> }
1868
2112
  | { __typename: 'Prescription' }
1869
2113
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1870
2114
  | null } | null }> }
@@ -1895,10 +2139,16 @@ export type OrdersQuery = { __typename: 'Query', orders:
1895
2139
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1896
2140
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1897
2141
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1898
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2142
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2143
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2144
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2145
+ > }> }
1899
2146
  | { __typename: 'Prescription' }
1900
2147
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1901
- | null }> } | null, offers: { __typename: 'OrderOffers', atPharmacy: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> | null }, organization:
2148
+ | null }> } | null, offers: { __typename: 'OrderOffers', atPharmacy: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2149
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2150
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2151
+ > }> | null }, organization:
1902
2152
  | { __typename: 'OperationError' }
1903
2153
  | { __typename: 'Organization', id: string, name: string, customer:
1904
2154
  | { __typename: 'Customer', id: string, name: string }
@@ -1914,7 +2164,10 @@ export type OrdersQuery = { __typename: 'Query', orders:
1914
2164
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1915
2165
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1916
2166
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1917
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null }
2167
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2168
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2169
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2170
+ > }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null }
1918
2171
  | null, prescriptions: Array<{ __typename: 'Prescription', id: string, templateId: string | null, instructions: string | null, prescriber: { __typename: 'Prescriber', id: string, name: { __typename: 'HumanName', first: string | null, middle: string | null, last: string | null } } | null, fulfillment: { __typename: 'PrescriptionFulfillment', state: PrescriptionFulfillmentState | null, pharmacyEstimatedReadyAt: string | null, exceptions: Array<{ __typename: 'PrescriptionFulfillmentException', id: string, type: PrescriptionFulfillmentExceptionType, message: string | null, createdAt: string }> } | null, patient: { __typename: 'PatientReference', id: string } | null, treatment: { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null }, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null, clinical: { __typename: 'PrescriptionClinical', notes: string | null, diagnoses: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } | null, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1919
2172
  | { __typename: 'Allergy' }
1920
2173
  | { __typename: 'Diagnosis' }
@@ -1928,7 +2181,10 @@ export type OrdersQuery = { __typename: 'Query', orders:
1928
2181
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1929
2182
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1930
2183
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1931
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2184
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2185
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2186
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2187
+ > }> }
1932
2188
  | { __typename: 'Prescription' }
1933
2189
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1934
2190
  | null }> | null }> | null, signing: { __typename: 'PrescriptionSigningDetails', state: PrescriptionSigningState, contentHash: string, message: string | null, signedAt: string | null } }>, screeningAlerts: Array<{ __typename: 'ScreeningAlert', severity: ScreeningSeverity, type: ScreeningAlertType, description: string, category: ChangeCategory, involvedEntities: Array<{ __typename: 'InvolvedEntity', id: string, name: string }>, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -1944,7 +2200,10 @@ export type OrdersQuery = { __typename: 'Query', orders:
1944
2200
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1945
2201
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1946
2202
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1947
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2203
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2204
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2205
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2206
+ > }> }
1948
2207
  | { __typename: 'Prescription' }
1949
2208
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
1950
2209
  | null }> | null }> | null, pharmacy: { __typename: 'Pharmacy', id: string, name: string, logo: string | null, phone: string | null, isOpen: boolean | null, latitude: number | null, longitude: number | null, fulfillmentType: Array<FulfillmentType> | null, hours: Array<{ __typename: 'PharmacyHours', openFrom: string, openUntil: string, dayOfWeek: DayOfWeek, is24Hr: boolean, timezone: string }> | null, nextEvents: { __typename: 'PharmacyEvents', open:
@@ -1955,7 +2214,10 @@ export type OrdersQuery = { __typename: 'Query', orders:
1955
2214
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1956
2215
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1957
2216
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1958
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, fulfillment: { __typename: 'OrderFulfillment', state: OrderFulfillmentState | null, history: Array<{ __typename: 'OrderRoutingHistoryEntry', selector: OrderRoutingSelector, reason: string | null, createdAt: string, pharmacy: { __typename: 'Pharmacy', id: string, name: string, logo: string | null, phone: string | null, isOpen: boolean | null, latitude: number | null, longitude: number | null, fulfillmentType: Array<FulfillmentType> | null, hours: Array<{ __typename: 'PharmacyHours', openFrom: string, openUntil: string, dayOfWeek: DayOfWeek, is24Hr: boolean, timezone: string }> | null, nextEvents: { __typename: 'PharmacyEvents', open:
2217
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2218
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2219
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2220
+ > }> } | null, fulfillment: { __typename: 'OrderFulfillment', state: OrderFulfillmentState | null, history: Array<{ __typename: 'OrderRoutingHistoryEntry', selector: OrderRoutingSelector, reason: string | null, createdAt: string, pharmacy: { __typename: 'Pharmacy', id: string, name: string, logo: string | null, phone: string | null, isOpen: boolean | null, latitude: number | null, longitude: number | null, fulfillmentType: Array<FulfillmentType> | null, hours: Array<{ __typename: 'PharmacyHours', openFrom: string, openUntil: string, dayOfWeek: DayOfWeek, is24Hr: boolean, timezone: string }> | null, nextEvents: { __typename: 'PharmacyEvents', open:
1959
2221
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1960
2222
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1961
2223
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
@@ -1963,7 +2225,10 @@ export type OrdersQuery = { __typename: 'Query', orders:
1963
2225
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1964
2226
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1965
2227
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1966
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } }>, routability: { __typename: 'OrderRoutability', allowed: boolean, reason: string | null } | null, exceptions: Array<{ __typename: 'OrderException', id: string, type: OrderExceptionType, message: string | null, createdAt: string }> } | null }> }
2228
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2229
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2230
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2231
+ > }> } }>, routability: { __typename: 'OrderRoutability', allowed: boolean, reason: string | null } | null, exceptions: Array<{ __typename: 'OrderException', id: string, type: OrderExceptionType, message: string | null, createdAt: string }> } | null }> }
1967
2232
  };
1968
2233
 
1969
2234
  export type GetPatientMutationVariables = Exact<{
@@ -1985,7 +2250,10 @@ export type GetPatientMutation = { __typename: 'Mutation', patient:
1985
2250
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
1986
2251
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
1987
2252
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
1988
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null }
2253
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2254
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2255
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2256
+ > }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null }
1989
2257
  | null, changes: Array<{ __typename: 'Change', key: string, label: string, status: ChangeStatus, severity: ChangeSeverity, reason: string | null, category: ChangeCategory | null, operation: ChangeOperation, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
1990
2258
  | { __typename: 'Allergy' }
1991
2259
  | { __typename: 'Diagnosis' }
@@ -1999,7 +2267,10 @@ export type GetPatientMutation = { __typename: 'Mutation', patient:
1999
2267
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2000
2268
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2001
2269
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2002
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2270
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2271
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2272
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2273
+ > }> }
2003
2274
  | { __typename: 'Prescription' }
2004
2275
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
2005
2276
  | null }> | null, before: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -2015,7 +2286,10 @@ export type GetPatientMutation = { __typename: 'Mutation', patient:
2015
2286
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2016
2287
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2017
2288
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2018
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2289
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2290
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2291
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2292
+ > }> }
2019
2293
  | { __typename: 'Prescription' }
2020
2294
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
2021
2295
  | null } | null, after: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -2031,7 +2305,10 @@ export type GetPatientMutation = { __typename: 'Mutation', patient:
2031
2305
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2032
2306
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2033
2307
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2034
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2308
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2309
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2310
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2311
+ > }> }
2035
2312
  | { __typename: 'Prescription' }
2036
2313
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
2037
2314
  | null } | null }> }
@@ -2061,7 +2338,10 @@ export type SyncPatientMutation = { __typename: 'Mutation', patient:
2061
2338
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2062
2339
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2063
2340
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2064
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null }
2341
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2342
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2343
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2344
+ > }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null }
2065
2345
  | null, changes: Array<{ __typename: 'Change', key: string, label: string, status: ChangeStatus, severity: ChangeSeverity, reason: string | null, category: ChangeCategory | null, operation: ChangeOperation, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
2066
2346
  | { __typename: 'Allergy' }
2067
2347
  | { __typename: 'Diagnosis' }
@@ -2075,7 +2355,10 @@ export type SyncPatientMutation = { __typename: 'Mutation', patient:
2075
2355
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2076
2356
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2077
2357
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2078
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2358
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2359
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2360
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2361
+ > }> }
2079
2362
  | { __typename: 'Prescription' }
2080
2363
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
2081
2364
  | null }> | null, before: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -2091,7 +2374,10 @@ export type SyncPatientMutation = { __typename: 'Mutation', patient:
2091
2374
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2092
2375
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2093
2376
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2094
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2377
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2378
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2379
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2380
+ > }> }
2095
2381
  | { __typename: 'Prescription' }
2096
2382
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
2097
2383
  | null } | null, after: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -2107,7 +2393,10 @@ export type SyncPatientMutation = { __typename: 'Mutation', patient:
2107
2393
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2108
2394
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2109
2395
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2110
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2396
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2397
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2398
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2399
+ > }> }
2111
2400
  | { __typename: 'Prescription' }
2112
2401
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
2113
2402
  | null } | null }> }
@@ -2137,7 +2426,10 @@ export type UpdatePatientMutation = { __typename: 'Mutation', patient:
2137
2426
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2138
2427
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2139
2428
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2140
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null }
2429
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2430
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2431
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2432
+ > }> } | null, clinical: { __typename: 'PatientClinical', notes: string | null, allergies: { __typename: 'AllergyList', status: ListDocumentationStatus, entries: Array<{ __typename: 'Allergy', id: string, name: string, rxNormId: string | null }> }, medications: { __typename: 'MedicationHistoryList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'MedicationHistoryEntry', id: string, name: string, rxNormId: string | null, status: MedicationHistoryStatus }> }, diagnoses: { __typename: 'DiagnosisList', status: ListDocumentationStatus | null, entries: Array<{ __typename: 'Diagnosis', id: string, name: string | null, icd10Code: string | null }> } } | null }
2141
2433
  | null, changes: Array<{ __typename: 'Change', key: string, label: string, status: ChangeStatus, severity: ChangeSeverity, reason: string | null, category: ChangeCategory | null, operation: ChangeOperation, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
2142
2434
  | { __typename: 'Allergy' }
2143
2435
  | { __typename: 'Diagnosis' }
@@ -2151,7 +2443,10 @@ export type UpdatePatientMutation = { __typename: 'Mutation', patient:
2151
2443
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2152
2444
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2153
2445
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2154
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2446
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2447
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2448
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2449
+ > }> }
2155
2450
  | { __typename: 'Prescription' }
2156
2451
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
2157
2452
  | null }> | null, before: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -2167,7 +2462,10 @@ export type UpdatePatientMutation = { __typename: 'Mutation', patient:
2167
2462
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2168
2463
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2169
2464
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2170
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2465
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2466
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2467
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2468
+ > }> }
2171
2469
  | { __typename: 'Prescription' }
2172
2470
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
2173
2471
  | null } | null, after: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -2183,7 +2481,10 @@ export type UpdatePatientMutation = { __typename: 'Mutation', patient:
2183
2481
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2184
2482
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2185
2483
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2186
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2484
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2485
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2486
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2487
+ > }> }
2187
2488
  | { __typename: 'Prescription' }
2188
2489
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
2189
2490
  | null } | null }> }
@@ -2211,7 +2512,10 @@ export type GetPrescriptionMutation = { __typename: 'Mutation', prescription:
2211
2512
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2212
2513
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2213
2514
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2214
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2515
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2516
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2517
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2518
+ > }> }
2215
2519
  | { __typename: 'Prescription' }
2216
2520
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
2217
2521
  | null }> | null }> | null, signing: { __typename: 'PrescriptionSigningDetails', state: PrescriptionSigningState, contentHash: string, message: string | null, signedAt: string | null } } | null, changes: Array<{ __typename: 'Change', key: string, label: string, status: ChangeStatus, severity: ChangeSeverity, reason: string | null, category: ChangeCategory | null, operation: ChangeOperation, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -2227,7 +2531,10 @@ export type GetPrescriptionMutation = { __typename: 'Mutation', prescription:
2227
2531
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2228
2532
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2229
2533
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2230
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2534
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2535
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2536
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2537
+ > }> }
2231
2538
  | { __typename: 'Prescription' }
2232
2539
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
2233
2540
  | null }> | null, before: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -2243,7 +2550,10 @@ export type GetPrescriptionMutation = { __typename: 'Mutation', prescription:
2243
2550
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2244
2551
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2245
2552
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2246
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2553
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2554
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2555
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2556
+ > }> }
2247
2557
  | { __typename: 'Prescription' }
2248
2558
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
2249
2559
  | null } | null, after: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -2259,7 +2569,10 @@ export type GetPrescriptionMutation = { __typename: 'Mutation', prescription:
2259
2569
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2260
2570
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2261
2571
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2262
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2572
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2573
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2574
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2575
+ > }> }
2263
2576
  | { __typename: 'Prescription' }
2264
2577
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
2265
2578
  | null } | null }> }
@@ -2306,7 +2619,10 @@ export type SyncPrescriptionMutation = { __typename: 'Mutation', prescription:
2306
2619
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2307
2620
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2308
2621
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2309
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2622
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2623
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2624
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2625
+ > }> }
2310
2626
  | { __typename: 'Prescription' }
2311
2627
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
2312
2628
  | null }> | null }> | null, signing: { __typename: 'PrescriptionSigningDetails', state: PrescriptionSigningState, contentHash: string, message: string | null, signedAt: string | null } } | null, changes: Array<{ __typename: 'Change', key: string, label: string, status: ChangeStatus, severity: ChangeSeverity, reason: string | null, category: ChangeCategory | null, operation: ChangeOperation, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -2322,7 +2638,10 @@ export type SyncPrescriptionMutation = { __typename: 'Mutation', prescription:
2322
2638
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2323
2639
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2324
2640
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2325
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2641
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2642
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2643
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2644
+ > }> }
2326
2645
  | { __typename: 'Prescription' }
2327
2646
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
2328
2647
  | null }> | null, before: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -2338,7 +2657,10 @@ export type SyncPrescriptionMutation = { __typename: 'Mutation', prescription:
2338
2657
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2339
2658
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2340
2659
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2341
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2660
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2661
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2662
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2663
+ > }> }
2342
2664
  | { __typename: 'Prescription' }
2343
2665
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
2344
2666
  | null } | null, after: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -2354,7 +2676,10 @@ export type SyncPrescriptionMutation = { __typename: 'Mutation', prescription:
2354
2676
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2355
2677
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2356
2678
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2357
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2679
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2680
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2681
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2682
+ > }> }
2358
2683
  | { __typename: 'Prescription' }
2359
2684
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
2360
2685
  | null } | null }> }
@@ -2388,7 +2713,10 @@ export type UpdatePrescriptionMutation = { __typename: 'Mutation', prescription:
2388
2713
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2389
2714
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2390
2715
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2391
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2716
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2717
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2718
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2719
+ > }> }
2392
2720
  | { __typename: 'Prescription' }
2393
2721
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
2394
2722
  | null }> | null }> | null, signing: { __typename: 'PrescriptionSigningDetails', state: PrescriptionSigningState, contentHash: string, message: string | null, signedAt: string | null } } | null, changes: Array<{ __typename: 'Change', key: string, label: string, status: ChangeStatus, severity: ChangeSeverity, reason: string | null, category: ChangeCategory | null, operation: ChangeOperation, options: Array<{ __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -2404,7 +2732,10 @@ export type UpdatePrescriptionMutation = { __typename: 'Mutation', prescription:
2404
2732
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2405
2733
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2406
2734
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2407
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2735
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2736
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2737
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2738
+ > }> }
2408
2739
  | { __typename: 'Prescription' }
2409
2740
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
2410
2741
  | null }> | null, before: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -2420,7 +2751,10 @@ export type UpdatePrescriptionMutation = { __typename: 'Mutation', prescription:
2420
2751
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2421
2752
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2422
2753
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2423
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2754
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2755
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2756
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2757
+ > }> }
2424
2758
  | { __typename: 'Prescription' }
2425
2759
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
2426
2760
  | null } | null, after: { __typename: 'Choice', displayName: string, reason: string | null, operation: string, argument: string | null, value: string | null, matchReasons: Array<{ __typename: 'MatchReason', type: MatchReasonType, label: string, confidence: ConfidenceLevel | null, value: { __typename: 'QuantityValue', displayValue: string, value: number, unit: string } | null }>, entity:
@@ -2436,7 +2770,10 @@ export type UpdatePrescriptionMutation = { __typename: 'Mutation', prescription:
2436
2770
  | { __typename: 'PharmacyCloseEvent', type: string, datetime: string }
2437
2771
  | { __typename: 'PharmacyOpen24HrEvent', type: string }
2438
2772
  | { __typename: 'PharmacyOpenEvent', type: string, datetime: string }
2439
- } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<{ __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }> }> }
2773
+ } | null, address: { __typename: 'PharmacyAddress', street1: string | null, street2: string | null, city: string | null, state: string | null, postalCode: string | null } | null, offers: Array<{ __typename: 'PharmacyOffer', source: string, prescriptionId: string, priceType: OfferPriceType | null, isPromoted: boolean, redemptionState: RedemptionState, attributeTags: Array<{ __typename: 'OfferAttributeTag', kind: string, label: string }>, price: { __typename: 'OfferPrice', amount: number | null, retailAmount: number | null, promotions: Array<{ __typename: 'OfferPromotion', type: string | null, baseAmount: number | null, amountSaved: number | null }> } | null, deliveryEstimate: { __typename: 'OfferDeliveryEstimate', deliveryPromise: string, deliveryPromiseRangeStart: string | null, deliveryPromiseRangeEnd: string | null } | null, redemptionMethods: Array<
2774
+ | { __typename: 'PharmacyDiscountCard', id: string, prescriptionId: string, bin: string, pcn: string, group: string, memberId: string, externalUrl: string | null }
2775
+ | { __typename: 'ProgramEnrollmentLink', url: string }
2776
+ > }> }
2440
2777
  | { __typename: 'Prescription' }
2441
2778
  | { __typename: 'Treatment', id: string, name: string, rxNormId: string | null, ndc: string | null, upc: string | null, entityKind: CatalogEntityKind | null, prescribableName: string | null, brandName: string | null, genericName: string | null, form: string | null, route: string | null, strength: string | null, medicationType: string | null, schedule: string | null, templates: Array<{ __typename: 'PrescriptionTemplate', id: string | null, source: TemplateSource, name: string | null, instructions: string | null, dispense: { __typename: 'Dispense', quantity: number | null, unit: string | null, daysSupply: number | null, refillsAllowed: number | null, dispenseAsWritten: boolean | null } | null }> | null }
2442
2779
  | null } | null }> }
@@ -2514,6 +2851,9 @@ export const RedemptionMethodFieldsFragmentDoc = new TypedDocumentString(`
2514
2851
  memberId
2515
2852
  externalUrl
2516
2853
  }
2854
+ ... on ProgramEnrollmentLink {
2855
+ url
2856
+ }
2517
2857
  }
2518
2858
  `, {"fragmentName":"RedemptionMethodFields"}) as unknown as TypedDocumentString<RedemptionMethodFieldsFragment, unknown>;
2519
2859
  export const PharmacyOfferFieldsFragmentDoc = new TypedDocumentString(`
@@ -2556,6 +2896,9 @@ export const PharmacyOfferFieldsFragmentDoc = new TypedDocumentString(`
2556
2896
  memberId
2557
2897
  externalUrl
2558
2898
  }
2899
+ ... on ProgramEnrollmentLink {
2900
+ url
2901
+ }
2559
2902
  }`, {"fragmentName":"PharmacyOfferFields"}) as unknown as TypedDocumentString<PharmacyOfferFieldsFragment, unknown>;
2560
2903
  export const PharmacyFieldsFragmentDoc = new TypedDocumentString(`
2561
2904
  fragment PharmacyFields on Pharmacy {
@@ -2632,6 +2975,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
2632
2975
  memberId
2633
2976
  externalUrl
2634
2977
  }
2978
+ ... on ProgramEnrollmentLink {
2979
+ url
2980
+ }
2635
2981
  }
2636
2982
  fragment PharmacyEventFields on PharmacyEvent {
2637
2983
  __typename
@@ -2737,6 +3083,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
2737
3083
  memberId
2738
3084
  externalUrl
2739
3085
  }
3086
+ ... on ProgramEnrollmentLink {
3087
+ url
3088
+ }
2740
3089
  }
2741
3090
  fragment PharmacyFields on Pharmacy {
2742
3091
  id
@@ -2869,6 +3218,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
2869
3218
  memberId
2870
3219
  externalUrl
2871
3220
  }
3221
+ ... on ProgramEnrollmentLink {
3222
+ url
3223
+ }
2872
3224
  }
2873
3225
  fragment OperationErrorFields on OperationError {
2874
3226
  __typename
@@ -3119,6 +3471,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
3119
3471
  memberId
3120
3472
  externalUrl
3121
3473
  }
3474
+ ... on ProgramEnrollmentLink {
3475
+ url
3476
+ }
3122
3477
  }
3123
3478
  fragment PharmacyFields on Pharmacy {
3124
3479
  id
@@ -3286,6 +3641,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
3286
3641
  memberId
3287
3642
  externalUrl
3288
3643
  }
3644
+ ... on ProgramEnrollmentLink {
3645
+ url
3646
+ }
3289
3647
  }
3290
3648
  fragment PharmacyFields on Pharmacy {
3291
3649
  id
@@ -3440,6 +3798,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
3440
3798
  memberId
3441
3799
  externalUrl
3442
3800
  }
3801
+ ... on ProgramEnrollmentLink {
3802
+ url
3803
+ }
3443
3804
  }
3444
3805
  fragment ChangeFields on Change {
3445
3806
  key
@@ -3628,6 +3989,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
3628
3989
  memberId
3629
3990
  externalUrl
3630
3991
  }
3992
+ ... on ProgramEnrollmentLink {
3993
+ url
3994
+ }
3631
3995
  }
3632
3996
  fragment ChangeFields on Change {
3633
3997
  key
@@ -3903,6 +4267,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
3903
4267
  memberId
3904
4268
  externalUrl
3905
4269
  }
4270
+ ... on ProgramEnrollmentLink {
4271
+ url
4272
+ }
3906
4273
  }
3907
4274
  fragment PharmacyFields on Pharmacy {
3908
4275
  id
@@ -4105,6 +4472,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
4105
4472
  memberId
4106
4473
  externalUrl
4107
4474
  }
4475
+ ... on ProgramEnrollmentLink {
4476
+ url
4477
+ }
4108
4478
  }
4109
4479
  fragment PharmacyFields on Pharmacy {
4110
4480
  id
@@ -4293,6 +4663,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
4293
4663
  memberId
4294
4664
  externalUrl
4295
4665
  }
4666
+ ... on ProgramEnrollmentLink {
4667
+ url
4668
+ }
4296
4669
  }
4297
4670
  fragment ChangeFields on Change {
4298
4671
  key
@@ -4610,6 +4983,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
4610
4983
  memberId
4611
4984
  externalUrl
4612
4985
  }
4986
+ ... on ProgramEnrollmentLink {
4987
+ url
4988
+ }
4613
4989
  }
4614
4990
  fragment OperationErrorFields on OperationError {
4615
4991
  __typename
@@ -4944,6 +5320,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
4944
5320
  memberId
4945
5321
  externalUrl
4946
5322
  }
5323
+ ... on ProgramEnrollmentLink {
5324
+ url
5325
+ }
4947
5326
  }
4948
5327
  fragment PharmacyFields on Pharmacy {
4949
5328
  id
@@ -5177,6 +5556,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
5177
5556
  memberId
5178
5557
  externalUrl
5179
5558
  }
5559
+ ... on ProgramEnrollmentLink {
5560
+ url
5561
+ }
5180
5562
  }
5181
5563
  fragment ChangeFields on Change {
5182
5564
  key
@@ -5640,6 +6022,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
5640
6022
  memberId
5641
6023
  externalUrl
5642
6024
  }
6025
+ ... on ProgramEnrollmentLink {
6026
+ url
6027
+ }
5643
6028
  }
5644
6029
  fragment ChangeFields on Change {
5645
6030
  key
@@ -6076,6 +6461,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
6076
6461
  memberId
6077
6462
  externalUrl
6078
6463
  }
6464
+ ... on ProgramEnrollmentLink {
6465
+ url
6466
+ }
6079
6467
  }
6080
6468
  fragment ChangeFields on Change {
6081
6469
  key
@@ -6507,6 +6895,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
6507
6895
  memberId
6508
6896
  externalUrl
6509
6897
  }
6898
+ ... on ProgramEnrollmentLink {
6899
+ url
6900
+ }
6510
6901
  }
6511
6902
  fragment ChangeFields on Change {
6512
6903
  key
@@ -6957,6 +7348,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
6957
7348
  memberId
6958
7349
  externalUrl
6959
7350
  }
7351
+ ... on ProgramEnrollmentLink {
7352
+ url
7353
+ }
6960
7354
  }
6961
7355
  fragment OperationErrorFields on OperationError {
6962
7356
  __typename
@@ -7335,6 +7729,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
7335
7729
  memberId
7336
7730
  externalUrl
7337
7731
  }
7732
+ ... on ProgramEnrollmentLink {
7733
+ url
7734
+ }
7338
7735
  }
7339
7736
  fragment ChangeFields on Change {
7340
7737
  key
@@ -7633,6 +8030,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
7633
8030
  memberId
7634
8031
  externalUrl
7635
8032
  }
8033
+ ... on ProgramEnrollmentLink {
8034
+ url
8035
+ }
7636
8036
  }
7637
8037
  fragment ChangeFields on Change {
7638
8038
  key
@@ -7931,6 +8331,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
7931
8331
  memberId
7932
8332
  externalUrl
7933
8333
  }
8334
+ ... on ProgramEnrollmentLink {
8335
+ url
8336
+ }
7934
8337
  }
7935
8338
  fragment ChangeFields on Change {
7936
8339
  key
@@ -8219,6 +8622,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
8219
8622
  memberId
8220
8623
  externalUrl
8221
8624
  }
8625
+ ... on ProgramEnrollmentLink {
8626
+ url
8627
+ }
8222
8628
  }
8223
8629
  fragment ChangeFields on Change {
8224
8630
  key
@@ -8549,6 +8955,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
8549
8955
  memberId
8550
8956
  externalUrl
8551
8957
  }
8958
+ ... on ProgramEnrollmentLink {
8959
+ url
8960
+ }
8552
8961
  }
8553
8962
  fragment ChangeFields on Change {
8554
8963
  key
@@ -8838,6 +9247,9 @@ fragment RedemptionMethodFields on RedemptionMethod {
8838
9247
  memberId
8839
9248
  externalUrl
8840
9249
  }
9250
+ ... on ProgramEnrollmentLink {
9251
+ url
9252
+ }
8841
9253
  }
8842
9254
  fragment ChangeFields on Change {
8843
9255
  key