candidhealth 0.43.1 → 0.45.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/resources/v2/client/Client.js +3 -3
- package/api/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
- package/api/resources/billingNotes/resources/v2/types/index.js +0 -1
- package/api/resources/chargeCapture/resources/v1/client/Client.js +6 -6
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +27 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- package/api/resources/commons/types/StreetAddressOptionalBase.d.ts +12 -0
- package/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
- package/api/resources/commons/types/index.d.ts +2 -0
- package/api/resources/commons/types/index.js +2 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
- package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
- package/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
- package/api/resources/encounters/resources/v4/client/Client.d.ts +128 -0
- package/api/resources/encounters/resources/v4/client/Client.js +133 -5
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -0
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +168 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -26
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
- package/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
- package/api/resources/individual/types/index.d.ts +1 -0
- package/api/resources/individual/types/index.js +1 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
- package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
- package/api/resources/serviceFacility/types/index.d.ts +1 -0
- package/api/resources/serviceFacility/types/index.js +1 -0
- package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
- package/dist/api/resources/billingNotes/resources/v2/types/index.js +0 -1
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +27 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/commons/types/StreetAddressOptionalBase.d.ts +12 -0
- package/dist/api/resources/commons/types/StreetAddressOptionalBase.js +5 -0
- package/dist/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
- package/dist/api/resources/commons/types/StreetAddressShortZipOptional.js +5 -0
- package/dist/api/resources/commons/types/index.d.ts +2 -0
- package/dist/api/resources/commons/types/index.js +2 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +128 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.js +133 -5
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +168 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -26
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
- package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/individual/types/index.d.ts +1 -0
- package/dist/api/resources/individual/types/index.js +1 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/serviceFacility/types/index.d.ts +1 -0
- package/dist/api/resources/serviceFacility/types/index.js +1 -0
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/serialization/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
- package/dist/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
- package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
- package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
- package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
- package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
- package/dist/serialization/resources/commons/types/index.d.ts +2 -0
- package/dist/serialization/resources/commons/types/index.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
- package/dist/serialization/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js} +10 -11
- package/dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/{serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js} +8 -11
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -16
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
- package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
- package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
- package/dist/serialization/resources/individual/types/index.d.ts +1 -0
- package/dist/serialization/resources/individual/types/index.js +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
- package/dist/serialization/resources/serviceFacility/types/index.d.ts +1 -0
- package/dist/serialization/resources/serviceFacility/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +134 -0
- package/serialization/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
- package/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
- package/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
- package/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
- package/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
- package/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
- package/serialization/resources/commons/types/index.d.ts +2 -0
- package/serialization/resources/commons/types/index.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
- package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
- package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +51 -0
- package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +49 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
- package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -16
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
- package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
- package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
- package/serialization/resources/individual/types/index.d.ts +1 -0
- package/serialization/resources/individual/types/index.js +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
- package/serialization/resources/serviceFacility/types/index.d.ts +1 -0
- package/serialization/resources/serviceFacility/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
- package/dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
- package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
- package/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
- /package/api/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → commons/types/StreetAddressOptionalBase.js} +0 -0
- /package/{dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → api/resources/commons/types/StreetAddressShortZipOptional.js} +0 -0
|
@@ -36,17 +36,16 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.InitialReferringProviderUpdateWithOptionalAddress = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../core"));
|
|
41
|
-
const
|
|
42
|
-
const
|
|
43
|
-
const
|
|
44
|
-
exports.
|
|
41
|
+
const StreetAddressShortZipOptional_1 = require("../../../../commons/types/StreetAddressShortZipOptional");
|
|
42
|
+
const QualifierCode_1 = require("../../../../commons/types/QualifierCode");
|
|
43
|
+
const EncounterProviderBase_1 = require("./EncounterProviderBase");
|
|
44
|
+
exports.InitialReferringProviderUpdateWithOptionalAddress = core.serialization
|
|
45
45
|
.object({
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
authorName: core.serialization.property("author_name", core.serialization.string().optional()),
|
|
46
|
+
npi: core.serialization.string().optional(),
|
|
47
|
+
taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
|
|
48
|
+
address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
|
|
49
|
+
qualifier: QualifierCode_1.QualifierCode.optional(),
|
|
51
50
|
})
|
|
52
|
-
.extend(
|
|
51
|
+
.extend(EncounterProviderBase_1.EncounterProviderBase);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { StreetAddressShortZipOptional } from "../../../../commons/types/StreetAddressShortZipOptional";
|
|
8
|
+
import { EncounterProviderBase } from "./EncounterProviderBase";
|
|
9
|
+
export declare const ReferringProviderUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.encounterProviders.v2.ReferringProviderUpdateWithOptionalAddress.Raw, CandidApi.encounterProviders.v2.ReferringProviderUpdateWithOptionalAddress>;
|
|
10
|
+
export declare namespace ReferringProviderUpdateWithOptionalAddress {
|
|
11
|
+
interface Raw extends EncounterProviderBase.Raw {
|
|
12
|
+
npi?: string | null;
|
|
13
|
+
taxonomy_code?: string | null;
|
|
14
|
+
address?: StreetAddressShortZipOptional.Raw | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -36,17 +36,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.ReferringProviderUpdateWithOptionalAddress = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../core"));
|
|
41
|
-
const
|
|
42
|
-
const
|
|
43
|
-
|
|
44
|
-
exports.BillingNoteOptional = core.serialization
|
|
41
|
+
const StreetAddressShortZipOptional_1 = require("../../../../commons/types/StreetAddressShortZipOptional");
|
|
42
|
+
const EncounterProviderBase_1 = require("./EncounterProviderBase");
|
|
43
|
+
exports.ReferringProviderUpdateWithOptionalAddress = core.serialization
|
|
45
44
|
.object({
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
authorAuth0Id: core.serialization.property("author_auth0_id", core.serialization.string().optional()),
|
|
50
|
-
authorName: core.serialization.property("author_name", core.serialization.string().optional()),
|
|
45
|
+
npi: core.serialization.string().optional(),
|
|
46
|
+
taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
|
|
47
|
+
address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
|
|
51
48
|
})
|
|
52
|
-
.extend(
|
|
49
|
+
.extend(EncounterProviderBase_1.EncounterProviderBase);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { StreetAddressShortZipOptional } from "../../../../commons/types/StreetAddressShortZipOptional";
|
|
8
|
+
import { EncounterProviderBase } from "./EncounterProviderBase";
|
|
9
|
+
export declare const RenderingProviderUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.encounterProviders.v2.RenderingProviderUpdateWithOptionalAddress.Raw, CandidApi.encounterProviders.v2.RenderingProviderUpdateWithOptionalAddress>;
|
|
10
|
+
export declare namespace RenderingProviderUpdateWithOptionalAddress {
|
|
11
|
+
interface Raw extends EncounterProviderBase.Raw {
|
|
12
|
+
npi?: string | null;
|
|
13
|
+
taxonomy_code?: string | null;
|
|
14
|
+
address?: StreetAddressShortZipOptional.Raw | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.RenderingProviderUpdateWithOptionalAddress = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const StreetAddressShortZipOptional_1 = require("../../../../commons/types/StreetAddressShortZipOptional");
|
|
42
|
+
const EncounterProviderBase_1 = require("./EncounterProviderBase");
|
|
43
|
+
exports.RenderingProviderUpdateWithOptionalAddress = core.serialization
|
|
44
|
+
.object({
|
|
45
|
+
npi: core.serialization.string().optional(),
|
|
46
|
+
taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
|
|
47
|
+
address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
|
|
48
|
+
})
|
|
49
|
+
.extend(EncounterProviderBase_1.EncounterProviderBase);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { StreetAddressShortZipOptional } from "../../../../commons/types/StreetAddressShortZipOptional";
|
|
8
|
+
import { EncounterProviderBase } from "./EncounterProviderBase";
|
|
9
|
+
export declare const SupervisingProviderUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.encounterProviders.v2.SupervisingProviderUpdateWithOptionalAddress.Raw, CandidApi.encounterProviders.v2.SupervisingProviderUpdateWithOptionalAddress>;
|
|
10
|
+
export declare namespace SupervisingProviderUpdateWithOptionalAddress {
|
|
11
|
+
interface Raw extends EncounterProviderBase.Raw {
|
|
12
|
+
npi?: string | null;
|
|
13
|
+
taxonomy_code?: string | null;
|
|
14
|
+
address?: StreetAddressShortZipOptional.Raw | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SupervisingProviderUpdateWithOptionalAddress = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const StreetAddressShortZipOptional_1 = require("../../../../commons/types/StreetAddressShortZipOptional");
|
|
42
|
+
const EncounterProviderBase_1 = require("./EncounterProviderBase");
|
|
43
|
+
exports.SupervisingProviderUpdateWithOptionalAddress = core.serialization
|
|
44
|
+
.object({
|
|
45
|
+
npi: core.serialization.string().optional(),
|
|
46
|
+
taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
|
|
47
|
+
address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
|
|
48
|
+
})
|
|
49
|
+
.extend(EncounterProviderBase_1.EncounterProviderBase);
|
|
@@ -11,5 +11,10 @@ export * from "./OrderingProvider";
|
|
|
11
11
|
export * from "./OrderingProviderUpdate";
|
|
12
12
|
export * from "./BillingProvider";
|
|
13
13
|
export * from "./BillingProviderUpdate";
|
|
14
|
+
export * from "./BillingProviderUpdateWithOptionalAddress";
|
|
15
|
+
export * from "./RenderingProviderUpdateWithOptionalAddress";
|
|
16
|
+
export * from "./InitialReferringProviderUpdateWithOptionalAddress";
|
|
17
|
+
export * from "./ReferringProviderUpdateWithOptionalAddress";
|
|
18
|
+
export * from "./SupervisingProviderUpdateWithOptionalAddress";
|
|
14
19
|
export * from "./ProviderId";
|
|
15
20
|
export * from "./EncounterProvider";
|
|
@@ -27,5 +27,10 @@ __exportStar(require("./OrderingProvider"), exports);
|
|
|
27
27
|
__exportStar(require("./OrderingProviderUpdate"), exports);
|
|
28
28
|
__exportStar(require("./BillingProvider"), exports);
|
|
29
29
|
__exportStar(require("./BillingProviderUpdate"), exports);
|
|
30
|
+
__exportStar(require("./BillingProviderUpdateWithOptionalAddress"), exports);
|
|
31
|
+
__exportStar(require("./RenderingProviderUpdateWithOptionalAddress"), exports);
|
|
32
|
+
__exportStar(require("./InitialReferringProviderUpdateWithOptionalAddress"), exports);
|
|
33
|
+
__exportStar(require("./ReferringProviderUpdateWithOptionalAddress"), exports);
|
|
34
|
+
__exportStar(require("./SupervisingProviderUpdateWithOptionalAddress"), exports);
|
|
30
35
|
__exportStar(require("./ProviderId"), exports);
|
|
31
36
|
__exportStar(require("./EncounterProvider"), exports);
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js
CHANGED
|
@@ -88,5 +88,6 @@ exports.EncounterCreate = core.serialization
|
|
|
88
88
|
referralNumber: core.serialization.property("referral_number", core.serialization.string().optional()),
|
|
89
89
|
epsdtReferral: core.serialization.property("epsdt_referral", EpsdtReferral_1.EpsdtReferral.optional()),
|
|
90
90
|
claimSupplementalInformation: core.serialization.property("claim_supplemental_information", core.serialization.list(ClaimSupplementalInformation_1.ClaimSupplementalInformation).optional()),
|
|
91
|
+
secondaryPayerCarrierCode: core.serialization.property("secondary_payer_carrier_code", core.serialization.string().optional()),
|
|
91
92
|
})
|
|
92
93
|
.extend(EncounterBase_1.EncounterBase);
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts
CHANGED
|
@@ -4,13 +4,29 @@
|
|
|
4
4
|
import * as serializers from "../../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../../core";
|
|
7
|
+
import { StreetAddressLongZip } from "../../../../../commons/types/StreetAddressLongZip";
|
|
7
8
|
import { DiagnosisId } from "../../../../../diagnoses/types/DiagnosisId";
|
|
9
|
+
import { InitialReferringProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdate";
|
|
10
|
+
import { ReferringProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/ReferringProviderUpdate";
|
|
11
|
+
import { PatientUpdate } from "../../../../../individual/types/PatientUpdate";
|
|
12
|
+
import { RenderingProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/RenderingProviderUpdate";
|
|
13
|
+
import { EncounterServiceFacilityUpdate } from "../../../../../serviceFacility/types/EncounterServiceFacilityUpdate";
|
|
14
|
+
import { SupervisingProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdate";
|
|
15
|
+
import { BillingProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/BillingProviderUpdate";
|
|
8
16
|
import { FacilityTypeCode } from "../../../../../commons/types/FacilityTypeCode";
|
|
9
17
|
import { EncounterOptional } from "../../types/EncounterOptional";
|
|
10
18
|
export declare const EncounterUpdate: core.serialization.Schema<serializers.encounters.v4.EncounterUpdate.Raw, CandidApi.encounters.v4.EncounterUpdate>;
|
|
11
19
|
export declare namespace EncounterUpdate {
|
|
12
20
|
interface Raw extends EncounterOptional.Raw {
|
|
21
|
+
pay_to_address?: StreetAddressLongZip.Raw | null;
|
|
13
22
|
diagnosis_ids?: DiagnosisId.Raw[] | null;
|
|
23
|
+
initial_referring_provider?: InitialReferringProviderUpdate.Raw | null;
|
|
24
|
+
referring_provider?: ReferringProviderUpdate.Raw | null;
|
|
25
|
+
patient?: PatientUpdate.Raw | null;
|
|
26
|
+
rendering_provider?: RenderingProviderUpdate.Raw | null;
|
|
27
|
+
service_facility?: EncounterServiceFacilityUpdate.Raw | null;
|
|
28
|
+
supervising_provider?: SupervisingProviderUpdate.Raw | null;
|
|
29
|
+
billing_provider?: BillingProviderUpdate.Raw | null;
|
|
14
30
|
place_of_service_code_as_submitted?: FacilityTypeCode.Raw | null;
|
|
15
31
|
}
|
|
16
32
|
}
|
package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js
CHANGED
|
@@ -38,12 +38,28 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.EncounterUpdate = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../../../../core"));
|
|
41
|
+
const StreetAddressLongZip_1 = require("../../../../../commons/types/StreetAddressLongZip");
|
|
41
42
|
const DiagnosisId_1 = require("../../../../../diagnoses/types/DiagnosisId");
|
|
43
|
+
const InitialReferringProviderUpdate_1 = require("../../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdate");
|
|
44
|
+
const ReferringProviderUpdate_1 = require("../../../../../encounterProviders/resources/v2/types/ReferringProviderUpdate");
|
|
45
|
+
const PatientUpdate_1 = require("../../../../../individual/types/PatientUpdate");
|
|
46
|
+
const RenderingProviderUpdate_1 = require("../../../../../encounterProviders/resources/v2/types/RenderingProviderUpdate");
|
|
47
|
+
const EncounterServiceFacilityUpdate_1 = require("../../../../../serviceFacility/types/EncounterServiceFacilityUpdate");
|
|
48
|
+
const SupervisingProviderUpdate_1 = require("../../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdate");
|
|
49
|
+
const BillingProviderUpdate_1 = require("../../../../../encounterProviders/resources/v2/types/BillingProviderUpdate");
|
|
42
50
|
const FacilityTypeCode_1 = require("../../../../../commons/types/FacilityTypeCode");
|
|
43
51
|
const EncounterOptional_1 = require("../../types/EncounterOptional");
|
|
44
52
|
exports.EncounterUpdate = core.serialization
|
|
45
53
|
.object({
|
|
54
|
+
payToAddress: core.serialization.property("pay_to_address", StreetAddressLongZip_1.StreetAddressLongZip.optional()),
|
|
46
55
|
diagnosisIds: core.serialization.property("diagnosis_ids", core.serialization.list(DiagnosisId_1.DiagnosisId).optional()),
|
|
56
|
+
initialReferringProvider: core.serialization.property("initial_referring_provider", InitialReferringProviderUpdate_1.InitialReferringProviderUpdate.optional()),
|
|
57
|
+
referringProvider: core.serialization.property("referring_provider", ReferringProviderUpdate_1.ReferringProviderUpdate.optional()),
|
|
58
|
+
patient: PatientUpdate_1.PatientUpdate.optional(),
|
|
59
|
+
renderingProvider: core.serialization.property("rendering_provider", RenderingProviderUpdate_1.RenderingProviderUpdate.optional()),
|
|
60
|
+
serviceFacility: core.serialization.property("service_facility", EncounterServiceFacilityUpdate_1.EncounterServiceFacilityUpdate.optional()),
|
|
61
|
+
supervisingProvider: core.serialization.property("supervising_provider", SupervisingProviderUpdate_1.SupervisingProviderUpdate.optional()),
|
|
62
|
+
billingProvider: core.serialization.property("billing_provider", BillingProviderUpdate_1.BillingProviderUpdate.optional()),
|
|
47
63
|
placeOfServiceCodeAsSubmitted: core.serialization.property("place_of_service_code_as_submitted", FacilityTypeCode_1.FacilityTypeCode.optional()),
|
|
48
64
|
})
|
|
49
65
|
.extend(EncounterOptional_1.EncounterOptional);
|
|
@@ -66,6 +66,7 @@ export declare namespace Encounter {
|
|
|
66
66
|
referral_number?: string | null;
|
|
67
67
|
epsdt_referral?: EpsdtReferral.Raw | null;
|
|
68
68
|
claim_supplemental_information?: ClaimSupplementalInformation.Raw[] | null;
|
|
69
|
+
secondary_payer_carrier_code?: string | null;
|
|
69
70
|
last_submitted_at?: string | null;
|
|
70
71
|
created_at: string;
|
|
71
72
|
}
|
|
@@ -99,6 +99,7 @@ exports.Encounter = core.serialization
|
|
|
99
99
|
referralNumber: core.serialization.property("referral_number", core.serialization.string().optional()),
|
|
100
100
|
epsdtReferral: core.serialization.property("epsdt_referral", EpsdtReferral_1.EpsdtReferral.optional()),
|
|
101
101
|
claimSupplementalInformation: core.serialization.property("claim_supplemental_information", core.serialization.list(ClaimSupplementalInformation_1.ClaimSupplementalInformation).optional()),
|
|
102
|
+
secondaryPayerCarrierCode: core.serialization.property("secondary_payer_carrier_code", core.serialization.string().optional()),
|
|
102
103
|
lastSubmittedAt: core.serialization.property("last_submitted_at", core.serialization.date().optional()),
|
|
103
104
|
createdAt: core.serialization.property("created_at", core.serialization.date()),
|
|
104
105
|
})
|
|
@@ -8,7 +8,6 @@ import { PriorAuthorizationNumber } from "./PriorAuthorizationNumber";
|
|
|
8
8
|
import { EncounterExternalId } from "../../../../commons/types/EncounterExternalId";
|
|
9
9
|
import { TagId } from "../../../../tags/types/TagId";
|
|
10
10
|
import { ClinicalNoteCategoryCreate } from "./ClinicalNoteCategoryCreate";
|
|
11
|
-
import { StreetAddressLongZip } from "../../../../commons/types/StreetAddressLongZip";
|
|
12
11
|
import { BillableStatusType } from "./BillableStatusType";
|
|
13
12
|
import { ResponsiblePartyType } from "./ResponsiblePartyType";
|
|
14
13
|
import { SynchronicityType } from "./SynchronicityType";
|
|
@@ -16,17 +15,10 @@ import { FacilityTypeCode } from "../../../../commons/types/FacilityTypeCode";
|
|
|
16
15
|
import { SubscriberCreate } from "../../../../individual/types/SubscriberCreate";
|
|
17
16
|
import { ServiceAuthorizationExceptionCode } from "./ServiceAuthorizationExceptionCode";
|
|
18
17
|
import { DelayReasonCode } from "../../../../commons/types/DelayReasonCode";
|
|
19
|
-
import { PatientUpdate } from "../../../../individual/types/PatientUpdate";
|
|
20
18
|
import { SchemaInstance } from "../../../../customSchemas/resources/v1/types/SchemaInstance";
|
|
21
19
|
import { VitalsUpdate } from "./VitalsUpdate";
|
|
22
20
|
import { Medication } from "./Medication";
|
|
23
|
-
import { RenderingProviderUpdate } from "../../../../encounterProviders/resources/v2/types/RenderingProviderUpdate";
|
|
24
|
-
import { EncounterServiceFacilityUpdate } from "../../../../serviceFacility/types/EncounterServiceFacilityUpdate";
|
|
25
21
|
import { GuarantorUpdate } from "../../../../guarantor/resources/v1/types/GuarantorUpdate";
|
|
26
|
-
import { BillingProviderUpdate } from "../../../../encounterProviders/resources/v2/types/BillingProviderUpdate";
|
|
27
|
-
import { SupervisingProviderUpdate } from "../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdate";
|
|
28
|
-
import { ReferringProviderUpdate } from "../../../../encounterProviders/resources/v2/types/ReferringProviderUpdate";
|
|
29
|
-
import { InitialReferringProviderUpdate } from "../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdate";
|
|
30
22
|
import { EpsdtReferral } from "./EpsdtReferral";
|
|
31
23
|
import { ClaimSupplementalInformation } from "./ClaimSupplementalInformation";
|
|
32
24
|
export declare const EncounterOptional: core.serialization.ObjectSchema<serializers.encounters.v4.EncounterOptional.Raw, CandidApi.encounters.v4.EncounterOptional>;
|
|
@@ -38,7 +30,6 @@ export declare namespace EncounterOptional {
|
|
|
38
30
|
date_of_service?: string | null;
|
|
39
31
|
tag_ids?: TagId.Raw[] | null;
|
|
40
32
|
clinical_notes?: ClinicalNoteCategoryCreate.Raw[] | null;
|
|
41
|
-
pay_to_address?: StreetAddressLongZip.Raw | null;
|
|
42
33
|
billable_status?: BillableStatusType.Raw | null;
|
|
43
34
|
responsible_party?: ResponsiblePartyType.Raw | null;
|
|
44
35
|
provider_accepts_assignment?: boolean | null;
|
|
@@ -56,20 +47,14 @@ export declare namespace EncounterOptional {
|
|
|
56
47
|
onset_of_current_illness_or_symptom_date?: string | null;
|
|
57
48
|
last_menstrual_period_date?: string | null;
|
|
58
49
|
delay_reason_code?: DelayReasonCode.Raw | null;
|
|
59
|
-
patient?: PatientUpdate.Raw | null;
|
|
60
50
|
patient_authorized_release?: boolean | null;
|
|
61
51
|
schema_instances?: SchemaInstance.Raw[] | null;
|
|
62
52
|
vitals?: VitalsUpdate.Raw | null;
|
|
63
53
|
existing_medications?: Medication.Raw[] | null;
|
|
64
|
-
rendering_provider?: RenderingProviderUpdate.Raw | null;
|
|
65
|
-
service_facility?: EncounterServiceFacilityUpdate.Raw | null;
|
|
66
54
|
guarantor?: GuarantorUpdate.Raw | null;
|
|
67
|
-
billing_provider?: BillingProviderUpdate.Raw | null;
|
|
68
|
-
supervising_provider?: SupervisingProviderUpdate.Raw | null;
|
|
69
|
-
referring_provider?: ReferringProviderUpdate.Raw | null;
|
|
70
|
-
initial_referring_provider?: InitialReferringProviderUpdate.Raw | null;
|
|
71
55
|
referral_number?: string | null;
|
|
72
56
|
epsdt_referral?: EpsdtReferral.Raw | null;
|
|
73
57
|
claim_supplemental_information?: ClaimSupplementalInformation.Raw[] | null;
|
|
58
|
+
secondary_payer_carrier_code?: string | null;
|
|
74
59
|
}
|
|
75
60
|
}
|
|
@@ -42,7 +42,6 @@ const PriorAuthorizationNumber_1 = require("./PriorAuthorizationNumber");
|
|
|
42
42
|
const EncounterExternalId_1 = require("../../../../commons/types/EncounterExternalId");
|
|
43
43
|
const TagId_1 = require("../../../../tags/types/TagId");
|
|
44
44
|
const ClinicalNoteCategoryCreate_1 = require("./ClinicalNoteCategoryCreate");
|
|
45
|
-
const StreetAddressLongZip_1 = require("../../../../commons/types/StreetAddressLongZip");
|
|
46
45
|
const BillableStatusType_1 = require("./BillableStatusType");
|
|
47
46
|
const ResponsiblePartyType_1 = require("./ResponsiblePartyType");
|
|
48
47
|
const SynchronicityType_1 = require("./SynchronicityType");
|
|
@@ -50,17 +49,10 @@ const FacilityTypeCode_1 = require("../../../../commons/types/FacilityTypeCode")
|
|
|
50
49
|
const SubscriberCreate_1 = require("../../../../individual/types/SubscriberCreate");
|
|
51
50
|
const ServiceAuthorizationExceptionCode_1 = require("./ServiceAuthorizationExceptionCode");
|
|
52
51
|
const DelayReasonCode_1 = require("../../../../commons/types/DelayReasonCode");
|
|
53
|
-
const PatientUpdate_1 = require("../../../../individual/types/PatientUpdate");
|
|
54
52
|
const SchemaInstance_1 = require("../../../../customSchemas/resources/v1/types/SchemaInstance");
|
|
55
53
|
const VitalsUpdate_1 = require("./VitalsUpdate");
|
|
56
54
|
const Medication_1 = require("./Medication");
|
|
57
|
-
const RenderingProviderUpdate_1 = require("../../../../encounterProviders/resources/v2/types/RenderingProviderUpdate");
|
|
58
|
-
const EncounterServiceFacilityUpdate_1 = require("../../../../serviceFacility/types/EncounterServiceFacilityUpdate");
|
|
59
55
|
const GuarantorUpdate_1 = require("../../../../guarantor/resources/v1/types/GuarantorUpdate");
|
|
60
|
-
const BillingProviderUpdate_1 = require("../../../../encounterProviders/resources/v2/types/BillingProviderUpdate");
|
|
61
|
-
const SupervisingProviderUpdate_1 = require("../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdate");
|
|
62
|
-
const ReferringProviderUpdate_1 = require("../../../../encounterProviders/resources/v2/types/ReferringProviderUpdate");
|
|
63
|
-
const InitialReferringProviderUpdate_1 = require("../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdate");
|
|
64
56
|
const EpsdtReferral_1 = require("./EpsdtReferral");
|
|
65
57
|
const ClaimSupplementalInformation_1 = require("./ClaimSupplementalInformation");
|
|
66
58
|
exports.EncounterOptional = core.serialization.object({
|
|
@@ -70,7 +62,6 @@ exports.EncounterOptional = core.serialization.object({
|
|
|
70
62
|
dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
|
|
71
63
|
tagIds: core.serialization.property("tag_ids", core.serialization.list(TagId_1.TagId).optional()),
|
|
72
64
|
clinicalNotes: core.serialization.property("clinical_notes", core.serialization.list(ClinicalNoteCategoryCreate_1.ClinicalNoteCategoryCreate).optional()),
|
|
73
|
-
payToAddress: core.serialization.property("pay_to_address", StreetAddressLongZip_1.StreetAddressLongZip.optional()),
|
|
74
65
|
billableStatus: core.serialization.property("billable_status", BillableStatusType_1.BillableStatusType.optional()),
|
|
75
66
|
responsibleParty: core.serialization.property("responsible_party", ResponsiblePartyType_1.ResponsiblePartyType.optional()),
|
|
76
67
|
providerAcceptsAssignment: core.serialization.property("provider_accepts_assignment", core.serialization.boolean().optional()),
|
|
@@ -88,19 +79,13 @@ exports.EncounterOptional = core.serialization.object({
|
|
|
88
79
|
onsetOfCurrentIllnessOrSymptomDate: core.serialization.property("onset_of_current_illness_or_symptom_date", core.serialization.string().optional()),
|
|
89
80
|
lastMenstrualPeriodDate: core.serialization.property("last_menstrual_period_date", core.serialization.string().optional()),
|
|
90
81
|
delayReasonCode: core.serialization.property("delay_reason_code", DelayReasonCode_1.DelayReasonCode.optional()),
|
|
91
|
-
patient: PatientUpdate_1.PatientUpdate.optional(),
|
|
92
82
|
patientAuthorizedRelease: core.serialization.property("patient_authorized_release", core.serialization.boolean().optional()),
|
|
93
83
|
schemaInstances: core.serialization.property("schema_instances", core.serialization.list(SchemaInstance_1.SchemaInstance).optional()),
|
|
94
84
|
vitals: VitalsUpdate_1.VitalsUpdate.optional(),
|
|
95
85
|
existingMedications: core.serialization.property("existing_medications", core.serialization.list(Medication_1.Medication).optional()),
|
|
96
|
-
renderingProvider: core.serialization.property("rendering_provider", RenderingProviderUpdate_1.RenderingProviderUpdate.optional()),
|
|
97
|
-
serviceFacility: core.serialization.property("service_facility", EncounterServiceFacilityUpdate_1.EncounterServiceFacilityUpdate.optional()),
|
|
98
86
|
guarantor: GuarantorUpdate_1.GuarantorUpdate.optional(),
|
|
99
|
-
billingProvider: core.serialization.property("billing_provider", BillingProviderUpdate_1.BillingProviderUpdate.optional()),
|
|
100
|
-
supervisingProvider: core.serialization.property("supervising_provider", SupervisingProviderUpdate_1.SupervisingProviderUpdate.optional()),
|
|
101
|
-
referringProvider: core.serialization.property("referring_provider", ReferringProviderUpdate_1.ReferringProviderUpdate.optional()),
|
|
102
|
-
initialReferringProvider: core.serialization.property("initial_referring_provider", InitialReferringProviderUpdate_1.InitialReferringProviderUpdate.optional()),
|
|
103
87
|
referralNumber: core.serialization.property("referral_number", core.serialization.string().optional()),
|
|
104
88
|
epsdtReferral: core.serialization.property("epsdt_referral", EpsdtReferral_1.EpsdtReferral.optional()),
|
|
105
89
|
claimSupplementalInformation: core.serialization.property("claim_supplemental_information", core.serialization.list(ClaimSupplementalInformation_1.ClaimSupplementalInformation).optional()),
|
|
90
|
+
secondaryPayerCarrierCode: core.serialization.property("secondary_payer_carrier_code", core.serialization.string().optional()),
|
|
106
91
|
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { Gender } from "./Gender";
|
|
8
|
+
import { StreetAddressShortZipOptional } from "../../commons/types/StreetAddressShortZipOptional";
|
|
9
|
+
import { PhoneNumber } from "../../commons/types/PhoneNumber";
|
|
10
|
+
import { Email } from "../../commons/types/Email";
|
|
11
|
+
import { NonInsurancePayerId } from "../../nonInsurancePayers/resources/v1/types/NonInsurancePayerId";
|
|
12
|
+
import { PatientNonInsurancePayerInfoCreate } from "./PatientNonInsurancePayerInfoCreate";
|
|
13
|
+
export declare const PatientUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.PatientUpdateWithOptionalAddress.Raw, CandidApi.PatientUpdateWithOptionalAddress>;
|
|
14
|
+
export declare namespace PatientUpdateWithOptionalAddress {
|
|
15
|
+
interface Raw {
|
|
16
|
+
first_name?: string | null;
|
|
17
|
+
last_name?: string | null;
|
|
18
|
+
gender?: Gender.Raw | null;
|
|
19
|
+
external_id?: string | null;
|
|
20
|
+
date_of_birth?: string | null;
|
|
21
|
+
address?: StreetAddressShortZipOptional.Raw | null;
|
|
22
|
+
phone_numbers?: PhoneNumber.Raw[] | null;
|
|
23
|
+
phone_consent?: boolean | null;
|
|
24
|
+
email?: Email.Raw | null;
|
|
25
|
+
email_consent?: boolean | null;
|
|
26
|
+
non_insurance_payers?: NonInsurancePayerId.Raw[] | null;
|
|
27
|
+
non_insurance_payers_info?: PatientNonInsurancePayerInfoCreate.Raw[] | null;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.PatientUpdateWithOptionalAddress = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const Gender_1 = require("./Gender");
|
|
42
|
+
const StreetAddressShortZipOptional_1 = require("../../commons/types/StreetAddressShortZipOptional");
|
|
43
|
+
const PhoneNumber_1 = require("../../commons/types/PhoneNumber");
|
|
44
|
+
const Email_1 = require("../../commons/types/Email");
|
|
45
|
+
const NonInsurancePayerId_1 = require("../../nonInsurancePayers/resources/v1/types/NonInsurancePayerId");
|
|
46
|
+
const PatientNonInsurancePayerInfoCreate_1 = require("./PatientNonInsurancePayerInfoCreate");
|
|
47
|
+
exports.PatientUpdateWithOptionalAddress = core.serialization.object({
|
|
48
|
+
firstName: core.serialization.property("first_name", core.serialization.string().optional()),
|
|
49
|
+
lastName: core.serialization.property("last_name", core.serialization.string().optional()),
|
|
50
|
+
gender: Gender_1.Gender.optional(),
|
|
51
|
+
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
52
|
+
dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string().optional()),
|
|
53
|
+
address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
|
|
54
|
+
phoneNumbers: core.serialization.property("phone_numbers", core.serialization.list(PhoneNumber_1.PhoneNumber).optional()),
|
|
55
|
+
phoneConsent: core.serialization.property("phone_consent", core.serialization.boolean().optional()),
|
|
56
|
+
email: Email_1.Email.optional(),
|
|
57
|
+
emailConsent: core.serialization.property("email_consent", core.serialization.boolean().optional()),
|
|
58
|
+
nonInsurancePayers: core.serialization.property("non_insurance_payers", core.serialization.list(NonInsurancePayerId_1.NonInsurancePayerId).optional()),
|
|
59
|
+
nonInsurancePayersInfo: core.serialization.property("non_insurance_payers_info", core.serialization.list(PatientNonInsurancePayerInfoCreate_1.PatientNonInsurancePayerInfoCreate).optional()),
|
|
60
|
+
});
|
|
@@ -10,5 +10,6 @@ export * from "./PatientNonInsurancePayerInfo";
|
|
|
10
10
|
export * from "./PatientCreate";
|
|
11
11
|
export * from "./PatientUpdate";
|
|
12
12
|
export * from "./PatientBase";
|
|
13
|
+
export * from "./PatientUpdateWithOptionalAddress";
|
|
13
14
|
export * from "./Patient";
|
|
14
15
|
export * from "./Gender";
|
|
@@ -26,5 +26,6 @@ __exportStar(require("./PatientNonInsurancePayerInfo"), exports);
|
|
|
26
26
|
__exportStar(require("./PatientCreate"), exports);
|
|
27
27
|
__exportStar(require("./PatientUpdate"), exports);
|
|
28
28
|
__exportStar(require("./PatientBase"), exports);
|
|
29
|
+
__exportStar(require("./PatientUpdateWithOptionalAddress"), exports);
|
|
29
30
|
__exportStar(require("./Patient"), exports);
|
|
30
31
|
__exportStar(require("./Gender"), exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { StreetAddressShortZipOptional } from "../../commons/types/StreetAddressShortZipOptional";
|
|
8
|
+
export declare const EncounterServiceFacilityUpdateWithOptionalAddress: core.serialization.ObjectSchema<serializers.EncounterServiceFacilityUpdateWithOptionalAddress.Raw, CandidApi.EncounterServiceFacilityUpdateWithOptionalAddress>;
|
|
9
|
+
export declare namespace EncounterServiceFacilityUpdateWithOptionalAddress {
|
|
10
|
+
interface Raw {
|
|
11
|
+
organization_name?: string | null;
|
|
12
|
+
npi?: string | null;
|
|
13
|
+
address?: StreetAddressShortZipOptional.Raw | null;
|
|
14
|
+
secondary_identification?: string | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.EncounterServiceFacilityUpdateWithOptionalAddress = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const StreetAddressShortZipOptional_1 = require("../../commons/types/StreetAddressShortZipOptional");
|
|
42
|
+
exports.EncounterServiceFacilityUpdateWithOptionalAddress = core.serialization.object({
|
|
43
|
+
organizationName: core.serialization.property("organization_name", core.serialization.string().optional()),
|
|
44
|
+
npi: core.serialization.string().optional(),
|
|
45
|
+
address: StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional(),
|
|
46
|
+
secondaryIdentification: core.serialization.property("secondary_identification", core.serialization.string().optional()),
|
|
47
|
+
});
|