candidhealth 0.24.2 → 0.24.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +6 -3
- package/Client.js +46 -41
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/commons/types/Primitive.d.ts +14 -0
- package/api/resources/commons/types/Primitive.js +12 -0
- package/api/resources/commons/types/SchemaId.d.ts +8 -0
- package/api/resources/commons/types/SchemaId.js +10 -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/customSchemas/client/Client.d.ts +26 -0
- package/api/resources/customSchemas/client/Client.js +17 -0
- package/api/resources/customSchemas/client/index.d.ts +1 -0
- package/api/resources/customSchemas/index.d.ts +2 -0
- package/api/resources/customSchemas/index.js +18 -0
- package/api/resources/customSchemas/resources/index.d.ts +1 -0
- package/api/resources/customSchemas/resources/index.js +27 -0
- package/api/resources/customSchemas/resources/v1/client/Client.d.ts +80 -0
- package/api/resources/customSchemas/resources/v1/client/Client.js +325 -0
- package/api/resources/customSchemas/resources/v1/client/create.d.ts +28 -0
- package/api/resources/customSchemas/resources/v1/client/create.js +58 -0
- package/api/resources/customSchemas/resources/v1/client/get.d.ts +34 -0
- package/api/resources/customSchemas/resources/v1/client/get.js +69 -0
- package/api/resources/customSchemas/resources/v1/client/getMulti.d.ts +28 -0
- package/api/resources/customSchemas/resources/v1/client/getMulti.js +58 -0
- package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages → customSchemas/resources/v1}/client/index.d.ts +2 -4
- package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages → customSchemas/resources/v1}/client/index.js +3 -5
- package/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +20 -0
- package/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +21 -0
- package/api/resources/customSchemas/resources/v1/client/requests/index.d.ts +2 -0
- package/api/resources/customSchemas/resources/v1/client/update.d.ts +40 -0
- package/api/resources/customSchemas/resources/v1/client/update.js +80 -0
- package/api/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.d.ts +8 -0
- package/api/resources/customSchemas/resources/v1/types/Schema.d.ts +10 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaField.d.ts +8 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +7 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaInstance.d.ts +22 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaValidationError.d.ts +13 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaValidationFailure.d.ts +7 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.d.ts +8 -0
- package/api/resources/customSchemas/resources/v1/types/index.d.ts +8 -0
- package/api/resources/customSchemas/resources/v1/types/index.js +24 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounters/resources/v4/client/Client.d.ts +19 -1
- package/api/resources/encounters/resources/v4/client/Client.js +25 -5
- 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 +15 -0
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +18 -1
- package/api/resources/encounters/resources/v4/client/update.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/update.js +11 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -1
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +10 -1
- package/api/resources/encounters/resources/v4/types/KeyDoesNotExistError.d.ts +8 -0
- package/api/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.d.ts +7 -0
- package/api/resources/encounters/resources/v4/types/SchemaDoesNotExistError.d.ts +7 -0
- package/api/resources/encounters/resources/v4/types/SchemaInstanceValidationError.d.ts +22 -0
- package/api/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.d.ts +7 -0
- package/api/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.d.ts +7 -0
- package/api/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.d.ts +10 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +7 -0
- package/api/resources/encounters/resources/v4/types/index.js +7 -0
- 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/index.d.ts +2 -1
- package/api/resources/index.js +3 -2
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- 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/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/common/types/DisabilityStatus.d.ts +8 -0
- package/api/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages/types/CoverageType.js → common/types/DisabilityStatus.js} +4 -4
- package/api/resources/preEncounter/resources/common/types/Ethnicity.d.ts +10 -0
- package/api/resources/preEncounter/resources/common/types/Ethnicity.js +12 -0
- package/api/resources/preEncounter/resources/common/types/Gender.d.ts +6 -3
- package/api/resources/preEncounter/resources/common/types/Gender.js +5 -2
- package/api/resources/preEncounter/resources/common/types/Race.d.ts +15 -0
- package/api/resources/preEncounter/resources/common/types/Race.js +17 -0
- package/api/resources/preEncounter/resources/common/types/Sex.d.ts +10 -0
- package/api/resources/preEncounter/resources/common/types/Sex.js +12 -0
- package/api/resources/preEncounter/resources/common/types/SexualOrientation.d.ts +13 -0
- package/api/resources/preEncounter/resources/common/types/SexualOrientation.js +15 -0
- package/api/resources/preEncounter/resources/common/types/index.d.ts +5 -0
- package/api/resources/preEncounter/resources/common/types/index.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +108 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +420 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/create.d.ts +22 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/create.js +47 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/get.d.ts +6 -6
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/client/get.js +2 -2
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/client/getHistory.d.ts +7 -7
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/coverages/resources/v1}/client/getHistory.js +3 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.d.ts +22 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.js +47 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +7 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +34 -0
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/client/scan.d.ts +6 -6
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/coverages/resources/v1}/client/scan.js +2 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/update.d.ts +8 -8
- package/api/resources/preEncounter/resources/{patients/resources/v1/resources/patients → coverages/resources/v1}/client/update.js +4 -4
- package/api/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/index.js +1 -1
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/Coverage.d.ts +1 -1
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageId.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.d.ts +2 -2
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/MutableCoverage.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +82 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +27 -0
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/Subscriber.d.ts +1 -1
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/index.d.ts +1 -1
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/index.js +1 -1
- package/api/resources/preEncounter/resources/index.d.ts +2 -2
- package/api/resources/preEncounter/resources/index.js +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +167 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +554 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.d.ts +7 -7
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.js +3 -3
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/deactivate.d.ts +8 -8
- package/api/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +69 -0
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/get.d.ts +7 -7
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/get.js +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.d.ts +7 -7
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.js +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +8 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +35 -0
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/scan.d.ts +6 -6
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/scan.js +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/search.d.ts +6 -6
- package/api/resources/preEncounter/resources/patients/resources/v1/client/search.js +47 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/update.d.ts +8 -8
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/update.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/index.js +1 -1
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/types/Contact.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvenance.js +5 -0
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/types/ExternalProvider.d.ts +2 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.d.ts +10 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MutablePatient.d.ts +12 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +5 -0
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/types/Patient.d.ts +4 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.js +1 -0
- package/api/resources/serviceFacility/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 +4 -4
- package/dist/Client.d.ts +6 -3
- package/dist/Client.js +46 -41
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/commons/types/Primitive.d.ts +14 -0
- package/dist/api/resources/commons/types/Primitive.js +12 -0
- package/dist/api/resources/commons/types/SchemaId.d.ts +8 -0
- package/dist/api/resources/commons/types/SchemaId.js +10 -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/customSchemas/client/Client.d.ts +26 -0
- package/dist/api/resources/customSchemas/client/Client.js +17 -0
- package/dist/api/resources/customSchemas/client/index.d.ts +1 -0
- package/dist/api/resources/customSchemas/client/index.js +2 -0
- package/dist/api/resources/customSchemas/index.d.ts +2 -0
- package/dist/api/resources/customSchemas/index.js +18 -0
- package/dist/api/resources/customSchemas/resources/index.d.ts +1 -0
- package/dist/api/resources/customSchemas/resources/index.js +27 -0
- package/dist/api/resources/customSchemas/resources/v1/client/Client.d.ts +80 -0
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +325 -0
- package/dist/api/resources/customSchemas/resources/v1/client/create.d.ts +28 -0
- package/dist/api/resources/customSchemas/resources/v1/client/create.js +58 -0
- package/dist/api/resources/customSchemas/resources/v1/client/get.d.ts +34 -0
- package/dist/api/resources/customSchemas/resources/v1/client/get.js +69 -0
- package/dist/api/resources/customSchemas/resources/v1/client/getMulti.d.ts +28 -0
- package/dist/api/resources/customSchemas/resources/v1/client/getMulti.js +58 -0
- package/dist/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages → customSchemas/resources/v1}/client/index.d.ts +2 -4
- package/dist/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages → customSchemas/resources/v1}/client/index.js +3 -5
- package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +20 -0
- package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +21 -0
- package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/client/requests/index.d.ts +2 -0
- package/dist/api/resources/customSchemas/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/customSchemas/resources/v1/client/update.d.ts +40 -0
- package/dist/api/resources/customSchemas/resources/v1/client/update.js +80 -0
- package/dist/api/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.d.ts +8 -0
- package/dist/api/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/types/Schema.d.ts +10 -0
- package/dist/api/resources/customSchemas/resources/v1/types/Schema.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaField.d.ts +8 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaField.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +7 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaInstance.d.ts +22 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaInstance.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaValidationError.d.ts +13 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaValidationError.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaValidationFailure.d.ts +7 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaValidationFailure.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.d.ts +8 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/types/index.d.ts +8 -0
- package/dist/api/resources/customSchemas/resources/v1/types/index.js +24 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +19 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +25 -5
- 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 +15 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +18 -1
- package/dist/api/resources/encounters/resources/v4/client/update.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/update.js +11 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +10 -1
- package/dist/api/resources/encounters/resources/v4/types/KeyDoesNotExistError.d.ts +8 -0
- package/dist/api/resources/encounters/resources/v4/types/KeyDoesNotExistError.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.d.ts +7 -0
- package/dist/api/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/SchemaDoesNotExistError.d.ts +7 -0
- package/dist/api/resources/encounters/resources/v4/types/SchemaDoesNotExistError.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/SchemaInstanceValidationError.d.ts +22 -0
- package/dist/api/resources/encounters/resources/v4/types/SchemaInstanceValidationError.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.d.ts +7 -0
- package/dist/api/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.d.ts +7 -0
- package/dist/api/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.d.ts +10 -0
- package/dist/api/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +7 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +7 -0
- 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/index.d.ts +2 -1
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- 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/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/common/types/DisabilityStatus.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages/types/CoverageType.js → common/types/DisabilityStatus.js} +4 -4
- package/dist/api/resources/preEncounter/resources/common/types/Ethnicity.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/Ethnicity.js +12 -0
- package/dist/api/resources/preEncounter/resources/common/types/Gender.d.ts +6 -3
- package/dist/api/resources/preEncounter/resources/common/types/Gender.js +5 -2
- package/dist/api/resources/preEncounter/resources/common/types/Race.d.ts +15 -0
- package/dist/api/resources/preEncounter/resources/common/types/Race.js +17 -0
- package/dist/api/resources/preEncounter/resources/common/types/Sex.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/Sex.js +12 -0
- package/dist/api/resources/preEncounter/resources/common/types/SexualOrientation.d.ts +13 -0
- package/dist/api/resources/preEncounter/resources/common/types/SexualOrientation.js +15 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +5 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +108 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +420 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/create.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/create.js +47 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/get.d.ts +6 -6
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/client/get.js +2 -2
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/client/getHistory.d.ts +7 -7
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +58 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.js +47 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +7 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +34 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageScanRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/GetAllCoveragesRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/index.js +2 -0
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/client/scan.d.ts +6 -6
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/scan.js +47 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/update.d.ts +8 -8
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/client/update.js +4 -4
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/index.js +1 -1
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/types/Coverage.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.js +5 -0
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageId.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +5 -0
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/types/MutableCoverage.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +82 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +27 -0
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/types/Subscriber.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +5 -0
- package/dist/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/index.d.ts +1 -1
- package/dist/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/index.js +1 -1
- package/dist/api/resources/preEncounter/resources/index.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/index.js +3 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +167 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +554 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.d.ts +7 -7
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.js +3 -3
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/client/deactivate.d.ts +8 -8
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +69 -0
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/client/get.d.ts +7 -7
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/client/get.js +3 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.d.ts +7 -7
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getHistory.js +58 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +8 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +35 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientScanRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.js +2 -0
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/client/scan.d.ts +6 -6
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/scan.js +47 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/search.d.ts +6 -6
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/search.js +47 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/update.d.ts +8 -8
- package/dist/api/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages → patients/resources/v1}/client/update.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/index.js +1 -1
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/types/Contact.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvenance.js +5 -0
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/types/ExternalProvider.d.ts +2 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MutablePatient.d.ts +12 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +5 -0
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/types/Patient.d.ts +4 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.js +1 -0
- package/dist/api/resources/serviceFacility/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 +4 -4
- package/dist/serialization/resources/commons/types/Primitive.d.ts +10 -0
- package/dist/serialization/resources/commons/types/Primitive.js +31 -0
- package/dist/serialization/resources/commons/types/SchemaId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/SchemaId.js +37 -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/customSchemas/index.d.ts +1 -0
- package/dist/serialization/resources/customSchemas/index.js +17 -0
- package/dist/serialization/resources/customSchemas/resources/index.d.ts +1 -0
- package/dist/serialization/resources/customSchemas/resources/index.js +27 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/create.d.ts +15 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/create.js +61 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/get.d.ts +20 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/get.js +67 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/getMulti.d.ts +15 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/getMulti.js +61 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/index.d.ts +5 -0
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/customSchemas/resources/v1}/client/index.js +7 -10
- package/dist/serialization/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +15 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/requests/SchemaCreate.js +36 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +15 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.js +36 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/requests/index.js +7 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/update.d.ts +25 -0
- package/dist/serialization/resources/customSchemas/resources/v1/client/update.js +73 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.d.ts +14 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.js +35 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/Schema.d.ts +17 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/Schema.js +38 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaField.d.ts +14 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaField.js +35 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +13 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.js +34 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaInstance.d.ts +14 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaInstance.js +35 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaValidationError.d.ts +18 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaValidationError.js +41 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaValidationFailure.d.ts +13 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaValidationFailure.js +34 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.d.ts +14 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.js +35 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/index.d.ts +8 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/index.js +24 -0
- package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/create.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/update.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/update.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/KeyDoesNotExistError.d.ts +14 -0
- package/dist/serialization/resources/encounters/resources/v4/types/KeyDoesNotExistError.js +35 -0
- package/dist/serialization/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.d.ts +13 -0
- package/dist/serialization/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.js +34 -0
- package/dist/serialization/resources/encounters/resources/v4/types/SchemaDoesNotExistError.d.ts +13 -0
- package/dist/serialization/resources/encounters/resources/v4/types/SchemaDoesNotExistError.js +34 -0
- package/dist/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationError.d.ts +30 -0
- package/dist/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationError.js +47 -0
- package/dist/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.d.ts +13 -0
- package/dist/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.js +34 -0
- package/dist/serialization/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.d.ts +13 -0
- package/dist/serialization/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.js +34 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.d.ts +17 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.js +38 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +7 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +7 -0
- package/dist/serialization/resources/index.d.ts +2 -1
- package/dist/serialization/resources/index.js +3 -2
- package/dist/serialization/resources/preEncounter/resources/common/types/DisabilityStatus.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/DisabilityStatus.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Ethnicity.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Ethnicity.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Gender.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/common/types/Gender.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/common/types/Race.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Race.js +41 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Sex.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages/types/CoverageType.js → common/types/Sex.js} +3 -3
- package/dist/serialization/resources/preEncounter/resources/common/types/SexualOrientation.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/SexualOrientation.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +5 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +5 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/getHistory.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/getMulti.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/scan.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/scan.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/{patients/resources/v1/resources/patients → coverages/resources/v1}/client/update.js +6 -6
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +2 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/index.js +2 -1
- package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/Coverage.d.ts +5 -5
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Coverage.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageId.d.ts +3 -3
- package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageId.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.d.ts +3 -3
- package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageStatus.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.d.ts +7 -7
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.js +5 -5
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/MutableCoverage.d.ts +5 -5
- package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/MutableCoverage.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +51 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.d.ts +5 -5
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.js +3 -3
- package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/index.d.ts +1 -1
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/index.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/index.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/index.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +67 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +15 -0
- package/{serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/client/get.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/scan.d.ts +11 -0
- package/{serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/client/scan.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/search.d.ts +11 -0
- package/{serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/client/search.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +20 -0
- package/{serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/client/update.js +6 -6
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/index.d.ts +2 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +23 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Contact.js +7 -7
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.d.ts +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvider.js +6 -5
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.js +34 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.d.ts +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +50 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MutablePatient.js +20 -5
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.d.ts +6 -5
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.js +4 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.d.ts +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.js +1 -0
- package/package.json +1 -1
- package/reference.md +488 -391
- package/serialization/resources/commons/types/Primitive.d.ts +10 -0
- package/serialization/resources/commons/types/Primitive.js +31 -0
- package/serialization/resources/commons/types/SchemaId.d.ts +10 -0
- package/serialization/resources/commons/types/SchemaId.js +37 -0
- package/serialization/resources/commons/types/index.d.ts +2 -0
- package/serialization/resources/commons/types/index.js +2 -0
- package/serialization/resources/customSchemas/index.d.ts +1 -0
- package/serialization/resources/customSchemas/index.js +17 -0
- package/serialization/resources/customSchemas/resources/index.d.ts +1 -0
- package/serialization/resources/customSchemas/resources/index.js +27 -0
- package/serialization/resources/customSchemas/resources/v1/client/create.d.ts +15 -0
- package/serialization/resources/customSchemas/resources/v1/client/create.js +61 -0
- package/serialization/resources/customSchemas/resources/v1/client/get.d.ts +20 -0
- package/serialization/resources/customSchemas/resources/v1/client/get.js +67 -0
- package/serialization/resources/customSchemas/resources/v1/client/getMulti.d.ts +15 -0
- package/serialization/resources/customSchemas/resources/v1/client/getMulti.js +61 -0
- package/serialization/resources/customSchemas/resources/v1/client/index.d.ts +5 -0
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/customSchemas/resources/v1}/client/index.js +7 -10
- package/serialization/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +15 -0
- package/serialization/resources/customSchemas/resources/v1/client/requests/SchemaCreate.js +36 -0
- package/serialization/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +15 -0
- package/serialization/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.js +36 -0
- package/serialization/resources/customSchemas/resources/v1/client/requests/index.d.ts +2 -0
- package/serialization/resources/customSchemas/resources/v1/client/requests/index.js +7 -0
- package/serialization/resources/customSchemas/resources/v1/client/update.d.ts +25 -0
- package/serialization/resources/customSchemas/resources/v1/client/update.js +73 -0
- package/serialization/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.d.ts +14 -0
- package/serialization/resources/customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.js +35 -0
- package/serialization/resources/customSchemas/resources/v1/types/Schema.d.ts +17 -0
- package/serialization/resources/customSchemas/resources/v1/types/Schema.js +38 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaField.d.ts +14 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaField.js +35 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +13 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.js +34 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaInstance.d.ts +14 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaInstance.js +35 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaValidationError.d.ts +18 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaValidationError.js +41 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaValidationFailure.d.ts +13 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaValidationFailure.js +34 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.d.ts +14 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.js +35 -0
- package/serialization/resources/customSchemas/resources/v1/types/index.d.ts +8 -0
- package/serialization/resources/customSchemas/resources/v1/types/index.js +24 -0
- package/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/create.js +6 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
- package/serialization/resources/encounters/resources/v4/client/update.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/update.js +6 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/serialization/resources/encounters/resources/v4/types/KeyDoesNotExistError.d.ts +14 -0
- package/serialization/resources/encounters/resources/v4/types/KeyDoesNotExistError.js +35 -0
- package/serialization/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.d.ts +13 -0
- package/serialization/resources/encounters/resources/v4/types/MultipleInstancesForSchemaError.js +34 -0
- package/serialization/resources/encounters/resources/v4/types/SchemaDoesNotExistError.d.ts +13 -0
- package/serialization/resources/encounters/resources/v4/types/SchemaDoesNotExistError.js +34 -0
- package/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationError.d.ts +30 -0
- package/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationError.js +47 -0
- package/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.d.ts +13 -0
- package/serialization/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.js +34 -0
- package/serialization/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.d.ts +13 -0
- package/serialization/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.js +34 -0
- package/serialization/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.d.ts +17 -0
- package/serialization/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.js +38 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +7 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +7 -0
- package/serialization/resources/index.d.ts +2 -1
- package/serialization/resources/index.js +3 -2
- package/serialization/resources/preEncounter/resources/common/types/DisabilityStatus.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/DisabilityStatus.js +31 -0
- package/serialization/resources/preEncounter/resources/common/types/Ethnicity.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/Ethnicity.js +31 -0
- package/serialization/resources/preEncounter/resources/common/types/Gender.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/common/types/Gender.js +1 -1
- package/serialization/resources/preEncounter/resources/common/types/Race.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/Race.js +41 -0
- package/serialization/resources/preEncounter/resources/common/types/Sex.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages/types/CoverageType.js → common/types/Sex.js} +3 -3
- package/serialization/resources/preEncounter/resources/common/types/SexualOrientation.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/SexualOrientation.js +31 -0
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +5 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +5 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/getHistory.js +4 -4
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/getMulti.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/scan.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/scan.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +20 -0
- package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/client/update.js +6 -6
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +2 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/index.js +2 -1
- package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/Coverage.d.ts +5 -5
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Coverage.js +3 -3
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageId.d.ts +3 -3
- package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageId.js +2 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.d.ts +3 -3
- package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageStatus.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.d.ts +7 -7
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.js +5 -5
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/MutableCoverage.d.ts +5 -5
- package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/MutableCoverage.js +3 -3
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +51 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.d.ts +5 -5
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.js +3 -3
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/index.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/index.js +1 -1
- package/serialization/resources/preEncounter/resources/index.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/index.js +3 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.js +4 -4
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +67 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +15 -0
- package/{dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/preEncounter/resources/patients/resources/v1}/client/get.js +4 -4
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.js +4 -4
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/scan.d.ts +11 -0
- package/{dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/preEncounter/resources/patients/resources/v1}/client/scan.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/search.d.ts +11 -0
- package/{dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/preEncounter/resources/patients/resources/v1}/client/search.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages → patients/resources/v1}/client/update.js +6 -6
- package/serialization/resources/preEncounter/resources/patients/resources/v1/index.d.ts +2 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/index.js +2 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +23 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Contact.js +7 -7
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.d.ts +3 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvider.js +6 -5
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.js +34 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.d.ts +3 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +50 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MutablePatient.js +20 -5
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.d.ts +6 -5
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.js +4 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.d.ts +3 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.js +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.js +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.d.ts +0 -147
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +0 -451
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.d.ts +0 -22
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.js +0 -47
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.js +0 -58
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +0 -22
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.js +0 -47
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.js +0 -47
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +0 -8
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +0 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +0 -32
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +0 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/index.js +0 -32
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.d.ts +0 -338
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +0 -716
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +0 -69
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +0 -8
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.js +0 -47
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.d.ts +0 -147
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +0 -451
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.d.ts +0 -22
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.js +0 -47
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.js +0 -58
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +0 -22
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.js +0 -47
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.js +0 -47
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +0 -8
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +0 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +0 -32
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +0 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/index.js +0 -32
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.d.ts +0 -338
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +0 -716
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +0 -69
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +0 -8
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.js +0 -47
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +0 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +0 -18
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +0 -10
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +0 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +0 -31
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +0 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.js +0 -31
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +0 -15
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +0 -67
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +0 -15
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +0 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +0 -18
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +0 -23
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +0 -19
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +0 -35
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +0 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +0 -18
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +0 -10
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +0 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +0 -31
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +0 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.js +0 -31
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +0 -15
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +0 -67
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +0 -15
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +0 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +0 -18
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +0 -23
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +0 -19
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +0 -35
- /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests → customSchemas/client}/index.js +0 -0
- /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/CoverageScanRequest.js → customSchemas/resources/v1/client/requests/SchemaCreate.js} +0 -0
- /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/GetAllCoveragesRequest.js → customSchemas/resources/v1/client/requests/SchemaUpdate.js} +0 -0
- /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients → customSchemas/resources/v1}/client/requests/index.js +0 -0
- /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages → customSchemas/resources/v1}/index.d.ts +0 -0
- /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages → customSchemas/resources/v1}/index.js +0 -0
- /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.js → customSchemas/resources/v1/types/KeyWithNameAlreadyExistsError.js} +0 -0
- /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.js → customSchemas/resources/v1/types/Schema.js} +0 -0
- /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.js → customSchemas/resources/v1/types/SchemaField.js} +0 -0
- /package/api/resources/{preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.js → customSchemas/resources/v1/types/SchemaGetMultiResponse.js} +0 -0
- /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientScanRequest.js → customSchemas/resources/v1/types/SchemaInstance.js} +0 -0
- /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientsSearchRequest.js → customSchemas/resources/v1/types/SchemaValidationError.js} +0 -0
- /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.js → customSchemas/resources/v1/types/SchemaValidationFailure.js} +0 -0
- /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.js → customSchemas/resources/v1/types/SchemaWithNameAlreadyExistsError.js} +0 -0
- /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.js → encounters/resources/v4/types/KeyDoesNotExistError.js} +0 -0
- /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.js → encounters/resources/v4/types/MultipleInstancesForSchemaError.js} +0 -0
- /package/api/resources/{preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.js → encounters/resources/v4/types/SchemaDoesNotExistError.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/CoverageScanRequest.js → api/resources/encounters/resources/v4/types/SchemaInstanceValidationError.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/GetAllCoveragesRequest.js → api/resources/encounters/resources/v4/types/SchemaInstanceValidationFailure.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.js → api/resources/encounters/resources/v4/types/SchemaUnauthorizedAccessError.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.js → api/resources/encounters/resources/v4/types/ValueDoesNotMatchKeyTypeError.js} +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/CoverageScanRequest.d.ts +0 -0
- /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.js → api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageScanRequest.js} +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/GetAllCoveragesRequest.d.ts +0 -0
- /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.js → api/resources/preEncounter/resources/coverages/resources/v1/client/requests/GetAllCoveragesRequest.js} +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/index.d.ts +0 -0
- /package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/client/requests/index.js +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientScanRequest.js → api/resources/preEncounter/resources/coverages/resources/v1/types/Coverage.js} +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageId.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.d.ts +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.js +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientsSearchRequest.js → api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.js → api/resources/preEncounter/resources/coverages/resources/v1/types/MutableCoverage.js} +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.js → api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js} +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientScanRequest.d.ts +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.js → api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientScanRequest.js} +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientsSearchRequest.d.ts +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.js → api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequest.js} +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/index.d.ts +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/requests/index.js +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.js → api/resources/preEncounter/resources/patients/resources/v1/types/Contact.js} +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.js +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.js +0 -0
- /package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/customSchemas/resources/v1}/index.d.ts +0 -0
- /package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/customSchemas/resources/v1}/index.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/CoverageScanRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/GetAllCoveragesRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/index.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageId.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientScanRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientsSearchRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/index.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.js +0 -0
- /package/dist/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/customSchemas/resources/v1}/index.d.ts +0 -0
- /package/dist/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/customSchemas/resources/v1}/index.js +0 -0
- /package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/index.d.ts +0 -0
- /package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/index.js +0 -0
- /package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/index.d.ts +0 -0
- /package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/index.js +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/customSchemas/resources/v1}/index.d.ts +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/customSchemas/resources/v1}/index.js +0 -0
- /package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/index.d.ts +0 -0
- /package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/index.js +0 -0
- /package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/index.d.ts +0 -0
- /package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/index.js +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as CandidApi from "
|
|
6
|
-
import * as core from "
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
7
|
import { CoverageStatus } from "./CoverageStatus";
|
|
8
8
|
import { Subscriber } from "./Subscriber";
|
|
9
|
-
import { Relationship } from "
|
|
10
|
-
import { PatientId } from "
|
|
9
|
+
import { Relationship } from "../../../../common/types/Relationship";
|
|
10
|
+
import { PatientId } from "../../../../patients/resources/v1/types/PatientId";
|
|
11
11
|
import { InsurancePlan } from "./InsurancePlan";
|
|
12
12
|
export declare const MutableCoverage: core.serialization.ObjectSchema<serializers.preEncounter.coverages.v1.MutableCoverage.Raw, CandidApi.preEncounter.coverages.v1.MutableCoverage>;
|
|
13
13
|
export declare namespace MutableCoverage {
|
|
@@ -27,11 +27,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.MutableCoverage = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
const CoverageStatus_1 = require("./CoverageStatus");
|
|
32
32
|
const Subscriber_1 = require("./Subscriber");
|
|
33
|
-
const Relationship_1 = require("
|
|
34
|
-
const PatientId_1 = require("
|
|
33
|
+
const Relationship_1 = require("../../../../common/types/Relationship");
|
|
34
|
+
const PatientId_1 = require("../../../../patients/resources/v1/types/PatientId");
|
|
35
35
|
const InsurancePlan_1 = require("./InsurancePlan");
|
|
36
36
|
exports.MutableCoverage = core.serialization.object({
|
|
37
37
|
status: CoverageStatus_1.CoverageStatus,
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
export declare const NetworkType: core.serialization.Schema<serializers.preEncounter.coverages.v1.NetworkType.Raw, CandidApi.preEncounter.coverages.v1.NetworkType>;
|
|
8
|
+
export declare namespace NetworkType {
|
|
9
|
+
type Raw = "12" | "13" | "14" | "15" | "16" | "17" | "AM" | "CH" | "DS" | "HM" | "LM" | "MA" | "MB" | "MC" | "OF" | "TV" | "VA" | "WC" | "ZZ";
|
|
10
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.NetworkType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
exports.NetworkType = core.serialization.enum_([
|
|
32
|
+
"12",
|
|
33
|
+
"13",
|
|
34
|
+
"14",
|
|
35
|
+
"15",
|
|
36
|
+
"16",
|
|
37
|
+
"17",
|
|
38
|
+
"AM",
|
|
39
|
+
"CH",
|
|
40
|
+
"DS",
|
|
41
|
+
"HM",
|
|
42
|
+
"LM",
|
|
43
|
+
"MA",
|
|
44
|
+
"MB",
|
|
45
|
+
"MC",
|
|
46
|
+
"OF",
|
|
47
|
+
"TV",
|
|
48
|
+
"VA",
|
|
49
|
+
"WC",
|
|
50
|
+
"ZZ",
|
|
51
|
+
]);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as CandidApi from "
|
|
6
|
-
import * as core from "
|
|
7
|
-
import { HumanName } from "
|
|
8
|
-
import { Gender } from "
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
|
+
import { HumanName } from "../../../../common/types/HumanName";
|
|
8
|
+
import { Gender } from "../../../../common/types/Gender";
|
|
9
9
|
export declare const Subscriber: core.serialization.ObjectSchema<serializers.preEncounter.coverages.v1.Subscriber.Raw, CandidApi.preEncounter.coverages.v1.Subscriber>;
|
|
10
10
|
export declare namespace Subscriber {
|
|
11
11
|
interface Raw {
|
|
@@ -27,9 +27,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.Subscriber = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
const HumanName_1 = require("
|
|
32
|
-
const Gender_1 = require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
const HumanName_1 = require("../../../../common/types/HumanName");
|
|
32
|
+
const Gender_1 = require("../../../../common/types/Gender");
|
|
33
33
|
exports.Subscriber = core.serialization.object({
|
|
34
34
|
name: HumanName_1.HumanName,
|
|
35
35
|
dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string()),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from "./CoverageId";
|
|
2
2
|
export * from "./Subscriber";
|
|
3
3
|
export * from "./CoverageStatus";
|
|
4
|
-
export * from "./
|
|
4
|
+
export * from "./NetworkType";
|
|
5
5
|
export * from "./InsurancePlan";
|
|
6
6
|
export * from "./MutableCoverage";
|
|
7
7
|
export * from "./Coverage";
|
|
@@ -17,7 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./CoverageId"), exports);
|
|
18
18
|
__exportStar(require("./Subscriber"), exports);
|
|
19
19
|
__exportStar(require("./CoverageStatus"), exports);
|
|
20
|
-
__exportStar(require("./
|
|
20
|
+
__exportStar(require("./NetworkType"), exports);
|
|
21
21
|
__exportStar(require("./InsurancePlan"), exports);
|
|
22
22
|
__exportStar(require("./MutableCoverage"), exports);
|
|
23
23
|
__exportStar(require("./Coverage"), exports);
|
|
@@ -26,8 +26,8 @@ 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.
|
|
30
|
-
exports.common = __importStar(require("./common"));
|
|
31
|
-
__exportStar(require("./common/types"), exports);
|
|
29
|
+
exports.common = exports.patients = exports.coverages = void 0;
|
|
32
30
|
exports.coverages = __importStar(require("./coverages"));
|
|
33
31
|
exports.patients = __importStar(require("./patients"));
|
|
32
|
+
exports.common = __importStar(require("./common"));
|
|
33
|
+
__exportStar(require("./common/types"), exports);
|
package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
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 { VersionConflictErrorBody } from "../../../../common/types/VersionConflictErrorBody";
|
|
8
|
+
export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.create.Error.Raw, CandidApi.preEncounter.patients.v1.create.Error>;
|
|
9
|
+
export declare namespace Error {
|
|
10
|
+
type Raw = Error.VersionConflictError;
|
|
11
|
+
interface VersionConflictError {
|
|
12
|
+
errorName: "VersionConflictError";
|
|
13
|
+
content: VersionConflictErrorBody.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -38,9 +38,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
38
38
|
};
|
|
39
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
40
|
exports.Error = void 0;
|
|
41
|
-
const CandidApi = __importStar(require("
|
|
42
|
-
const core = __importStar(require("
|
|
43
|
-
const VersionConflictErrorBody_1 = require("
|
|
41
|
+
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
43
|
+
const VersionConflictErrorBody_1 = require("../../../../common/types/VersionConflictErrorBody");
|
|
44
44
|
exports.Error = core.serialization
|
|
45
45
|
.union("errorName", {
|
|
46
46
|
VersionConflictError: core.serialization.object({
|
|
@@ -51,7 +51,7 @@ exports.Error = core.serialization
|
|
|
51
51
|
transform: (value) => {
|
|
52
52
|
switch (value.errorName) {
|
|
53
53
|
case "VersionConflictError":
|
|
54
|
-
return CandidApi.preEncounter.patients.v1.
|
|
54
|
+
return CandidApi.preEncounter.patients.v1.create.Error.versionConflictError(value.content);
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
57
|
untransform: (_a) => {
|
|
@@ -0,0 +1,20 @@
|
|
|
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 { NotFoundErrorBody } from "../../../../common/types/NotFoundErrorBody";
|
|
8
|
+
import { VersionConflictErrorBody } from "../../../../common/types/VersionConflictErrorBody";
|
|
9
|
+
export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.deactivate.Error.Raw, CandidApi.preEncounter.patients.v1.deactivate.Error>;
|
|
10
|
+
export declare namespace Error {
|
|
11
|
+
type Raw = Error.NotFoundError | Error.VersionConflictError;
|
|
12
|
+
interface NotFoundError {
|
|
13
|
+
errorName: "NotFoundError";
|
|
14
|
+
content: NotFoundErrorBody.Raw;
|
|
15
|
+
}
|
|
16
|
+
interface VersionConflictError {
|
|
17
|
+
errorName: "VersionConflictError";
|
|
18
|
+
content: VersionConflictErrorBody.Raw;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
+
var t = {};
|
|
30
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
+
t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.Error = void 0;
|
|
41
|
+
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
43
|
+
const NotFoundErrorBody_1 = require("../../../../common/types/NotFoundErrorBody");
|
|
44
|
+
const VersionConflictErrorBody_1 = require("../../../../common/types/VersionConflictErrorBody");
|
|
45
|
+
exports.Error = core.serialization
|
|
46
|
+
.union("errorName", {
|
|
47
|
+
NotFoundError: core.serialization.object({
|
|
48
|
+
content: NotFoundErrorBody_1.NotFoundErrorBody,
|
|
49
|
+
}),
|
|
50
|
+
VersionConflictError: core.serialization.object({
|
|
51
|
+
content: VersionConflictErrorBody_1.VersionConflictErrorBody,
|
|
52
|
+
}),
|
|
53
|
+
})
|
|
54
|
+
.transform({
|
|
55
|
+
transform: (value) => {
|
|
56
|
+
switch (value.errorName) {
|
|
57
|
+
case "NotFoundError":
|
|
58
|
+
return CandidApi.preEncounter.patients.v1.deactivate.Error.notFoundError(value.content);
|
|
59
|
+
case "VersionConflictError":
|
|
60
|
+
return CandidApi.preEncounter.patients.v1.deactivate.Error.versionConflictError(value.content);
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
untransform: (_a) => {
|
|
64
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
65
|
+
return value;
|
|
66
|
+
},
|
|
67
|
+
});
|
package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
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 { NotFoundErrorBody } from "../../../../common/types/NotFoundErrorBody";
|
|
8
|
+
export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.get.Error.Raw, CandidApi.preEncounter.patients.v1.get.Error>;
|
|
9
|
+
export declare namespace Error {
|
|
10
|
+
type Raw = Error.NotFoundError;
|
|
11
|
+
interface NotFoundError {
|
|
12
|
+
errorName: "NotFoundError";
|
|
13
|
+
content: NotFoundErrorBody.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -38,9 +38,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
38
38
|
};
|
|
39
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
40
|
exports.Error = void 0;
|
|
41
|
-
const CandidApi = __importStar(require("
|
|
42
|
-
const core = __importStar(require("
|
|
43
|
-
const NotFoundErrorBody_1 = require("
|
|
41
|
+
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
43
|
+
const NotFoundErrorBody_1 = require("../../../../common/types/NotFoundErrorBody");
|
|
44
44
|
exports.Error = core.serialization
|
|
45
45
|
.union("errorName", {
|
|
46
46
|
NotFoundError: core.serialization.object({
|
|
@@ -51,7 +51,7 @@ exports.Error = core.serialization
|
|
|
51
51
|
transform: (value) => {
|
|
52
52
|
switch (value.errorName) {
|
|
53
53
|
case "NotFoundError":
|
|
54
|
-
return CandidApi.preEncounter.patients.v1.
|
|
54
|
+
return CandidApi.preEncounter.patients.v1.get.Error.notFoundError(value.content);
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
57
|
untransform: (_a) => {
|
|
@@ -0,0 +1,20 @@
|
|
|
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 { Patient } from "../types/Patient";
|
|
8
|
+
import { NotFoundErrorBody } from "../../../../common/types/NotFoundErrorBody";
|
|
9
|
+
export declare const Response: core.serialization.Schema<serializers.preEncounter.patients.v1.getHistory.Response.Raw, CandidApi.preEncounter.patients.v1.Patient[]>;
|
|
10
|
+
export declare namespace Response {
|
|
11
|
+
type Raw = Patient.Raw[];
|
|
12
|
+
}
|
|
13
|
+
export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.getHistory.Error.Raw, CandidApi.preEncounter.patients.v1.getHistory.Error>;
|
|
14
|
+
export declare namespace Error {
|
|
15
|
+
type Raw = Error.NotFoundError;
|
|
16
|
+
interface NotFoundError {
|
|
17
|
+
errorName: "NotFoundError";
|
|
18
|
+
content: NotFoundErrorBody.Raw;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -38,10 +38,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
38
38
|
};
|
|
39
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
40
|
exports.Error = exports.Response = void 0;
|
|
41
|
-
const CandidApi = __importStar(require("
|
|
42
|
-
const core = __importStar(require("
|
|
41
|
+
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
43
43
|
const Patient_1 = require("../types/Patient");
|
|
44
|
-
const NotFoundErrorBody_1 = require("
|
|
44
|
+
const NotFoundErrorBody_1 = require("../../../../common/types/NotFoundErrorBody");
|
|
45
45
|
exports.Response = core.serialization.list(Patient_1.Patient);
|
|
46
46
|
exports.Error = core.serialization
|
|
47
47
|
.union("errorName", {
|
|
@@ -53,7 +53,7 @@ exports.Error = core.serialization
|
|
|
53
53
|
transform: (value) => {
|
|
54
54
|
switch (value.errorName) {
|
|
55
55
|
case "NotFoundError":
|
|
56
|
-
return CandidApi.preEncounter.patients.v1.
|
|
56
|
+
return CandidApi.preEncounter.patients.v1.getHistory.Error.notFoundError(value.content);
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
untransform: (_a) => {
|
package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/scan.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
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 { Patient } from "../types/Patient";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.preEncounter.patients.v1.scan.Response.Raw, CandidApi.preEncounter.patients.v1.Patient[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = Patient.Raw[];
|
|
11
|
+
}
|
|
@@ -27,6 +27,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.Response = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
const Patient_1 = require("../types/Patient");
|
|
32
32
|
exports.Response = core.serialization.list(Patient_1.Patient);
|
package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/search.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
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 { Patient } from "../types/Patient";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.preEncounter.patients.v1.search.Response.Raw, CandidApi.preEncounter.patients.v1.Patient[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = Patient.Raw[];
|
|
11
|
+
}
|
|
@@ -27,6 +27,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.Response = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
const Patient_1 = require("../types/Patient");
|
|
32
32
|
exports.Response = core.serialization.list(Patient_1.Patient);
|
package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
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 { NotFoundErrorBody } from "../../../../common/types/NotFoundErrorBody";
|
|
8
|
+
import { VersionConflictErrorBody } from "../../../../common/types/VersionConflictErrorBody";
|
|
9
|
+
export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.update.Error.Raw, CandidApi.preEncounter.patients.v1.update.Error>;
|
|
10
|
+
export declare namespace Error {
|
|
11
|
+
type Raw = Error.NotFoundError | Error.VersionConflictError;
|
|
12
|
+
interface NotFoundError {
|
|
13
|
+
errorName: "NotFoundError";
|
|
14
|
+
content: NotFoundErrorBody.Raw;
|
|
15
|
+
}
|
|
16
|
+
interface VersionConflictError {
|
|
17
|
+
errorName: "VersionConflictError";
|
|
18
|
+
content: VersionConflictErrorBody.Raw;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -38,10 +38,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
38
38
|
};
|
|
39
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
40
|
exports.Error = void 0;
|
|
41
|
-
const CandidApi = __importStar(require("
|
|
42
|
-
const core = __importStar(require("
|
|
43
|
-
const NotFoundErrorBody_1 = require("
|
|
44
|
-
const VersionConflictErrorBody_1 = require("
|
|
41
|
+
const CandidApi = __importStar(require("../../../../../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
43
|
+
const NotFoundErrorBody_1 = require("../../../../common/types/NotFoundErrorBody");
|
|
44
|
+
const VersionConflictErrorBody_1 = require("../../../../common/types/VersionConflictErrorBody");
|
|
45
45
|
exports.Error = core.serialization
|
|
46
46
|
.union("errorName", {
|
|
47
47
|
NotFoundError: core.serialization.object({
|
|
@@ -55,9 +55,9 @@ exports.Error = core.serialization
|
|
|
55
55
|
transform: (value) => {
|
|
56
56
|
switch (value.errorName) {
|
|
57
57
|
case "NotFoundError":
|
|
58
|
-
return CandidApi.preEncounter.patients.v1.
|
|
58
|
+
return CandidApi.preEncounter.patients.v1.update.Error.notFoundError(value.content);
|
|
59
59
|
case "VersionConflictError":
|
|
60
|
-
return CandidApi.preEncounter.patients.v1.
|
|
60
|
+
return CandidApi.preEncounter.patients.v1.update.Error.versionConflictError(value.content);
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
untransform: (_a) => {
|
package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/index.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./types";
|
|
2
|
+
export * from "./client";
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
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 { Relationship } from "../../../../common/types/Relationship";
|
|
8
|
+
import { HumanName } from "../../../../common/types/HumanName";
|
|
9
|
+
import { Gender } from "../../../../common/types/Gender";
|
|
10
|
+
import { ContactPoint } from "../../../../common/types/ContactPoint";
|
|
11
|
+
import { Address } from "../../../../common/types/Address";
|
|
12
|
+
import { Period } from "../../../../common/types/Period";
|
|
13
|
+
export declare const Contact: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.Contact.Raw, CandidApi.preEncounter.patients.v1.Contact>;
|
|
14
|
+
export declare namespace Contact {
|
|
15
|
+
interface Raw {
|
|
16
|
+
relationship: Relationship.Raw[];
|
|
17
|
+
name: HumanName.Raw;
|
|
18
|
+
gender?: Gender.Raw | null;
|
|
19
|
+
telecoms: ContactPoint.Raw[];
|
|
20
|
+
addresses: Address.Raw[];
|
|
21
|
+
period?: Period.Raw | null;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -27,13 +27,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.Contact = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
const Relationship_1 = require("
|
|
32
|
-
const HumanName_1 = require("
|
|
33
|
-
const Gender_1 = require("
|
|
34
|
-
const ContactPoint_1 = require("
|
|
35
|
-
const Address_1 = require("
|
|
36
|
-
const Period_1 = require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
const Relationship_1 = require("../../../../common/types/Relationship");
|
|
32
|
+
const HumanName_1 = require("../../../../common/types/HumanName");
|
|
33
|
+
const Gender_1 = require("../../../../common/types/Gender");
|
|
34
|
+
const ContactPoint_1 = require("../../../../common/types/ContactPoint");
|
|
35
|
+
const Address_1 = require("../../../../common/types/Address");
|
|
36
|
+
const Period_1 = require("../../../../common/types/Period");
|
|
37
37
|
exports.Contact = core.serialization.object({
|
|
38
38
|
relationship: core.serialization.list(Relationship_1.Relationship),
|
|
39
39
|
name: HumanName_1.HumanName,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as CandidApi from "
|
|
6
|
-
import * as core from "
|
|
4
|
+
import * as serializers from "../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../core";
|
|
7
7
|
export declare const ExternalProvenance: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.ExternalProvenance.Raw, CandidApi.preEncounter.patients.v1.ExternalProvenance>;
|
|
8
8
|
export declare namespace ExternalProvenance {
|
|
9
9
|
interface Raw {
|
|
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ExternalProvenance = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
31
|
exports.ExternalProvenance = core.serialization.object({
|
|
32
32
|
externalId: core.serialization.property("external_id", core.serialization.string()),
|
|
33
33
|
systemName: core.serialization.property("system_name", core.serialization.string()),
|
|
@@ -0,0 +1,20 @@
|
|
|
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 { HumanName } from "../../../../common/types/HumanName";
|
|
8
|
+
import { ContactPoint } from "../../../../common/types/ContactPoint";
|
|
9
|
+
import { Address } from "../../../../common/types/Address";
|
|
10
|
+
import { Period } from "../../../../common/types/Period";
|
|
11
|
+
export declare const ExternalProvider: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.ExternalProvider.Raw, CandidApi.preEncounter.patients.v1.ExternalProvider>;
|
|
12
|
+
export declare namespace ExternalProvider {
|
|
13
|
+
interface Raw {
|
|
14
|
+
name: HumanName.Raw;
|
|
15
|
+
npi: string;
|
|
16
|
+
telecoms: ContactPoint.Raw[];
|
|
17
|
+
addresses: Address.Raw[];
|
|
18
|
+
period?: Period.Raw | null;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -27,13 +27,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ExternalProvider = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
const HumanName_1 = require("
|
|
32
|
-
const ContactPoint_1 = require("
|
|
33
|
-
const Address_1 = require("
|
|
34
|
-
const Period_1 = require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../core"));
|
|
31
|
+
const HumanName_1 = require("../../../../common/types/HumanName");
|
|
32
|
+
const ContactPoint_1 = require("../../../../common/types/ContactPoint");
|
|
33
|
+
const Address_1 = require("../../../../common/types/Address");
|
|
34
|
+
const Period_1 = require("../../../../common/types/Period");
|
|
35
35
|
exports.ExternalProvider = core.serialization.object({
|
|
36
36
|
name: HumanName_1.HumanName,
|
|
37
|
+
npi: core.serialization.string(),
|
|
37
38
|
telecoms: core.serialization.list(ContactPoint_1.ContactPoint),
|
|
38
39
|
addresses: core.serialization.list(Address_1.Address),
|
|
39
40
|
period: Period_1.Period.optional(),
|