candidhealth 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/client/Client.js +1 -1
- package/api/resources/commons/types/DateRangeOptionalEnd.d.ts +8 -0
- package/api/resources/commons/types/Decimal.d.ts +11 -0
- package/api/resources/commons/types/Decimal.js +10 -0
- package/api/resources/commons/types/EmrPayerCrosswalk.d.ts +8 -0
- package/api/resources/commons/types/EmrPayerCrosswalk.js +10 -0
- package/api/resources/commons/types/UserId.d.ts +8 -0
- package/api/resources/commons/types/index.d.ts +4 -1
- package/api/resources/commons/types/index.js +4 -1
- package/api/resources/encounters/resources/v4/client/Client.js +16 -12
- package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/create.js +11 -0
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -1
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -7
- package/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +2 -1
- package/api/resources/encounters/resources/v4/types/BillableStatusType.d.ts +8 -0
- package/api/resources/encounters/resources/v4/types/BillableStatusType.js +10 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +13 -7
- package/api/resources/encounters/resources/v4/types/EncounterGuarantorMissingContactInfoErrorType.d.ts +6 -0
- package/api/resources/encounters/resources/v4/types/ResponsiblePartyType.d.ts +9 -0
- package/api/resources/encounters/resources/v4/types/ResponsiblePartyType.js +11 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +3 -0
- package/api/resources/encounters/resources/v4/types/index.js +3 -0
- package/api/resources/expectedNetworkStatus/client/Client.js +1 -1
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +2 -2
- package/api/resources/guarantor/resources/v1/client/Client.js +20 -6
- package/api/resources/guarantor/resources/v1/client/create.d.ts +7 -1
- package/api/resources/guarantor/resources/v1/client/create.js +11 -0
- package/api/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.d.ts +6 -3
- package/api/resources/guarantor/resources/v1/types/EncounterHasExistingGuarantorErrorType.d.ts +6 -0
- package/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +4 -0
- package/api/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -2
- package/api/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +6 -0
- package/api/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/api/resources/guarantor/resources/v1/types/index.js +1 -0
- package/api/resources/index.d.ts +0 -1
- package/api/resources/index.js +1 -2
- package/api/resources/individual/types/Patient.d.ts +4 -0
- package/api/resources/individual/types/PatientBase.d.ts +0 -1
- package/api/resources/individual/types/PatientCreate.d.ts +6 -0
- package/api/resources/insuranceCard/types/InsuranceCardBase.d.ts +1 -1
- package/api/resources/insuranceCard/types/InsuranceCardCreate.d.ts +1 -0
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +13 -1
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +12 -0
- package/api/resources/payers/client/Client.js +2 -2
- package/api/resources/serviceLines/types/ServiceLine.d.ts +13 -1
- package/api/resources/serviceLines/types/ServiceLineCreate.d.ts +7 -1
- package/api/resources/tasks/resources/v3/client/Client.js +1 -1
- package/api/resources/workQueues/resources/v1/types/WorkQueue.d.ts +1 -1
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/client/Client.js +1 -1
- package/dist/api/resources/commons/types/DateRangeOptionalEnd.d.ts +8 -0
- package/dist/api/resources/commons/types/Decimal.d.ts +11 -0
- package/dist/api/resources/commons/types/Decimal.js +10 -0
- package/dist/api/resources/commons/types/EmrPayerCrosswalk.d.ts +8 -0
- package/dist/api/resources/commons/types/EmrPayerCrosswalk.js +10 -0
- package/dist/api/resources/commons/types/UserId.d.ts +8 -0
- package/dist/api/resources/commons/types/index.d.ts +4 -1
- package/dist/api/resources/commons/types/index.js +4 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +16 -12
- package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -1
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -7
- package/dist/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +2 -1
- package/dist/api/resources/encounters/resources/v4/types/BillableStatusType.d.ts +8 -0
- package/dist/api/resources/encounters/resources/v4/types/BillableStatusType.js +10 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +13 -7
- package/dist/api/resources/encounters/resources/v4/types/EncounterGuarantorMissingContactInfoErrorType.d.ts +6 -0
- package/dist/api/resources/encounters/resources/v4/types/ResponsiblePartyType.d.ts +9 -0
- package/dist/api/resources/encounters/resources/v4/types/ResponsiblePartyType.js +11 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +3 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +3 -0
- package/dist/api/resources/expectedNetworkStatus/client/Client.js +1 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +2 -2
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +20 -6
- package/dist/api/resources/guarantor/resources/v1/client/create.d.ts +7 -1
- package/dist/api/resources/guarantor/resources/v1/client/create.js +11 -0
- package/dist/api/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.d.ts +6 -3
- package/dist/api/resources/guarantor/resources/v1/types/EncounterHasExistingGuarantorErrorType.d.ts +6 -0
- package/dist/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +4 -0
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -2
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +6 -0
- package/dist/api/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/guarantor/resources/v1/types/index.js +1 -0
- package/dist/api/resources/index.d.ts +0 -1
- package/dist/api/resources/index.js +1 -2
- package/dist/api/resources/individual/types/Patient.d.ts +4 -0
- package/dist/api/resources/individual/types/PatientBase.d.ts +0 -1
- package/dist/api/resources/individual/types/PatientCreate.d.ts +6 -0
- package/dist/api/resources/insuranceCard/types/InsuranceCardBase.d.ts +1 -1
- package/dist/api/resources/insuranceCard/types/InsuranceCardCreate.d.ts +1 -0
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +13 -1
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +12 -0
- package/dist/api/resources/payers/client/Client.js +2 -2
- package/dist/api/resources/serviceLines/types/ServiceLine.d.ts +13 -1
- package/dist/api/resources/serviceLines/types/ServiceLineCreate.d.ts +7 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/workQueues/resources/v1/types/WorkQueue.d.ts +1 -1
- package/dist/serialization/resources/commons/types/DateRangeOptionalEnd.d.ts +13 -0
- package/dist/serialization/resources/commons/types/DateRangeOptionalEnd.js +34 -0
- package/dist/serialization/resources/commons/types/Decimal.d.ts +10 -0
- package/dist/serialization/resources/commons/types/Decimal.js +37 -0
- package/dist/serialization/resources/commons/types/EmrPayerCrosswalk.d.ts +10 -0
- package/dist/serialization/resources/commons/types/EmrPayerCrosswalk.js +31 -0
- package/dist/serialization/resources/commons/types/UserId.d.ts +10 -0
- package/dist/serialization/resources/{users/resources/v2 → commons}/types/UserId.js +6 -4
- package/dist/serialization/resources/commons/types/index.d.ts +4 -1
- package/dist/serialization/resources/commons/types/index.js +4 -1
- package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +5 -1
- package/dist/serialization/resources/encounters/resources/v4/client/create.js +5 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -1
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +0 -1
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -2
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +6 -2
- package/dist/serialization/resources/encounters/resources/v4/types/BillableStatusType.d.ts +10 -0
- package/{serialization/resources/users/resources/v2/types/MachineUserMetadata.js → dist/serialization/resources/encounters/resources/v4/types/BillableStatusType.js} +2 -4
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +3 -2
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +3 -2
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterGuarantorMissingContactInfoErrorType.d.ts +12 -0
- package/dist/serialization/resources/{users/resources/v2/types/GoogleAppsMetadata.js → encounters/resources/v4/types/EncounterGuarantorMissingContactInfoErrorType.js} +3 -3
- package/dist/serialization/resources/encounters/resources/v4/types/ResponsiblePartyType.d.ts +10 -0
- package/dist/serialization/resources/{users/resources/v2/types/MachineUserMetadata.js → encounters/resources/v4/types/ResponsiblePartyType.js} +2 -4
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +3 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +3 -0
- package/dist/serialization/resources/guarantor/resources/v1/client/create.d.ts +14 -0
- package/dist/serialization/resources/{users/resources/v2/types/UserMetadata.js → guarantor/resources/v1/client/create.js} +14 -7
- package/dist/serialization/resources/guarantor/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/client/index.js +14 -0
- package/dist/serialization/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.d.ts +6 -3
- package/dist/serialization/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.js +8 -3
- package/dist/serialization/resources/guarantor/resources/v1/types/EncounterHasExistingGuarantorErrorType.d.ts +12 -0
- package/{serialization/resources/users/resources/v2/types/AuthZeroMetadata.js → dist/serialization/resources/guarantor/resources/v1/types/EncounterHasExistingGuarantorErrorType.js} +3 -3
- package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +4 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.js +4 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -2
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +1 -2
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +4 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.js +8 -1
- package/dist/serialization/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +0 -1
- package/dist/serialization/resources/index.js +1 -2
- package/dist/serialization/resources/individual/types/Patient.d.ts +4 -0
- package/dist/serialization/resources/individual/types/Patient.js +4 -0
- package/dist/serialization/resources/individual/types/PatientBase.d.ts +0 -1
- package/dist/serialization/resources/individual/types/PatientBase.js +0 -1
- package/dist/serialization/resources/individual/types/PatientCreate.d.ts +4 -0
- package/dist/serialization/resources/individual/types/PatientCreate.js +8 -1
- package/dist/serialization/resources/insuranceCard/types/InsuranceCardBase.d.ts +1 -1
- package/dist/serialization/resources/insuranceCard/types/InsuranceCardBase.js +1 -1
- package/dist/serialization/resources/insuranceCard/types/InsuranceCardCreate.d.ts +1 -0
- package/dist/serialization/resources/insuranceCard/types/InsuranceCardCreate.js +1 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +12 -0
- package/dist/serialization/resources/serviceLines/types/ServiceLine.d.ts +2 -1
- package/dist/serialization/resources/serviceLines/types/ServiceLine.js +2 -1
- package/dist/serialization/resources/serviceLines/types/ServiceLineCreate.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/types/ServiceLineCreate.js +1 -1
- package/dist/serialization/resources/workQueues/resources/v1/types/WorkQueue.d.ts +1 -1
- package/dist/serialization/resources/workQueues/resources/v1/types/WorkQueue.js +1 -1
- package/examples/acmeHealth.ts +4 -2
- package/package.json +1 -1
- package/serialization/resources/commons/types/DateRangeOptionalEnd.d.ts +13 -0
- package/serialization/resources/commons/types/DateRangeOptionalEnd.js +34 -0
- package/serialization/resources/commons/types/Decimal.d.ts +10 -0
- package/serialization/resources/commons/types/Decimal.js +37 -0
- package/serialization/resources/commons/types/EmrPayerCrosswalk.d.ts +10 -0
- package/serialization/resources/commons/types/EmrPayerCrosswalk.js +31 -0
- package/serialization/resources/commons/types/UserId.d.ts +10 -0
- package/serialization/resources/{users/resources/v2 → commons}/types/UserId.js +6 -4
- package/serialization/resources/commons/types/index.d.ts +4 -1
- package/serialization/resources/commons/types/index.js +4 -1
- package/serialization/resources/encounters/resources/v4/client/create.d.ts +5 -1
- package/serialization/resources/encounters/resources/v4/client/create.js +5 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -1
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +0 -1
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -2
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +6 -2
- package/serialization/resources/encounters/resources/v4/types/BillableStatusType.d.ts +10 -0
- package/serialization/resources/encounters/resources/v4/types/BillableStatusType.js +31 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +3 -2
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +3 -2
- package/serialization/resources/encounters/resources/v4/types/EncounterGuarantorMissingContactInfoErrorType.d.ts +12 -0
- package/{dist/serialization/resources/users/resources/v2/types/HumanUserMetadata.js → serialization/resources/encounters/resources/v4/types/EncounterGuarantorMissingContactInfoErrorType.js} +3 -4
- package/serialization/resources/encounters/resources/v4/types/ResponsiblePartyType.d.ts +10 -0
- package/serialization/resources/encounters/resources/v4/types/ResponsiblePartyType.js +31 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +3 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +3 -0
- package/serialization/resources/guarantor/resources/v1/client/create.d.ts +14 -0
- package/serialization/resources/{users/resources/v2/types/IdpUserMetadata.js → guarantor/resources/v1/client/create.js} +14 -8
- package/serialization/resources/guarantor/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/guarantor/resources/v1/client/index.js +14 -0
- package/serialization/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.d.ts +6 -3
- package/serialization/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.js +8 -3
- package/serialization/resources/guarantor/resources/v1/types/EncounterHasExistingGuarantorErrorType.d.ts +12 -0
- package/{dist/serialization/resources/users/resources/v2/types/AuthZeroMetadata.js → serialization/resources/guarantor/resources/v1/types/EncounterHasExistingGuarantorErrorType.js} +3 -3
- package/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +4 -0
- package/serialization/resources/guarantor/resources/v1/types/Guarantor.js +4 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.d.ts +1 -2
- package/serialization/resources/guarantor/resources/v1/types/GuarantorBase.js +1 -2
- package/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +4 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.js +8 -1
- package/serialization/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/guarantor/resources/v1/types/index.js +1 -0
- package/serialization/resources/index.d.ts +0 -1
- package/serialization/resources/index.js +1 -2
- package/serialization/resources/individual/types/Patient.d.ts +4 -0
- package/serialization/resources/individual/types/Patient.js +4 -0
- package/serialization/resources/individual/types/PatientBase.d.ts +0 -1
- package/serialization/resources/individual/types/PatientBase.js +0 -1
- package/serialization/resources/individual/types/PatientCreate.d.ts +4 -0
- package/serialization/resources/individual/types/PatientCreate.js +8 -1
- package/serialization/resources/insuranceCard/types/InsuranceCardBase.d.ts +1 -1
- package/serialization/resources/insuranceCard/types/InsuranceCardBase.js +1 -1
- package/serialization/resources/insuranceCard/types/InsuranceCardCreate.d.ts +1 -0
- package/serialization/resources/insuranceCard/types/InsuranceCardCreate.js +1 -0
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +12 -0
- package/serialization/resources/serviceLines/types/ServiceLine.d.ts +2 -1
- package/serialization/resources/serviceLines/types/ServiceLine.js +2 -1
- package/serialization/resources/serviceLines/types/ServiceLineCreate.d.ts +1 -1
- package/serialization/resources/serviceLines/types/ServiceLineCreate.js +1 -1
- package/serialization/resources/workQueues/resources/v1/types/WorkQueue.d.ts +1 -1
- package/serialization/resources/workQueues/resources/v1/types/WorkQueue.js +1 -1
- package/api/resources/commons/types/ContactInfo.d.ts +0 -10
- package/api/resources/users/index.d.ts +0 -1
- package/api/resources/users/index.js +0 -17
- package/api/resources/users/resources/index.d.ts +0 -1
- package/api/resources/users/resources/index.js +0 -27
- package/api/resources/users/resources/v2/index.d.ts +0 -1
- package/api/resources/users/resources/v2/index.js +0 -17
- package/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +0 -6
- package/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +0 -6
- package/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +0 -7
- package/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +0 -16
- package/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +0 -6
- package/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +0 -6
- package/api/resources/users/resources/v2/types/OtherIdpMetadata.js +0 -5
- package/api/resources/users/resources/v2/types/UserId.d.ts +0 -8
- package/api/resources/users/resources/v2/types/UserMetadata.d.ts +0 -13
- package/api/resources/users/resources/v2/types/UserMetadata.js +0 -5
- package/api/resources/users/resources/v2/types/UserV2.d.ts +0 -11
- package/api/resources/users/resources/v2/types/UserV2.js +0 -5
- package/api/resources/users/resources/v2/types/index.d.ts +0 -9
- package/api/resources/users/resources/v2/types/index.js +0 -25
- package/dist/api/resources/commons/types/ContactInfo.d.ts +0 -10
- package/dist/api/resources/commons/types/ContactInfo.js +0 -5
- package/dist/api/resources/users/index.d.ts +0 -1
- package/dist/api/resources/users/index.js +0 -17
- package/dist/api/resources/users/resources/index.d.ts +0 -1
- package/dist/api/resources/users/resources/index.js +0 -27
- package/dist/api/resources/users/resources/v2/index.d.ts +0 -1
- package/dist/api/resources/users/resources/v2/index.js +0 -17
- package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +0 -6
- package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.js +0 -5
- package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +0 -6
- package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.js +0 -5
- package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +0 -7
- package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.js +0 -5
- package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +0 -16
- package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.js +0 -5
- package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +0 -6
- package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.js +0 -5
- package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +0 -6
- package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.js +0 -5
- package/dist/api/resources/users/resources/v2/types/UserId.d.ts +0 -8
- package/dist/api/resources/users/resources/v2/types/UserMetadata.d.ts +0 -13
- package/dist/api/resources/users/resources/v2/types/UserMetadata.js +0 -5
- package/dist/api/resources/users/resources/v2/types/UserV2.d.ts +0 -11
- package/dist/api/resources/users/resources/v2/types/UserV2.js +0 -5
- package/dist/api/resources/users/resources/v2/types/index.d.ts +0 -9
- package/dist/api/resources/users/resources/v2/types/index.js +0 -25
- package/dist/serialization/resources/commons/types/ContactInfo.d.ts +0 -15
- package/dist/serialization/resources/commons/types/ContactInfo.js +0 -36
- package/dist/serialization/resources/users/index.d.ts +0 -1
- package/dist/serialization/resources/users/index.js +0 -17
- package/dist/serialization/resources/users/resources/index.d.ts +0 -1
- package/dist/serialization/resources/users/resources/index.js +0 -27
- package/dist/serialization/resources/users/resources/v2/index.d.ts +0 -1
- package/dist/serialization/resources/users/resources/v2/index.js +0 -17
- package/dist/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +0 -12
- package/dist/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +0 -12
- package/dist/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +0 -13
- package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +0 -19
- package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +0 -40
- package/dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +0 -12
- package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +0 -12
- package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +0 -33
- package/dist/serialization/resources/users/resources/v2/types/UserId.d.ts +0 -10
- package/dist/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +0 -16
- package/dist/serialization/resources/users/resources/v2/types/UserV2.d.ts +0 -16
- package/dist/serialization/resources/users/resources/v2/types/UserV2.js +0 -37
- package/dist/serialization/resources/users/resources/v2/types/index.d.ts +0 -9
- package/dist/serialization/resources/users/resources/v2/types/index.js +0 -25
- package/serialization/resources/commons/types/ContactInfo.d.ts +0 -15
- package/serialization/resources/commons/types/ContactInfo.js +0 -36
- package/serialization/resources/users/index.d.ts +0 -1
- package/serialization/resources/users/index.js +0 -17
- package/serialization/resources/users/resources/index.d.ts +0 -1
- package/serialization/resources/users/resources/index.js +0 -27
- package/serialization/resources/users/resources/v2/index.d.ts +0 -1
- package/serialization/resources/users/resources/v2/index.js +0 -17
- package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +0 -12
- package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +0 -12
- package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.js +0 -33
- package/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +0 -13
- package/serialization/resources/users/resources/v2/types/HumanUserMetadata.js +0 -34
- package/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +0 -19
- package/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +0 -12
- package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +0 -12
- package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +0 -33
- package/serialization/resources/users/resources/v2/types/UserId.d.ts +0 -10
- package/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +0 -16
- package/serialization/resources/users/resources/v2/types/UserMetadata.js +0 -39
- package/serialization/resources/users/resources/v2/types/UserV2.d.ts +0 -16
- package/serialization/resources/users/resources/v2/types/UserV2.js +0 -37
- package/serialization/resources/users/resources/v2/types/index.d.ts +0 -9
- package/serialization/resources/users/resources/v2/types/index.js +0 -25
- /package/api/resources/commons/types/{ContactInfo.js → DateRangeOptionalEnd.js} +0 -0
- /package/api/resources/{users/resources/v2 → commons}/types/UserId.js +0 -0
- /package/api/resources/{users/resources/v2/types/AuthZeroMetadata.js → encounters/resources/v4/types/EncounterGuarantorMissingContactInfoErrorType.js} +0 -0
- /package/api/resources/{users/resources/v2/types/GoogleAppsMetadata.js → guarantor/resources/v1/types/EncounterHasExistingGuarantorErrorType.js} +0 -0
- /package/{api/resources/users/resources/v2/types/HumanUserMetadata.js → dist/api/resources/commons/types/DateRangeOptionalEnd.js} +0 -0
- /package/dist/api/resources/{users/resources/v2 → commons}/types/UserId.js +0 -0
- /package/{api/resources/users/resources/v2/types/IdpUserMetadata.js → dist/api/resources/encounters/resources/v4/types/EncounterGuarantorMissingContactInfoErrorType.js} +0 -0
- /package/{api/resources/users/resources/v2/types/MachineUserMetadata.js → dist/api/resources/guarantor/resources/v1/types/EncounterHasExistingGuarantorErrorType.js} +0 -0
|
@@ -6,10 +6,13 @@ export * from "./PatientExternalId";
|
|
|
6
6
|
export * from "./EncounterExternalId";
|
|
7
7
|
export * from "./Npi";
|
|
8
8
|
export * from "./WorkQueueId";
|
|
9
|
+
export * from "./UserId";
|
|
9
10
|
export * from "./LinkUrl";
|
|
10
11
|
export * from "./ContentDownloadUrl";
|
|
11
12
|
export * from "./PageToken";
|
|
12
13
|
export * from "./Date_";
|
|
14
|
+
export * from "./DateRangeOptionalEnd";
|
|
15
|
+
export * from "./Decimal";
|
|
13
16
|
export * from "./ResourcePage";
|
|
14
17
|
export * from "./StreetAddressBase";
|
|
15
18
|
export * from "./StreetAddressShortZip";
|
|
@@ -24,7 +27,7 @@ export * from "./PatientRelationshipToInsuredCodeAll";
|
|
|
24
27
|
export * from "./ProcedureModifier";
|
|
25
28
|
export * from "./ServiceLineUnits";
|
|
26
29
|
export * from "./InsuranceTypeCode";
|
|
30
|
+
export * from "./EmrPayerCrosswalk";
|
|
27
31
|
export * from "./PhoneNumber";
|
|
28
32
|
export * from "./PhoneNumberType";
|
|
29
33
|
export * from "./Email";
|
|
30
|
-
export * from "./ContactInfo";
|
|
@@ -22,10 +22,13 @@ __exportStar(require("./PatientExternalId"), exports);
|
|
|
22
22
|
__exportStar(require("./EncounterExternalId"), exports);
|
|
23
23
|
__exportStar(require("./Npi"), exports);
|
|
24
24
|
__exportStar(require("./WorkQueueId"), exports);
|
|
25
|
+
__exportStar(require("./UserId"), exports);
|
|
25
26
|
__exportStar(require("./LinkUrl"), exports);
|
|
26
27
|
__exportStar(require("./ContentDownloadUrl"), exports);
|
|
27
28
|
__exportStar(require("./PageToken"), exports);
|
|
28
29
|
__exportStar(require("./Date_"), exports);
|
|
30
|
+
__exportStar(require("./DateRangeOptionalEnd"), exports);
|
|
31
|
+
__exportStar(require("./Decimal"), exports);
|
|
29
32
|
__exportStar(require("./ResourcePage"), exports);
|
|
30
33
|
__exportStar(require("./StreetAddressBase"), exports);
|
|
31
34
|
__exportStar(require("./StreetAddressShortZip"), exports);
|
|
@@ -40,7 +43,7 @@ __exportStar(require("./PatientRelationshipToInsuredCodeAll"), exports);
|
|
|
40
43
|
__exportStar(require("./ProcedureModifier"), exports);
|
|
41
44
|
__exportStar(require("./ServiceLineUnits"), exports);
|
|
42
45
|
__exportStar(require("./InsuranceTypeCode"), exports);
|
|
46
|
+
__exportStar(require("./EmrPayerCrosswalk"), exports);
|
|
43
47
|
__exportStar(require("./PhoneNumber"), exports);
|
|
44
48
|
__exportStar(require("./PhoneNumberType"), exports);
|
|
45
49
|
__exportStar(require("./Email"), exports);
|
|
46
|
-
__exportStar(require("./ContactInfo"), exports);
|
|
@@ -6,9 +6,13 @@ import * as CandidApi from "../../../../../../api";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
export declare const Error: core.serialization.Schema<serializers.encounters.v4.create.Error.Raw, CandidApi.encounters.v4.create.Error>;
|
|
8
8
|
export declare namespace Error {
|
|
9
|
-
type Raw = Error.EncounterExternalIdUniquenessError;
|
|
9
|
+
type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterGuarantorMissingContactInfoError;
|
|
10
10
|
interface EncounterExternalIdUniquenessError {
|
|
11
11
|
errorName: "EncounterExternalIdUniquenessError";
|
|
12
12
|
content: serializers.encounters.v4.EncounterExternalIdUniquenessErrorType.Raw;
|
|
13
13
|
}
|
|
14
|
+
interface EncounterGuarantorMissingContactInfoError {
|
|
15
|
+
errorName: "EncounterGuarantorMissingContactInfoError";
|
|
16
|
+
content: serializers.encounters.v4.EncounterGuarantorMissingContactInfoErrorType.Raw;
|
|
17
|
+
}
|
|
14
18
|
}
|
|
@@ -34,12 +34,17 @@ exports.Error = core.serialization
|
|
|
34
34
|
EncounterExternalIdUniquenessError: core.serialization.object({
|
|
35
35
|
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.EncounterExternalIdUniquenessErrorType),
|
|
36
36
|
}),
|
|
37
|
+
EncounterGuarantorMissingContactInfoError: core.serialization.object({
|
|
38
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.EncounterGuarantorMissingContactInfoErrorType),
|
|
39
|
+
}),
|
|
37
40
|
})
|
|
38
41
|
.transform({
|
|
39
42
|
transform: (value) => {
|
|
40
43
|
switch (value.errorName) {
|
|
41
44
|
case "EncounterExternalIdUniquenessError":
|
|
42
45
|
return CandidApi.encounters.v4.create.Error.encounterExternalIdUniquenessError(value.content);
|
|
46
|
+
case "EncounterGuarantorMissingContactInfoError":
|
|
47
|
+
return CandidApi.encounters.v4.create.Error.encounterGuarantorMissingContactInfoError(value.content);
|
|
43
48
|
}
|
|
44
49
|
},
|
|
45
50
|
untransform: ({ _visit, ...value }) => value,
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ export declare const EncounterCreate: core.serialization.Schema<serializers.enco
|
|
|
8
8
|
export declare namespace EncounterCreate {
|
|
9
9
|
interface Raw extends serializers.encounters.v4.EncounterBase.Raw {
|
|
10
10
|
patient: serializers.PatientCreate.Raw;
|
|
11
|
-
patient_is_self_guarantor?: boolean | null;
|
|
12
11
|
billing_provider: serializers.encounterProviders.v2.BillingProvider.Raw;
|
|
13
12
|
rendering_provider: serializers.encounterProviders.v2.RenderingProvider.Raw;
|
|
14
13
|
referring_provider?: serializers.encounterProviders.v2.ReferringProvider.Raw | null;
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js
CHANGED
|
@@ -31,7 +31,6 @@ const core = __importStar(require("../../../../../../../core"));
|
|
|
31
31
|
exports.EncounterCreate = core.serialization
|
|
32
32
|
.object({
|
|
33
33
|
patient: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).PatientCreate),
|
|
34
|
-
patientIsSelfGuarantor: core.serialization.property("patient_is_self_guarantor", core.serialization.boolean().optional()),
|
|
35
34
|
billingProvider: core.serialization.property("billing_provider", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).encounterProviders.v2.BillingProvider)),
|
|
36
35
|
renderingProvider: core.serialization.property("rendering_provider", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).encounterProviders.v2.RenderingProvider)),
|
|
37
36
|
referringProvider: core.serialization.property("referring_provider", core.serialization
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts
CHANGED
|
@@ -14,8 +14,8 @@ export declare namespace EncounterUpdate {
|
|
|
14
14
|
tag_ids?: serializers.TagId.Raw[] | null;
|
|
15
15
|
clinical_notes?: serializers.encounters.v4.ClinicalNoteCategoryCreate.Raw[] | null;
|
|
16
16
|
pay_to_address?: serializers.StreetAddressLongZip.Raw | null;
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
billable_status?: serializers.encounters.v4.BillableStatusType.Raw | null;
|
|
18
|
+
responsible_party?: serializers.encounters.v4.ResponsiblePartyType.Raw | null;
|
|
19
19
|
provider_accepts_assignment?: boolean | null;
|
|
20
20
|
benefits_assigned_to_provider?: boolean | null;
|
|
21
21
|
synchronicity?: serializers.encounters.v4.SynchronicityType.Raw | null;
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js
CHANGED
|
@@ -44,8 +44,12 @@ exports.EncounterUpdate = core.serialization.object({
|
|
|
44
44
|
.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).encounters.v4.ClinicalNoteCategoryCreate))
|
|
45
45
|
.optional()),
|
|
46
46
|
payToAddress: core.serialization.property("pay_to_address", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).StreetAddressLongZip).optional()),
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
billableStatus: core.serialization.property("billable_status", core.serialization
|
|
48
|
+
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).encounters.v4.BillableStatusType)
|
|
49
|
+
.optional()),
|
|
50
|
+
responsibleParty: core.serialization.property("responsible_party", core.serialization
|
|
51
|
+
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).encounters.v4.ResponsiblePartyType)
|
|
52
|
+
.optional()),
|
|
49
53
|
providerAcceptsAssignment: core.serialization.property("provider_accepts_assignment", core.serialization.boolean().optional()),
|
|
50
54
|
benefitsAssignedToProvider: core.serialization.property("benefits_assigned_to_provider", core.serialization.boolean().optional()),
|
|
51
55
|
synchronicity: core.serialization
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const BillableStatusType: core.serialization.Schema<serializers.encounters.v4.BillableStatusType.Raw, CandidApi.encounters.v4.BillableStatusType>;
|
|
8
|
+
export declare namespace BillableStatusType {
|
|
9
|
+
type Raw = "BILLABLE" | "NOT_BILLABLE";
|
|
10
|
+
}
|
|
@@ -26,8 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.BillableStatusType = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
name: core.serialization.string(),
|
|
33
|
-
});
|
|
31
|
+
exports.BillableStatusType = core.serialization.enum_(["BILLABLE", "NOT_BILLABLE"]);
|
|
@@ -10,6 +10,7 @@ export declare namespace Encounter {
|
|
|
10
10
|
encounter_id: serializers.EncounterId.Raw;
|
|
11
11
|
claims: serializers.Claim.Raw[];
|
|
12
12
|
patient: serializers.Patient.Raw;
|
|
13
|
+
guarantor?: serializers.guarantor.v1.Guarantor.Raw | null;
|
|
13
14
|
billing_provider: serializers.encounterProviders.v2.EncounterProvider.Raw;
|
|
14
15
|
rendering_provider: serializers.encounterProviders.v2.EncounterProvider.Raw;
|
|
15
16
|
referring_provider?: serializers.encounterProviders.v2.EncounterProvider.Raw | null;
|
|
@@ -33,6 +33,9 @@ exports.Encounter = core.serialization
|
|
|
33
33
|
encounterId: core.serialization.property("encounter_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EncounterId)),
|
|
34
34
|
claims: core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Claim)),
|
|
35
35
|
patient: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Patient),
|
|
36
|
+
guarantor: core.serialization
|
|
37
|
+
.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).guarantor.v1.Guarantor)
|
|
38
|
+
.optional(),
|
|
36
39
|
billingProvider: core.serialization.property("billing_provider", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounterProviders.v2.EncounterProvider)),
|
|
37
40
|
renderingProvider: core.serialization.property("rendering_provider", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounterProviders.v2.EncounterProvider)),
|
|
38
41
|
referringProvider: core.serialization.property("referring_provider", core.serialization
|
|
@@ -7,7 +7,7 @@ import * as core from "../../../../../../core";
|
|
|
7
7
|
export declare const EncounterBase: core.serialization.ObjectSchema<serializers.encounters.v4.EncounterBase.Raw, CandidApi.encounters.v4.EncounterBase>;
|
|
8
8
|
export declare namespace EncounterBase {
|
|
9
9
|
interface Raw {
|
|
10
|
-
external_id
|
|
10
|
+
external_id: serializers.EncounterExternalId.Raw;
|
|
11
11
|
date_of_service: serializers.Date_.Raw;
|
|
12
12
|
end_date_of_service?: serializers.Date_.Raw | null;
|
|
13
13
|
prior_authorization_number?: serializers.encounters.v4.PriorAuthorizationNumber.Raw | null;
|
|
@@ -15,11 +15,12 @@ export declare namespace EncounterBase {
|
|
|
15
15
|
benefits_assigned_to_provider: boolean;
|
|
16
16
|
provider_accepts_assignment: boolean;
|
|
17
17
|
appointment_type?: string | null;
|
|
18
|
-
do_not_bill?: boolean | null;
|
|
19
18
|
existing_medications?: serializers.encounters.v4.Medication.Raw[] | null;
|
|
20
19
|
vitals?: serializers.encounters.v4.Vitals.Raw | null;
|
|
21
20
|
interventions?: serializers.encounters.v4.Intervention.Raw[] | null;
|
|
22
21
|
pay_to_address?: serializers.StreetAddressLongZip.Raw | null;
|
|
23
22
|
synchronicity?: serializers.encounters.v4.SynchronicityType.Raw | null;
|
|
23
|
+
billable_status: serializers.encounters.v4.BillableStatusType.Raw;
|
|
24
|
+
responsible_party: serializers.encounters.v4.ResponsiblePartyType.Raw;
|
|
24
25
|
}
|
|
25
26
|
}
|
|
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.EncounterBase = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.EncounterBase = core.serialization.object({
|
|
32
|
-
externalId: core.serialization.property("external_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EncounterExternalId)
|
|
32
|
+
externalId: core.serialization.property("external_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).EncounterExternalId)),
|
|
33
33
|
dateOfService: core.serialization.property("date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_)),
|
|
34
34
|
endDateOfService: core.serialization.property("end_date_of_service", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Date_).optional()),
|
|
35
35
|
priorAuthorizationNumber: core.serialization.property("prior_authorization_number", core.serialization
|
|
@@ -39,7 +39,6 @@ exports.EncounterBase = core.serialization.object({
|
|
|
39
39
|
benefitsAssignedToProvider: core.serialization.property("benefits_assigned_to_provider", core.serialization.boolean()),
|
|
40
40
|
providerAcceptsAssignment: core.serialization.property("provider_accepts_assignment", core.serialization.boolean()),
|
|
41
41
|
appointmentType: core.serialization.property("appointment_type", core.serialization.string().optional()),
|
|
42
|
-
doNotBill: core.serialization.property("do_not_bill", core.serialization.boolean().optional()),
|
|
43
42
|
existingMedications: core.serialization.property("existing_medications", core.serialization
|
|
44
43
|
.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.Medication))
|
|
45
44
|
.optional()),
|
|
@@ -51,4 +50,6 @@ exports.EncounterBase = core.serialization.object({
|
|
|
51
50
|
synchronicity: core.serialization
|
|
52
51
|
.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.SynchronicityType)
|
|
53
52
|
.optional(),
|
|
53
|
+
billableStatus: core.serialization.property("billable_status", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.BillableStatusType)),
|
|
54
|
+
responsibleParty: core.serialization.property("responsible_party", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).encounters.v4.ResponsiblePartyType)),
|
|
54
55
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const EncounterGuarantorMissingContactInfoErrorType: core.serialization.ObjectSchema<serializers.encounters.v4.EncounterGuarantorMissingContactInfoErrorType.Raw, CandidApi.encounters.v4.EncounterGuarantorMissingContactInfoErrorType>;
|
|
8
|
+
export declare namespace EncounterGuarantorMissingContactInfoErrorType {
|
|
9
|
+
interface Raw {
|
|
10
|
+
missing_fields: string[];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -26,8 +26,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.EncounterGuarantorMissingContactInfoErrorType = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
31
|
+
exports.EncounterGuarantorMissingContactInfoErrorType = core.serialization.object({
|
|
32
|
+
missingFields: core.serialization.property("missing_fields", core.serialization.list(core.serialization.string())),
|
|
33
33
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const ResponsiblePartyType: core.serialization.Schema<serializers.encounters.v4.ResponsiblePartyType.Raw, CandidApi.encounters.v4.ResponsiblePartyType>;
|
|
8
|
+
export declare namespace ResponsiblePartyType {
|
|
9
|
+
type Raw = "INSURANCE_PAY" | "SELF_PAY" | "UNKNOWN";
|
|
10
|
+
}
|
|
@@ -26,8 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.ResponsiblePartyType = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
name: core.serialization.string(),
|
|
33
|
-
});
|
|
31
|
+
exports.ResponsiblePartyType = core.serialization.enum_(["INSURANCE_PAY", "SELF_PAY", "UNKNOWN"]);
|
|
@@ -16,6 +16,8 @@ export * from "./ClinicalNoteCategoryCreate";
|
|
|
16
16
|
export * from "./ClinicalNoteCategory";
|
|
17
17
|
export * from "./NoteCategory";
|
|
18
18
|
export * from "./ClinicalNote";
|
|
19
|
+
export * from "./ResponsiblePartyType";
|
|
20
|
+
export * from "./BillableStatusType";
|
|
19
21
|
export * from "./SynchronicityType";
|
|
20
22
|
export * from "./CodingAttributionType";
|
|
21
23
|
export * from "./AttachmentId";
|
|
@@ -37,3 +39,4 @@ export * from "./RxCui";
|
|
|
37
39
|
export * from "./IntakeQuestionId";
|
|
38
40
|
export * from "./IntakeFollowUpId";
|
|
39
41
|
export * from "./EncounterExternalIdUniquenessErrorType";
|
|
42
|
+
export * from "./EncounterGuarantorMissingContactInfoErrorType";
|
|
@@ -32,6 +32,8 @@ __exportStar(require("./ClinicalNoteCategoryCreate"), exports);
|
|
|
32
32
|
__exportStar(require("./ClinicalNoteCategory"), exports);
|
|
33
33
|
__exportStar(require("./NoteCategory"), exports);
|
|
34
34
|
__exportStar(require("./ClinicalNote"), exports);
|
|
35
|
+
__exportStar(require("./ResponsiblePartyType"), exports);
|
|
36
|
+
__exportStar(require("./BillableStatusType"), exports);
|
|
35
37
|
__exportStar(require("./SynchronicityType"), exports);
|
|
36
38
|
__exportStar(require("./CodingAttributionType"), exports);
|
|
37
39
|
__exportStar(require("./AttachmentId"), exports);
|
|
@@ -53,3 +55,4 @@ __exportStar(require("./RxCui"), exports);
|
|
|
53
55
|
__exportStar(require("./IntakeQuestionId"), exports);
|
|
54
56
|
__exportStar(require("./IntakeFollowUpId"), exports);
|
|
55
57
|
__exportStar(require("./EncounterExternalIdUniquenessErrorType"), exports);
|
|
58
|
+
__exportStar(require("./EncounterGuarantorMissingContactInfoErrorType"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const Error: core.serialization.Schema<serializers.guarantor.v1.create.Error.Raw, CandidApi.guarantor.v1.create.Error>;
|
|
8
|
+
export declare namespace Error {
|
|
9
|
+
type Raw = Error.EncounterHasExistingGuarantorError;
|
|
10
|
+
interface EncounterHasExistingGuarantorError {
|
|
11
|
+
errorName: "EncounterHasExistingGuarantorError";
|
|
12
|
+
content: serializers.guarantor.v1.EncounterHasExistingGuarantorErrorType.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -26,14 +26,21 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../api"));
|
|
30
31
|
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
.union("
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
exports.Error = core.serialization
|
|
33
|
+
.union("errorName", {
|
|
34
|
+
EncounterHasExistingGuarantorError: core.serialization.object({
|
|
35
|
+
content: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).guarantor.v1.EncounterHasExistingGuarantorErrorType),
|
|
36
|
+
}),
|
|
35
37
|
})
|
|
36
38
|
.transform({
|
|
37
|
-
transform: (value) =>
|
|
38
|
-
|
|
39
|
+
transform: (value) => {
|
|
40
|
+
switch (value.errorName) {
|
|
41
|
+
case "EncounterHasExistingGuarantorError":
|
|
42
|
+
return CandidApi.guarantor.v1.create.Error.encounterHasExistingGuarantorError(value.content);
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
untransform: ({ _visit, ...value }) => value,
|
|
39
46
|
});
|
|
@@ -10,8 +10,22 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
11
11
|
o[k2] = m[k];
|
|
12
12
|
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
13
25
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
27
|
};
|
|
16
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.create = void 0;
|
|
30
|
+
exports.create = __importStar(require("./create"));
|
|
17
31
|
__exportStar(require("./requests"), exports);
|
package/dist/serialization/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.d.ts
CHANGED
|
@@ -10,8 +10,11 @@ export declare namespace GuarantorUpdate {
|
|
|
10
10
|
first_name?: string | null;
|
|
11
11
|
last_name?: string | null;
|
|
12
12
|
external_id?: string | null;
|
|
13
|
-
date_of_birth
|
|
14
|
-
address?: serializers.
|
|
15
|
-
|
|
13
|
+
date_of_birth?: string | null;
|
|
14
|
+
address?: serializers.StreetAddressShortZip.Raw | null;
|
|
15
|
+
phone_numbers?: serializers.PhoneNumber.Raw[] | null;
|
|
16
|
+
phone_consent?: boolean | null;
|
|
17
|
+
email?: serializers.Email.Raw | null;
|
|
18
|
+
email_consent?: boolean | null;
|
|
16
19
|
}
|
|
17
20
|
}
|
package/dist/serialization/resources/guarantor/resources/v1/client/requests/GuarantorUpdate.js
CHANGED
|
@@ -32,9 +32,14 @@ exports.GuarantorUpdate = core.serialization.object({
|
|
|
32
32
|
firstName: core.serialization.property("first_name", core.serialization.string().optional()),
|
|
33
33
|
lastName: core.serialization.property("last_name", core.serialization.string().optional()),
|
|
34
34
|
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
35
|
-
dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string()),
|
|
35
|
+
dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string().optional()),
|
|
36
36
|
address: core.serialization
|
|
37
|
-
.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).
|
|
37
|
+
.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).StreetAddressShortZip)
|
|
38
38
|
.optional(),
|
|
39
|
-
|
|
39
|
+
phoneNumbers: core.serialization.property("phone_numbers", core.serialization
|
|
40
|
+
.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).PhoneNumber))
|
|
41
|
+
.optional()),
|
|
42
|
+
phoneConsent: core.serialization.property("phone_consent", core.serialization.boolean().optional()),
|
|
43
|
+
email: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../..")))).Email).optional(),
|
|
44
|
+
emailConsent: core.serialization.property("email_consent", core.serialization.boolean().optional()),
|
|
40
45
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../..";
|
|
5
|
+
import * as CandidApi from "../../../../../../api";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const EncounterHasExistingGuarantorErrorType: core.serialization.ObjectSchema<serializers.guarantor.v1.EncounterHasExistingGuarantorErrorType.Raw, CandidApi.guarantor.v1.EncounterHasExistingGuarantorErrorType>;
|
|
8
|
+
export declare namespace EncounterHasExistingGuarantorErrorType {
|
|
9
|
+
interface Raw {
|
|
10
|
+
message: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -26,8 +26,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.EncounterHasExistingGuarantorErrorType = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
31
|
+
exports.EncounterHasExistingGuarantorErrorType = core.serialization.object({
|
|
32
|
+
message: core.serialization.string(),
|
|
33
33
|
});
|
|
@@ -8,5 +8,9 @@ export declare const Guarantor: core.serialization.ObjectSchema<serializers.guar
|
|
|
8
8
|
export declare namespace Guarantor {
|
|
9
9
|
interface Raw extends serializers.guarantor.v1.GuarantorBase.Raw {
|
|
10
10
|
guarantor_id: serializers.guarantor.v1.GuarantorId.Raw;
|
|
11
|
+
phone_numbers: serializers.PhoneNumber.Raw[];
|
|
12
|
+
phone_consent: boolean;
|
|
13
|
+
email?: serializers.Email.Raw | null;
|
|
14
|
+
email_consent: boolean;
|
|
11
15
|
}
|
|
12
16
|
}
|
|
@@ -31,5 +31,9 @@ const core = __importStar(require("../../../../../../core"));
|
|
|
31
31
|
exports.Guarantor = core.serialization
|
|
32
32
|
.object({
|
|
33
33
|
guarantorId: core.serialization.property("guarantor_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).guarantor.v1.GuarantorId)),
|
|
34
|
+
phoneNumbers: core.serialization.property("phone_numbers", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).PhoneNumber))),
|
|
35
|
+
phoneConsent: core.serialization.property("phone_consent", core.serialization.boolean()),
|
|
36
|
+
email: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Email).optional(),
|
|
37
|
+
emailConsent: core.serialization.property("email_consent", core.serialization.boolean()),
|
|
34
38
|
})
|
|
35
39
|
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).guarantor.v1.GuarantorBase));
|
|
@@ -11,7 +11,6 @@ export declare namespace GuarantorBase {
|
|
|
11
11
|
last_name: string;
|
|
12
12
|
external_id: string;
|
|
13
13
|
date_of_birth: string;
|
|
14
|
-
address: serializers.
|
|
15
|
-
contact_info: serializers.ContactInfo.Raw;
|
|
14
|
+
address: serializers.StreetAddressShortZip.Raw;
|
|
16
15
|
}
|
|
17
16
|
}
|
|
@@ -33,6 +33,5 @@ exports.GuarantorBase = core.serialization.object({
|
|
|
33
33
|
lastName: core.serialization.property("last_name", core.serialization.string()),
|
|
34
34
|
externalId: core.serialization.property("external_id", core.serialization.string()),
|
|
35
35
|
dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string()),
|
|
36
|
-
address: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).
|
|
37
|
-
contactInfo: core.serialization.property("contact_info", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ContactInfo)),
|
|
36
|
+
address: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).StreetAddressShortZip),
|
|
38
37
|
});
|
|
@@ -7,5 +7,9 @@ import * as core from "../../../../../../core";
|
|
|
7
7
|
export declare const GuarantorCreate: core.serialization.ObjectSchema<serializers.guarantor.v1.GuarantorCreate.Raw, CandidApi.guarantor.v1.GuarantorCreate>;
|
|
8
8
|
export declare namespace GuarantorCreate {
|
|
9
9
|
interface Raw extends serializers.guarantor.v1.GuarantorBase.Raw {
|
|
10
|
+
phone_numbers?: serializers.PhoneNumber.Raw[] | null;
|
|
11
|
+
phone_consent?: boolean | null;
|
|
12
|
+
email?: serializers.Email.Raw | null;
|
|
13
|
+
email_consent?: boolean | null;
|
|
10
14
|
}
|
|
11
15
|
}
|
|
@@ -29,5 +29,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.GuarantorCreate = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
exports.GuarantorCreate = core.serialization
|
|
32
|
-
.object({
|
|
32
|
+
.object({
|
|
33
|
+
phoneNumbers: core.serialization.property("phone_numbers", core.serialization
|
|
34
|
+
.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).PhoneNumber))
|
|
35
|
+
.optional()),
|
|
36
|
+
phoneConsent: core.serialization.property("phone_consent", core.serialization.boolean().optional()),
|
|
37
|
+
email: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Email).optional(),
|
|
38
|
+
emailConsent: core.serialization.property("email_consent", core.serialization.boolean().optional()),
|
|
39
|
+
})
|
|
33
40
|
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).guarantor.v1.GuarantorBase));
|
|
@@ -18,3 +18,4 @@ __exportStar(require("./GuarantorId"), exports);
|
|
|
18
18
|
__exportStar(require("./GuarantorBase"), exports);
|
|
19
19
|
__exportStar(require("./Guarantor"), exports);
|
|
20
20
|
__exportStar(require("./GuarantorCreate"), exports);
|
|
21
|
+
__exportStar(require("./EncounterHasExistingGuarantorErrorType"), exports);
|
|
@@ -5,7 +5,6 @@ export * as guarantor from "./guarantor";
|
|
|
5
5
|
export * as organizationProviders from "./organizationProviders";
|
|
6
6
|
export * as patientPayments from "./patientPayments";
|
|
7
7
|
export * as tasks from "./tasks";
|
|
8
|
-
export * as users from "./users";
|
|
9
8
|
export * as workQueues from "./workQueues";
|
|
10
9
|
export * as billingNotes from "./billingNotes";
|
|
11
10
|
export * from "./billingNotes/types";
|
|
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.tags = exports.serviceLines = exports.serviceFacility = exports.payers = exports.invoices = exports.insuranceCard = exports.individual = exports.expectedNetworkStatus = exports.era = exports.diagnoses = exports.credentialing = exports.contracts = exports.commons = exports.claims = exports.billingNotes = exports.workQueues = exports.
|
|
29
|
+
exports.tags = exports.serviceLines = exports.serviceFacility = exports.payers = exports.invoices = exports.insuranceCard = exports.individual = exports.expectedNetworkStatus = exports.era = exports.diagnoses = exports.credentialing = exports.contracts = exports.commons = exports.claims = exports.billingNotes = exports.workQueues = exports.tasks = exports.patientPayments = exports.organizationProviders = exports.guarantor = exports.encounters = exports.encounterProviders = exports.auth = void 0;
|
|
30
30
|
exports.auth = __importStar(require("./auth"));
|
|
31
31
|
exports.encounterProviders = __importStar(require("./encounterProviders"));
|
|
32
32
|
exports.encounters = __importStar(require("./encounters"));
|
|
@@ -34,7 +34,6 @@ exports.guarantor = __importStar(require("./guarantor"));
|
|
|
34
34
|
exports.organizationProviders = __importStar(require("./organizationProviders"));
|
|
35
35
|
exports.patientPayments = __importStar(require("./patientPayments"));
|
|
36
36
|
exports.tasks = __importStar(require("./tasks"));
|
|
37
|
-
exports.users = __importStar(require("./users"));
|
|
38
37
|
exports.workQueues = __importStar(require("./workQueues"));
|
|
39
38
|
exports.billingNotes = __importStar(require("./billingNotes"));
|
|
40
39
|
__exportStar(require("./billingNotes/types"), exports);
|
|
@@ -8,5 +8,9 @@ export declare const Patient: core.serialization.ObjectSchema<serializers.Patien
|
|
|
8
8
|
export declare namespace Patient {
|
|
9
9
|
interface Raw extends serializers.PatientBase.Raw {
|
|
10
10
|
individual_id: serializers.IndividualId.Raw;
|
|
11
|
+
phone_numbers: serializers.PhoneNumber.Raw[];
|
|
12
|
+
phone_consent: boolean;
|
|
13
|
+
email?: serializers.Email.Raw | null;
|
|
14
|
+
email_consent: boolean;
|
|
11
15
|
}
|
|
12
16
|
}
|
|
@@ -31,5 +31,9 @@ const core = __importStar(require("../../../../core"));
|
|
|
31
31
|
exports.Patient = core.serialization
|
|
32
32
|
.object({
|
|
33
33
|
individualId: core.serialization.property("individual_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).IndividualId)),
|
|
34
|
+
phoneNumbers: core.serialization.property("phone_numbers", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).PhoneNumber))),
|
|
35
|
+
phoneConsent: core.serialization.property("phone_consent", core.serialization.boolean()),
|
|
36
|
+
email: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).Email).optional(),
|
|
37
|
+
emailConsent: core.serialization.property("email_consent", core.serialization.boolean()),
|
|
34
38
|
})
|
|
35
39
|
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).PatientBase));
|
|
@@ -33,6 +33,5 @@ exports.PatientBase = core.serialization
|
|
|
33
33
|
externalId: core.serialization.property("external_id", core.serialization.string()),
|
|
34
34
|
dateOfBirth: core.serialization.property("date_of_birth", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).Date_)),
|
|
35
35
|
address: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).StreetAddressShortZip),
|
|
36
|
-
contactInfo: core.serialization.property("contact_info", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ContactInfo).optional()),
|
|
37
36
|
})
|
|
38
37
|
.extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).IndividualBase));
|
|
@@ -7,5 +7,9 @@ import * as core from "../../../../core";
|
|
|
7
7
|
export declare const PatientCreate: core.serialization.ObjectSchema<serializers.PatientCreate.Raw, CandidApi.PatientCreate>;
|
|
8
8
|
export declare namespace PatientCreate {
|
|
9
9
|
interface Raw extends serializers.PatientBase.Raw {
|
|
10
|
+
phone_numbers?: serializers.PhoneNumber.Raw[] | null;
|
|
11
|
+
phone_consent?: boolean | null;
|
|
12
|
+
email?: serializers.Email.Raw | null;
|
|
13
|
+
email_consent?: boolean | null;
|
|
10
14
|
}
|
|
11
15
|
}
|