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
package/reference.md
CHANGED
|
@@ -462,6 +462,279 @@ await client.contracts.v2.update(CandidApi.ContractId("d5e9c84f-c2b2-4bf4-b4b0-7
|
|
|
462
462
|
</dl>
|
|
463
463
|
</details>
|
|
464
464
|
|
|
465
|
+
## CustomSchemas V1
|
|
466
|
+
|
|
467
|
+
<details><summary><code>client.customSchemas.v1.<a href="/src/api/resources/customSchemas/resources/v1/client/Client.ts">getMulti</a>() -> core.APIResponse<CandidApi.SchemaGetMultiResponse, CandidApi.customSchemas.v1.getMulti.Error></code></summary>
|
|
468
|
+
<dl>
|
|
469
|
+
<dd>
|
|
470
|
+
|
|
471
|
+
#### 📝 Description
|
|
472
|
+
|
|
473
|
+
<dl>
|
|
474
|
+
<dd>
|
|
475
|
+
|
|
476
|
+
<dl>
|
|
477
|
+
<dd>
|
|
478
|
+
|
|
479
|
+
Returns all custom schemas.
|
|
480
|
+
|
|
481
|
+
</dd>
|
|
482
|
+
</dl>
|
|
483
|
+
</dd>
|
|
484
|
+
</dl>
|
|
485
|
+
|
|
486
|
+
#### 🔌 Usage
|
|
487
|
+
|
|
488
|
+
<dl>
|
|
489
|
+
<dd>
|
|
490
|
+
|
|
491
|
+
<dl>
|
|
492
|
+
<dd>
|
|
493
|
+
|
|
494
|
+
```typescript
|
|
495
|
+
await client.customSchemas.v1.getMulti();
|
|
496
|
+
```
|
|
497
|
+
|
|
498
|
+
</dd>
|
|
499
|
+
</dl>
|
|
500
|
+
</dd>
|
|
501
|
+
</dl>
|
|
502
|
+
|
|
503
|
+
#### ⚙️ Parameters
|
|
504
|
+
|
|
505
|
+
<dl>
|
|
506
|
+
<dd>
|
|
507
|
+
|
|
508
|
+
<dl>
|
|
509
|
+
<dd>
|
|
510
|
+
|
|
511
|
+
**requestOptions:** `V1.RequestOptions`
|
|
512
|
+
|
|
513
|
+
</dd>
|
|
514
|
+
</dl>
|
|
515
|
+
</dd>
|
|
516
|
+
</dl>
|
|
517
|
+
|
|
518
|
+
</dd>
|
|
519
|
+
</dl>
|
|
520
|
+
</details>
|
|
521
|
+
|
|
522
|
+
<details><summary><code>client.customSchemas.v1.<a href="/src/api/resources/customSchemas/resources/v1/client/Client.ts">get</a>(schemaId) -> core.APIResponse<CandidApi.Schema, CandidApi.customSchemas.v1.get.Error></code></summary>
|
|
523
|
+
<dl>
|
|
524
|
+
<dd>
|
|
525
|
+
|
|
526
|
+
#### 📝 Description
|
|
527
|
+
|
|
528
|
+
<dl>
|
|
529
|
+
<dd>
|
|
530
|
+
|
|
531
|
+
<dl>
|
|
532
|
+
<dd>
|
|
533
|
+
|
|
534
|
+
Return a custom schema with a given ID.
|
|
535
|
+
|
|
536
|
+
</dd>
|
|
537
|
+
</dl>
|
|
538
|
+
</dd>
|
|
539
|
+
</dl>
|
|
540
|
+
|
|
541
|
+
#### 🔌 Usage
|
|
542
|
+
|
|
543
|
+
<dl>
|
|
544
|
+
<dd>
|
|
545
|
+
|
|
546
|
+
<dl>
|
|
547
|
+
<dd>
|
|
548
|
+
|
|
549
|
+
```typescript
|
|
550
|
+
await client.customSchemas.v1.get(CandidApi.SchemaId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
|
|
551
|
+
```
|
|
552
|
+
|
|
553
|
+
</dd>
|
|
554
|
+
</dl>
|
|
555
|
+
</dd>
|
|
556
|
+
</dl>
|
|
557
|
+
|
|
558
|
+
#### ⚙️ Parameters
|
|
559
|
+
|
|
560
|
+
<dl>
|
|
561
|
+
<dd>
|
|
562
|
+
|
|
563
|
+
<dl>
|
|
564
|
+
<dd>
|
|
565
|
+
|
|
566
|
+
**schemaId:** `CandidApi.SchemaId`
|
|
567
|
+
|
|
568
|
+
</dd>
|
|
569
|
+
</dl>
|
|
570
|
+
|
|
571
|
+
<dl>
|
|
572
|
+
<dd>
|
|
573
|
+
|
|
574
|
+
**requestOptions:** `V1.RequestOptions`
|
|
575
|
+
|
|
576
|
+
</dd>
|
|
577
|
+
</dl>
|
|
578
|
+
</dd>
|
|
579
|
+
</dl>
|
|
580
|
+
|
|
581
|
+
</dd>
|
|
582
|
+
</dl>
|
|
583
|
+
</details>
|
|
584
|
+
|
|
585
|
+
<details><summary><code>client.customSchemas.v1.<a href="/src/api/resources/customSchemas/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Schema, CandidApi.customSchemas.v1.create.Error></code></summary>
|
|
586
|
+
<dl>
|
|
587
|
+
<dd>
|
|
588
|
+
|
|
589
|
+
#### 📝 Description
|
|
590
|
+
|
|
591
|
+
<dl>
|
|
592
|
+
<dd>
|
|
593
|
+
|
|
594
|
+
<dl>
|
|
595
|
+
<dd>
|
|
596
|
+
|
|
597
|
+
Create a custom schema. Schema keys can be referenced as inputs in user-configurable rules in the Rules
|
|
598
|
+
Engine, and key-value pairs can be attached to claims via the Encounters API.
|
|
599
|
+
|
|
600
|
+
</dd>
|
|
601
|
+
</dl>
|
|
602
|
+
</dd>
|
|
603
|
+
</dl>
|
|
604
|
+
|
|
605
|
+
#### 🔌 Usage
|
|
606
|
+
|
|
607
|
+
<dl>
|
|
608
|
+
<dd>
|
|
609
|
+
|
|
610
|
+
<dl>
|
|
611
|
+
<dd>
|
|
612
|
+
|
|
613
|
+
```typescript
|
|
614
|
+
await client.customSchemas.v1.create({
|
|
615
|
+
name: "string",
|
|
616
|
+
description: "string",
|
|
617
|
+
fields: [
|
|
618
|
+
{
|
|
619
|
+
key: "string",
|
|
620
|
+
type: CandidApi.Primitive.Boolean,
|
|
621
|
+
},
|
|
622
|
+
],
|
|
623
|
+
});
|
|
624
|
+
```
|
|
625
|
+
|
|
626
|
+
</dd>
|
|
627
|
+
</dl>
|
|
628
|
+
</dd>
|
|
629
|
+
</dl>
|
|
630
|
+
|
|
631
|
+
#### ⚙️ Parameters
|
|
632
|
+
|
|
633
|
+
<dl>
|
|
634
|
+
<dd>
|
|
635
|
+
|
|
636
|
+
<dl>
|
|
637
|
+
<dd>
|
|
638
|
+
|
|
639
|
+
**request:** `CandidApi.customSchemas.v1.SchemaCreate`
|
|
640
|
+
|
|
641
|
+
</dd>
|
|
642
|
+
</dl>
|
|
643
|
+
|
|
644
|
+
<dl>
|
|
645
|
+
<dd>
|
|
646
|
+
|
|
647
|
+
**requestOptions:** `V1.RequestOptions`
|
|
648
|
+
|
|
649
|
+
</dd>
|
|
650
|
+
</dl>
|
|
651
|
+
</dd>
|
|
652
|
+
</dl>
|
|
653
|
+
|
|
654
|
+
</dd>
|
|
655
|
+
</dl>
|
|
656
|
+
</details>
|
|
657
|
+
|
|
658
|
+
<details><summary><code>client.customSchemas.v1.<a href="/src/api/resources/customSchemas/resources/v1/client/Client.ts">update</a>(schemaId, { ...params }) -> core.APIResponse<CandidApi.Schema, CandidApi.customSchemas.v1.update.Error></code></summary>
|
|
659
|
+
<dl>
|
|
660
|
+
<dd>
|
|
661
|
+
|
|
662
|
+
#### 📝 Description
|
|
663
|
+
|
|
664
|
+
<dl>
|
|
665
|
+
<dd>
|
|
666
|
+
|
|
667
|
+
<dl>
|
|
668
|
+
<dd>
|
|
669
|
+
|
|
670
|
+
Update the name, description, or keys on a preexisting schema.
|
|
671
|
+
|
|
672
|
+
</dd>
|
|
673
|
+
</dl>
|
|
674
|
+
</dd>
|
|
675
|
+
</dl>
|
|
676
|
+
|
|
677
|
+
#### 🔌 Usage
|
|
678
|
+
|
|
679
|
+
<dl>
|
|
680
|
+
<dd>
|
|
681
|
+
|
|
682
|
+
<dl>
|
|
683
|
+
<dd>
|
|
684
|
+
|
|
685
|
+
```typescript
|
|
686
|
+
await client.customSchemas.v1.update(CandidApi.SchemaId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
687
|
+
name: "string",
|
|
688
|
+
description: "string",
|
|
689
|
+
fieldsToAdd: [
|
|
690
|
+
{
|
|
691
|
+
key: "string",
|
|
692
|
+
type: CandidApi.Primitive.Boolean,
|
|
693
|
+
},
|
|
694
|
+
],
|
|
695
|
+
});
|
|
696
|
+
```
|
|
697
|
+
|
|
698
|
+
</dd>
|
|
699
|
+
</dl>
|
|
700
|
+
</dd>
|
|
701
|
+
</dl>
|
|
702
|
+
|
|
703
|
+
#### ⚙️ Parameters
|
|
704
|
+
|
|
705
|
+
<dl>
|
|
706
|
+
<dd>
|
|
707
|
+
|
|
708
|
+
<dl>
|
|
709
|
+
<dd>
|
|
710
|
+
|
|
711
|
+
**schemaId:** `CandidApi.SchemaId`
|
|
712
|
+
|
|
713
|
+
</dd>
|
|
714
|
+
</dl>
|
|
715
|
+
|
|
716
|
+
<dl>
|
|
717
|
+
<dd>
|
|
718
|
+
|
|
719
|
+
**request:** `CandidApi.customSchemas.v1.SchemaUpdate`
|
|
720
|
+
|
|
721
|
+
</dd>
|
|
722
|
+
</dl>
|
|
723
|
+
|
|
724
|
+
<dl>
|
|
725
|
+
<dd>
|
|
726
|
+
|
|
727
|
+
**requestOptions:** `V1.RequestOptions`
|
|
728
|
+
|
|
729
|
+
</dd>
|
|
730
|
+
</dl>
|
|
731
|
+
</dd>
|
|
732
|
+
</dl>
|
|
733
|
+
|
|
734
|
+
</dd>
|
|
735
|
+
</dl>
|
|
736
|
+
</details>
|
|
737
|
+
|
|
465
738
|
## Eligibility V2
|
|
466
739
|
|
|
467
740
|
<details><summary><code>client.eligibility.v2.<a href="/src/api/resources/eligibility/resources/v2/client/Client.ts">submitEligibilityCheck</a>({ ...params }) -> core.APIResponse<unknown, CandidApi.eligibility.v2.submitEligibilityCheck.Error></code></summary>
|
|
@@ -1146,6 +1419,17 @@ await client.encounters.v4.create({
|
|
|
1146
1419
|
],
|
|
1147
1420
|
},
|
|
1148
1421
|
tagIds: [CandidApi.TagId("string")],
|
|
1422
|
+
schemaInstances: [
|
|
1423
|
+
{
|
|
1424
|
+
schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
|
|
1425
|
+
content: {
|
|
1426
|
+
provider_category: "internist",
|
|
1427
|
+
is_urgent_care: true,
|
|
1428
|
+
bmi: 24.2,
|
|
1429
|
+
age: 38,
|
|
1430
|
+
},
|
|
1431
|
+
},
|
|
1432
|
+
],
|
|
1149
1433
|
externalId: CandidApi.EncounterExternalId("string"),
|
|
1150
1434
|
priorAuthorizationNumber: CandidApi.PriorAuthorizationNumber("string"),
|
|
1151
1435
|
patientAuthorizedRelease: true,
|
|
@@ -1353,6 +1637,17 @@ await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0
|
|
|
1353
1637
|
lastMenstrualPeriodDate: "2023-01-15",
|
|
1354
1638
|
delayReasonCode: CandidApi.DelayReasonCode.C1,
|
|
1355
1639
|
patientAuthorizedRelease: true,
|
|
1640
|
+
schemaInstances: [
|
|
1641
|
+
{
|
|
1642
|
+
schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
|
|
1643
|
+
content: {
|
|
1644
|
+
provider_category: "internist",
|
|
1645
|
+
is_urgent_care: true,
|
|
1646
|
+
bmi: 24.2,
|
|
1647
|
+
age: 38,
|
|
1648
|
+
},
|
|
1649
|
+
},
|
|
1650
|
+
],
|
|
1356
1651
|
});
|
|
1357
1652
|
```
|
|
1358
1653
|
|
|
@@ -5902,78 +6197,9 @@ await client.writeOffs.v1.revert(CandidApi.WriteOffId("d5e9c84f-c2b2-4bf4-b4b0-7
|
|
|
5902
6197
|
</dl>
|
|
5903
6198
|
</details>
|
|
5904
6199
|
|
|
5905
|
-
##
|
|
5906
|
-
|
|
5907
|
-
<details><summary><code>client.serviceFacility.<a href="/src/api/resources/serviceFacility/client/Client.ts">update</a>(serviceFacilityId, { ...params }) -> core.APIResponse<CandidApi.EncounterServiceFacility, CandidApi.serviceFacility.update.Error></code></summary>
|
|
5908
|
-
<dl>
|
|
5909
|
-
<dd>
|
|
5910
|
-
|
|
5911
|
-
#### 🔌 Usage
|
|
5912
|
-
|
|
5913
|
-
<dl>
|
|
5914
|
-
<dd>
|
|
5915
|
-
|
|
5916
|
-
<dl>
|
|
5917
|
-
<dd>
|
|
5918
|
-
|
|
5919
|
-
```typescript
|
|
5920
|
-
await client.serviceFacility.update(CandidApi.ServiceFacilityId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
5921
|
-
organizationName: "string",
|
|
5922
|
-
npi: "string",
|
|
5923
|
-
address: {
|
|
5924
|
-
address1: "123 Main St",
|
|
5925
|
-
address2: "Apt 1",
|
|
5926
|
-
city: "New York",
|
|
5927
|
-
state: CandidApi.State.Ny,
|
|
5928
|
-
zipCode: "10001",
|
|
5929
|
-
zipPlusFourCode: "1234",
|
|
5930
|
-
},
|
|
5931
|
-
});
|
|
5932
|
-
```
|
|
5933
|
-
|
|
5934
|
-
</dd>
|
|
5935
|
-
</dl>
|
|
5936
|
-
</dd>
|
|
5937
|
-
</dl>
|
|
5938
|
-
|
|
5939
|
-
#### ⚙️ Parameters
|
|
6200
|
+
## PreEncounter Coverages V1
|
|
5940
6201
|
|
|
5941
|
-
<
|
|
5942
|
-
<dd>
|
|
5943
|
-
|
|
5944
|
-
<dl>
|
|
5945
|
-
<dd>
|
|
5946
|
-
|
|
5947
|
-
**serviceFacilityId:** `CandidApi.ServiceFacilityId`
|
|
5948
|
-
|
|
5949
|
-
</dd>
|
|
5950
|
-
</dl>
|
|
5951
|
-
|
|
5952
|
-
<dl>
|
|
5953
|
-
<dd>
|
|
5954
|
-
|
|
5955
|
-
**request:** `CandidApi.EncounterServiceFacilityUpdate`
|
|
5956
|
-
|
|
5957
|
-
</dd>
|
|
5958
|
-
</dl>
|
|
5959
|
-
|
|
5960
|
-
<dl>
|
|
5961
|
-
<dd>
|
|
5962
|
-
|
|
5963
|
-
**requestOptions:** `ServiceFacility.RequestOptions`
|
|
5964
|
-
|
|
5965
|
-
</dd>
|
|
5966
|
-
</dl>
|
|
5967
|
-
</dd>
|
|
5968
|
-
</dl>
|
|
5969
|
-
|
|
5970
|
-
</dd>
|
|
5971
|
-
</dl>
|
|
5972
|
-
</details>
|
|
5973
|
-
|
|
5974
|
-
## PreEncounter Coverages V1 Coverages
|
|
5975
|
-
|
|
5976
|
-
<details><summary><code>client.preEncounter.coverages.v1.coverages.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Coverage, CandidApi.preEncounter.coverages.v1.coverages.create.Error></code></summary>
|
|
6202
|
+
<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Coverage, CandidApi.preEncounter.coverages.v1.create.Error></code></summary>
|
|
5977
6203
|
<dl>
|
|
5978
6204
|
<dd>
|
|
5979
6205
|
|
|
@@ -6001,17 +6227,12 @@ Creates a new Coverage. A Coverage provides the high-level identifiers and descr
|
|
|
6001
6227
|
<dd>
|
|
6002
6228
|
|
|
6003
6229
|
```typescript
|
|
6004
|
-
await client.preEncounter.coverages.v1.
|
|
6230
|
+
await client.preEncounter.coverages.v1.create({
|
|
6005
6231
|
status: CandidApi.CoverageStatus.Active,
|
|
6006
6232
|
subscriber: {
|
|
6007
|
-
name: {
|
|
6008
|
-
family: "string",
|
|
6009
|
-
given: ["string"],
|
|
6010
|
-
use: CandidApi.NameUse.Usual,
|
|
6011
|
-
period: {},
|
|
6012
|
-
},
|
|
6233
|
+
name: {},
|
|
6013
6234
|
dateOfBirth: "2023-01-15",
|
|
6014
|
-
gender: CandidApi.Gender.
|
|
6235
|
+
gender: CandidApi.Gender.Man,
|
|
6015
6236
|
},
|
|
6016
6237
|
relationship: CandidApi.Relationship.Self,
|
|
6017
6238
|
patient: CandidApi.PatientId("string"),
|
|
@@ -6021,11 +6242,8 @@ await client.preEncounter.coverages.v1.coverages.create({
|
|
|
6021
6242
|
payerName: "string",
|
|
6022
6243
|
groupNumber: "string",
|
|
6023
6244
|
name: "string",
|
|
6024
|
-
type: CandidApi.
|
|
6025
|
-
period: {
|
|
6026
|
-
start: "2023-01-15",
|
|
6027
|
-
end: "2023-01-15",
|
|
6028
|
-
},
|
|
6245
|
+
type: CandidApi.NetworkType.Ppo,
|
|
6246
|
+
period: {},
|
|
6029
6247
|
insuranceCardImageLocator: "string",
|
|
6030
6248
|
},
|
|
6031
6249
|
verified: true,
|
|
@@ -6053,7 +6271,7 @@ await client.preEncounter.coverages.v1.coverages.create({
|
|
|
6053
6271
|
<dl>
|
|
6054
6272
|
<dd>
|
|
6055
6273
|
|
|
6056
|
-
**requestOptions:** `
|
|
6274
|
+
**requestOptions:** `V1.RequestOptions`
|
|
6057
6275
|
|
|
6058
6276
|
</dd>
|
|
6059
6277
|
</dl>
|
|
@@ -6064,7 +6282,7 @@ await client.preEncounter.coverages.v1.coverages.create({
|
|
|
6064
6282
|
</dl>
|
|
6065
6283
|
</details>
|
|
6066
6284
|
|
|
6067
|
-
<details><summary><code>client.preEncounter.coverages.v1
|
|
6285
|
+
<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">update</a>(id, version, { ...params }) -> core.APIResponse<CandidApi.Coverage, CandidApi.preEncounter.coverages.v1.update.Error></code></summary>
|
|
6068
6286
|
<dl>
|
|
6069
6287
|
<dd>
|
|
6070
6288
|
|
|
@@ -6092,39 +6310,27 @@ Updates a Coverage. The path must contain the most recent version to prevent rac
|
|
|
6092
6310
|
<dd>
|
|
6093
6311
|
|
|
6094
6312
|
```typescript
|
|
6095
|
-
await client.preEncounter.coverages.v1.
|
|
6096
|
-
CandidApi.
|
|
6097
|
-
|
|
6098
|
-
|
|
6099
|
-
|
|
6100
|
-
|
|
6101
|
-
|
|
6102
|
-
|
|
6103
|
-
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
|
|
6107
|
-
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
groupNumber: "string",
|
|
6117
|
-
name: "string",
|
|
6118
|
-
type: CandidApi.CoverageType.Ppo,
|
|
6119
|
-
period: {
|
|
6120
|
-
start: "2023-01-15",
|
|
6121
|
-
end: "2023-01-15",
|
|
6122
|
-
},
|
|
6123
|
-
insuranceCardImageLocator: "string",
|
|
6124
|
-
},
|
|
6125
|
-
verified: true,
|
|
6126
|
-
}
|
|
6127
|
-
);
|
|
6313
|
+
await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), "string", {
|
|
6314
|
+
status: CandidApi.CoverageStatus.Active,
|
|
6315
|
+
subscriber: {
|
|
6316
|
+
name: {},
|
|
6317
|
+
dateOfBirth: "2023-01-15",
|
|
6318
|
+
gender: CandidApi.Gender.Man,
|
|
6319
|
+
},
|
|
6320
|
+
relationship: CandidApi.Relationship.Self,
|
|
6321
|
+
patient: CandidApi.PatientId("string"),
|
|
6322
|
+
insurancePlan: {
|
|
6323
|
+
memberId: "string",
|
|
6324
|
+
payerId: CandidApi.PayerId("string"),
|
|
6325
|
+
payerName: "string",
|
|
6326
|
+
groupNumber: "string",
|
|
6327
|
+
name: "string",
|
|
6328
|
+
type: CandidApi.NetworkType.Ppo,
|
|
6329
|
+
period: {},
|
|
6330
|
+
insuranceCardImageLocator: "string",
|
|
6331
|
+
},
|
|
6332
|
+
verified: true,
|
|
6333
|
+
});
|
|
6128
6334
|
```
|
|
6129
6335
|
|
|
6130
6336
|
</dd>
|
|
@@ -6148,7 +6354,7 @@ await client.preEncounter.coverages.v1.coverages.update(
|
|
|
6148
6354
|
<dl>
|
|
6149
6355
|
<dd>
|
|
6150
6356
|
|
|
6151
|
-
**version:** `
|
|
6357
|
+
**version:** `string`
|
|
6152
6358
|
|
|
6153
6359
|
</dd>
|
|
6154
6360
|
</dl>
|
|
@@ -6164,7 +6370,7 @@ await client.preEncounter.coverages.v1.coverages.update(
|
|
|
6164
6370
|
<dl>
|
|
6165
6371
|
<dd>
|
|
6166
6372
|
|
|
6167
|
-
**requestOptions:** `
|
|
6373
|
+
**requestOptions:** `V1.RequestOptions`
|
|
6168
6374
|
|
|
6169
6375
|
</dd>
|
|
6170
6376
|
</dl>
|
|
@@ -6175,7 +6381,7 @@ await client.preEncounter.coverages.v1.coverages.update(
|
|
|
6175
6381
|
</dl>
|
|
6176
6382
|
</details>
|
|
6177
6383
|
|
|
6178
|
-
<details><summary><code>client.preEncounter.coverages.v1
|
|
6384
|
+
<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">get</a>(id) -> core.APIResponse<CandidApi.Coverage, CandidApi.preEncounter.coverages.v1.get.Error></code></summary>
|
|
6179
6385
|
<dl>
|
|
6180
6386
|
<dd>
|
|
6181
6387
|
|
|
@@ -6203,7 +6409,7 @@ gets a specific Coverage
|
|
|
6203
6409
|
<dd>
|
|
6204
6410
|
|
|
6205
6411
|
```typescript
|
|
6206
|
-
await client.preEncounter.coverages.v1.
|
|
6412
|
+
await client.preEncounter.coverages.v1.get(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
|
|
6207
6413
|
```
|
|
6208
6414
|
|
|
6209
6415
|
</dd>
|
|
@@ -6227,7 +6433,7 @@ await client.preEncounter.coverages.v1.coverages.get(CandidApi.CoverageId("d5e9c
|
|
|
6227
6433
|
<dl>
|
|
6228
6434
|
<dd>
|
|
6229
6435
|
|
|
6230
|
-
**requestOptions:** `
|
|
6436
|
+
**requestOptions:** `V1.RequestOptions`
|
|
6231
6437
|
|
|
6232
6438
|
</dd>
|
|
6233
6439
|
</dl>
|
|
@@ -6238,7 +6444,7 @@ await client.preEncounter.coverages.v1.coverages.get(CandidApi.CoverageId("d5e9c
|
|
|
6238
6444
|
</dl>
|
|
6239
6445
|
</details>
|
|
6240
6446
|
|
|
6241
|
-
<details><summary><code>client.preEncounter.coverages.v1
|
|
6447
|
+
<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">getHistory</a>(id) -> core.APIResponse<CandidApi.Coverage[], CandidApi.preEncounter.coverages.v1.getHistory.Error></code></summary>
|
|
6242
6448
|
<dl>
|
|
6243
6449
|
<dd>
|
|
6244
6450
|
|
|
@@ -6266,9 +6472,7 @@ Gets a coverage along with it's full history. The return list is ordered by vers
|
|
|
6266
6472
|
<dd>
|
|
6267
6473
|
|
|
6268
6474
|
```typescript
|
|
6269
|
-
await client.preEncounter.coverages.v1.
|
|
6270
|
-
CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
6271
|
-
);
|
|
6475
|
+
await client.preEncounter.coverages.v1.getHistory(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
|
|
6272
6476
|
```
|
|
6273
6477
|
|
|
6274
6478
|
</dd>
|
|
@@ -6292,7 +6496,7 @@ await client.preEncounter.coverages.v1.coverages.getHistory(
|
|
|
6292
6496
|
<dl>
|
|
6293
6497
|
<dd>
|
|
6294
6498
|
|
|
6295
|
-
**requestOptions:** `
|
|
6499
|
+
**requestOptions:** `V1.RequestOptions`
|
|
6296
6500
|
|
|
6297
6501
|
</dd>
|
|
6298
6502
|
</dl>
|
|
@@ -6303,7 +6507,7 @@ await client.preEncounter.coverages.v1.coverages.getHistory(
|
|
|
6303
6507
|
</dl>
|
|
6304
6508
|
</details>
|
|
6305
6509
|
|
|
6306
|
-
<details><summary><code>client.preEncounter.coverages.v1
|
|
6510
|
+
<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse<CandidApi.Coverage[], CandidApi.preEncounter.coverages.v1.getMulti.Error></code></summary>
|
|
6307
6511
|
<dl>
|
|
6308
6512
|
<dd>
|
|
6309
6513
|
|
|
@@ -6331,7 +6535,7 @@ returns a list of Coverages based on the search criteria
|
|
|
6331
6535
|
<dd>
|
|
6332
6536
|
|
|
6333
6537
|
```typescript
|
|
6334
|
-
await client.preEncounter.coverages.v1.
|
|
6538
|
+
await client.preEncounter.coverages.v1.getMulti({
|
|
6335
6539
|
patientId: "string",
|
|
6336
6540
|
});
|
|
6337
6541
|
```
|
|
@@ -6357,7 +6561,7 @@ await client.preEncounter.coverages.v1.coverages.getMulti({
|
|
|
6357
6561
|
<dl>
|
|
6358
6562
|
<dd>
|
|
6359
6563
|
|
|
6360
|
-
**requestOptions:** `
|
|
6564
|
+
**requestOptions:** `V1.RequestOptions`
|
|
6361
6565
|
|
|
6362
6566
|
</dd>
|
|
6363
6567
|
</dl>
|
|
@@ -6368,7 +6572,7 @@ await client.preEncounter.coverages.v1.coverages.getMulti({
|
|
|
6368
6572
|
</dl>
|
|
6369
6573
|
</details>
|
|
6370
6574
|
|
|
6371
|
-
<details><summary><code>client.preEncounter.coverages.v1
|
|
6575
|
+
<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">scan</a>({ ...params }) -> core.APIResponse<CandidApi.Coverage[], CandidApi.preEncounter.coverages.v1.scan.Error></code></summary>
|
|
6372
6576
|
<dl>
|
|
6373
6577
|
<dd>
|
|
6374
6578
|
|
|
@@ -6396,7 +6600,7 @@ Scans up to 100 coverage updates. The since query parameter is inclusive, and th
|
|
|
6396
6600
|
<dd>
|
|
6397
6601
|
|
|
6398
6602
|
```typescript
|
|
6399
|
-
await client.preEncounter.coverages.v1.
|
|
6603
|
+
await client.preEncounter.coverages.v1.scan({
|
|
6400
6604
|
since: new Date("2024-01-15T09:30:00.000Z"),
|
|
6401
6605
|
});
|
|
6402
6606
|
```
|
|
@@ -6422,7 +6626,7 @@ await client.preEncounter.coverages.v1.coverages.scan({
|
|
|
6422
6626
|
<dl>
|
|
6423
6627
|
<dd>
|
|
6424
6628
|
|
|
6425
|
-
**requestOptions:** `
|
|
6629
|
+
**requestOptions:** `V1.RequestOptions`
|
|
6426
6630
|
|
|
6427
6631
|
</dd>
|
|
6428
6632
|
</dl>
|
|
@@ -6433,9 +6637,9 @@ await client.preEncounter.coverages.v1.coverages.scan({
|
|
|
6433
6637
|
</dl>
|
|
6434
6638
|
</details>
|
|
6435
6639
|
|
|
6436
|
-
## PreEncounter Patients V1
|
|
6640
|
+
## PreEncounter Patients V1
|
|
6437
6641
|
|
|
6438
|
-
<details><summary><code>client.preEncounter.patients.v1
|
|
6642
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.create.Error></code></summary>
|
|
6439
6643
|
<dl>
|
|
6440
6644
|
<dd>
|
|
6441
6645
|
|
|
@@ -6463,64 +6667,26 @@ Adds a patient. VersionConflictError is returned when the patient's external ID
|
|
|
6463
6667
|
<dd>
|
|
6464
6668
|
|
|
6465
6669
|
```typescript
|
|
6466
|
-
await client.preEncounter.patients.v1.
|
|
6467
|
-
name: {
|
|
6468
|
-
|
|
6469
|
-
|
|
6470
|
-
use: CandidApi.NameUse.Usual,
|
|
6471
|
-
period: {},
|
|
6472
|
-
},
|
|
6473
|
-
otherNames: [
|
|
6474
|
-
{
|
|
6475
|
-
family: "string",
|
|
6476
|
-
given: ["string"],
|
|
6477
|
-
use: CandidApi.NameUse.Usual,
|
|
6478
|
-
period: {},
|
|
6479
|
-
},
|
|
6480
|
-
],
|
|
6481
|
-
gender: CandidApi.Gender.Female,
|
|
6670
|
+
await client.preEncounter.patients.v1.create({
|
|
6671
|
+
name: {},
|
|
6672
|
+
otherNames: [{}],
|
|
6673
|
+
gender: CandidApi.Gender.Man,
|
|
6482
6674
|
birthDate: "2023-01-15",
|
|
6675
|
+
socialSecurityNumber: "string",
|
|
6676
|
+
biologicalSex: CandidApi.Sex.Female,
|
|
6677
|
+
sexualOrientation: CandidApi.SexualOrientation.Heterosexual,
|
|
6678
|
+
race: CandidApi.Race.AmericanIndianOrAlaskaNative,
|
|
6679
|
+
ethnicity: CandidApi.Ethnicity.HispanicOrLatino,
|
|
6680
|
+
disabilityStatus: CandidApi.DisabilityStatus.Disabled,
|
|
6483
6681
|
maritalStatus: CandidApi.MaritalStatus.Annulled,
|
|
6484
6682
|
deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
6485
6683
|
multipleBirth: 1,
|
|
6486
|
-
primaryAddress: {
|
|
6487
|
-
|
|
6488
|
-
|
|
6489
|
-
|
|
6490
|
-
|
|
6491
|
-
|
|
6492
|
-
country: "string",
|
|
6493
|
-
period: {},
|
|
6494
|
-
},
|
|
6495
|
-
otherAddresses: [
|
|
6496
|
-
{
|
|
6497
|
-
use: CandidApi.AddressUse.Home,
|
|
6498
|
-
line: ["string"],
|
|
6499
|
-
city: "string",
|
|
6500
|
-
state: "string",
|
|
6501
|
-
postalCode: "string",
|
|
6502
|
-
country: "string",
|
|
6503
|
-
period: {},
|
|
6504
|
-
},
|
|
6505
|
-
],
|
|
6506
|
-
primaryTelecom: {
|
|
6507
|
-
value: "string",
|
|
6508
|
-
use: CandidApi.ContactPointUse.Home,
|
|
6509
|
-
period: {
|
|
6510
|
-
start: "2023-01-15",
|
|
6511
|
-
end: "2023-01-15",
|
|
6512
|
-
},
|
|
6513
|
-
},
|
|
6514
|
-
otherTelecoms: [
|
|
6515
|
-
{
|
|
6516
|
-
value: "string",
|
|
6517
|
-
use: CandidApi.ContactPointUse.Home,
|
|
6518
|
-
period: {
|
|
6519
|
-
start: "2023-01-15",
|
|
6520
|
-
end: "2023-01-15",
|
|
6521
|
-
},
|
|
6522
|
-
},
|
|
6523
|
-
],
|
|
6684
|
+
primaryAddress: {},
|
|
6685
|
+
otherAddresses: [{}],
|
|
6686
|
+
primaryTelecom: {},
|
|
6687
|
+
otherTelecoms: [{}],
|
|
6688
|
+
email: "string",
|
|
6689
|
+
electronicCommunicationOptIn: true,
|
|
6524
6690
|
photo: "string",
|
|
6525
6691
|
language: "string",
|
|
6526
6692
|
externalProvenance: {
|
|
@@ -6530,75 +6696,25 @@ await client.preEncounter.patients.v1.patients.create({
|
|
|
6530
6696
|
contacts: [
|
|
6531
6697
|
{
|
|
6532
6698
|
relationship: [CandidApi.Relationship.Self],
|
|
6533
|
-
name: {
|
|
6534
|
-
|
|
6535
|
-
|
|
6536
|
-
|
|
6537
|
-
|
|
6538
|
-
},
|
|
6539
|
-
gender: CandidApi.Gender.Female,
|
|
6540
|
-
telecoms: [
|
|
6541
|
-
{
|
|
6542
|
-
value: "string",
|
|
6543
|
-
use: CandidApi.ContactPointUse.Home,
|
|
6544
|
-
period: {
|
|
6545
|
-
start: "2023-01-15",
|
|
6546
|
-
end: "2023-01-15",
|
|
6547
|
-
},
|
|
6548
|
-
},
|
|
6549
|
-
],
|
|
6550
|
-
addresses: [
|
|
6551
|
-
{
|
|
6552
|
-
use: CandidApi.AddressUse.Home,
|
|
6553
|
-
line: ["string"],
|
|
6554
|
-
city: "string",
|
|
6555
|
-
state: "string",
|
|
6556
|
-
postalCode: "string",
|
|
6557
|
-
country: "string",
|
|
6558
|
-
period: {},
|
|
6559
|
-
},
|
|
6560
|
-
],
|
|
6561
|
-
period: {
|
|
6562
|
-
start: "2023-01-15",
|
|
6563
|
-
end: "2023-01-15",
|
|
6564
|
-
},
|
|
6699
|
+
name: {},
|
|
6700
|
+
gender: CandidApi.Gender.Man,
|
|
6701
|
+
telecoms: [{}],
|
|
6702
|
+
addresses: [{}],
|
|
6703
|
+
period: {},
|
|
6565
6704
|
},
|
|
6566
6705
|
],
|
|
6567
6706
|
generalPractitioners: [
|
|
6568
6707
|
{
|
|
6569
|
-
name: {
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
|
|
6573
|
-
|
|
6574
|
-
},
|
|
6575
|
-
telecoms: [
|
|
6576
|
-
{
|
|
6577
|
-
value: "string",
|
|
6578
|
-
use: CandidApi.ContactPointUse.Home,
|
|
6579
|
-
period: {
|
|
6580
|
-
start: "2023-01-15",
|
|
6581
|
-
end: "2023-01-15",
|
|
6582
|
-
},
|
|
6583
|
-
},
|
|
6584
|
-
],
|
|
6585
|
-
addresses: [
|
|
6586
|
-
{
|
|
6587
|
-
use: CandidApi.AddressUse.Home,
|
|
6588
|
-
line: ["string"],
|
|
6589
|
-
city: "string",
|
|
6590
|
-
state: "string",
|
|
6591
|
-
postalCode: "string",
|
|
6592
|
-
country: "string",
|
|
6593
|
-
period: {},
|
|
6594
|
-
},
|
|
6595
|
-
],
|
|
6596
|
-
period: {
|
|
6597
|
-
start: "2023-01-15",
|
|
6598
|
-
end: "2023-01-15",
|
|
6599
|
-
},
|
|
6708
|
+
name: {},
|
|
6709
|
+
npi: "string",
|
|
6710
|
+
telecoms: [{}],
|
|
6711
|
+
addresses: [{}],
|
|
6712
|
+
period: {},
|
|
6600
6713
|
},
|
|
6601
6714
|
],
|
|
6715
|
+
filingOrder: {
|
|
6716
|
+
coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
6717
|
+
},
|
|
6602
6718
|
});
|
|
6603
6719
|
```
|
|
6604
6720
|
|
|
@@ -6623,7 +6739,7 @@ await client.preEncounter.patients.v1.patients.create({
|
|
|
6623
6739
|
<dl>
|
|
6624
6740
|
<dd>
|
|
6625
6741
|
|
|
6626
|
-
**requestOptions:** `
|
|
6742
|
+
**requestOptions:** `V1.RequestOptions`
|
|
6627
6743
|
|
|
6628
6744
|
</dd>
|
|
6629
6745
|
</dl>
|
|
@@ -6634,7 +6750,7 @@ await client.preEncounter.patients.v1.patients.create({
|
|
|
6634
6750
|
</dl>
|
|
6635
6751
|
</details>
|
|
6636
6752
|
|
|
6637
|
-
<details><summary><code>client.preEncounter.patients.v1
|
|
6753
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">get</a>(id) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.get.Error></code></summary>
|
|
6638
6754
|
<dl>
|
|
6639
6755
|
<dd>
|
|
6640
6756
|
|
|
@@ -6662,7 +6778,7 @@ Gets a patient.
|
|
|
6662
6778
|
<dd>
|
|
6663
6779
|
|
|
6664
6780
|
```typescript
|
|
6665
|
-
await client.preEncounter.patients.v1.
|
|
6781
|
+
await client.preEncounter.patients.v1.get(CandidApi.PatientId("string"));
|
|
6666
6782
|
```
|
|
6667
6783
|
|
|
6668
6784
|
</dd>
|
|
@@ -6686,7 +6802,7 @@ await client.preEncounter.patients.v1.patients.get(CandidApi.PatientId("string")
|
|
|
6686
6802
|
<dl>
|
|
6687
6803
|
<dd>
|
|
6688
6804
|
|
|
6689
|
-
**requestOptions:** `
|
|
6805
|
+
**requestOptions:** `V1.RequestOptions`
|
|
6690
6806
|
|
|
6691
6807
|
</dd>
|
|
6692
6808
|
</dl>
|
|
@@ -6697,7 +6813,7 @@ await client.preEncounter.patients.v1.patients.get(CandidApi.PatientId("string")
|
|
|
6697
6813
|
</dl>
|
|
6698
6814
|
</details>
|
|
6699
6815
|
|
|
6700
|
-
<details><summary><code>client.preEncounter.patients.v1
|
|
6816
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">getHistory</a>(id) -> core.APIResponse<CandidApi.Patient[], CandidApi.preEncounter.patients.v1.getHistory.Error></code></summary>
|
|
6701
6817
|
<dl>
|
|
6702
6818
|
<dd>
|
|
6703
6819
|
|
|
@@ -6725,7 +6841,7 @@ Gets a patient along with it's full history. The return list is ordered by versi
|
|
|
6725
6841
|
<dd>
|
|
6726
6842
|
|
|
6727
6843
|
```typescript
|
|
6728
|
-
await client.preEncounter.patients.v1.
|
|
6844
|
+
await client.preEncounter.patients.v1.getHistory(CandidApi.PatientId("string"));
|
|
6729
6845
|
```
|
|
6730
6846
|
|
|
6731
6847
|
</dd>
|
|
@@ -6749,7 +6865,7 @@ await client.preEncounter.patients.v1.patients.getHistory(CandidApi.PatientId("s
|
|
|
6749
6865
|
<dl>
|
|
6750
6866
|
<dd>
|
|
6751
6867
|
|
|
6752
|
-
**requestOptions:** `
|
|
6868
|
+
**requestOptions:** `V1.RequestOptions`
|
|
6753
6869
|
|
|
6754
6870
|
</dd>
|
|
6755
6871
|
</dl>
|
|
@@ -6760,7 +6876,7 @@ await client.preEncounter.patients.v1.patients.getHistory(CandidApi.PatientId("s
|
|
|
6760
6876
|
</dl>
|
|
6761
6877
|
</details>
|
|
6762
6878
|
|
|
6763
|
-
<details><summary><code>client.preEncounter.patients.v1
|
|
6879
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">update</a>(id, version, { ...params }) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.update.Error></code></summary>
|
|
6764
6880
|
<dl>
|
|
6765
6881
|
<dd>
|
|
6766
6882
|
|
|
@@ -6788,64 +6904,26 @@ Updates a patient. The path must contain the most recent version to prevent race
|
|
|
6788
6904
|
<dd>
|
|
6789
6905
|
|
|
6790
6906
|
```typescript
|
|
6791
|
-
await client.preEncounter.patients.v1.
|
|
6792
|
-
name: {
|
|
6793
|
-
|
|
6794
|
-
|
|
6795
|
-
use: CandidApi.NameUse.Usual,
|
|
6796
|
-
period: {},
|
|
6797
|
-
},
|
|
6798
|
-
otherNames: [
|
|
6799
|
-
{
|
|
6800
|
-
family: "string",
|
|
6801
|
-
given: ["string"],
|
|
6802
|
-
use: CandidApi.NameUse.Usual,
|
|
6803
|
-
period: {},
|
|
6804
|
-
},
|
|
6805
|
-
],
|
|
6806
|
-
gender: CandidApi.Gender.Female,
|
|
6907
|
+
await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "string", {
|
|
6908
|
+
name: {},
|
|
6909
|
+
otherNames: [{}],
|
|
6910
|
+
gender: CandidApi.Gender.Man,
|
|
6807
6911
|
birthDate: "2023-01-15",
|
|
6912
|
+
socialSecurityNumber: "string",
|
|
6913
|
+
biologicalSex: CandidApi.Sex.Female,
|
|
6914
|
+
sexualOrientation: CandidApi.SexualOrientation.Heterosexual,
|
|
6915
|
+
race: CandidApi.Race.AmericanIndianOrAlaskaNative,
|
|
6916
|
+
ethnicity: CandidApi.Ethnicity.HispanicOrLatino,
|
|
6917
|
+
disabilityStatus: CandidApi.DisabilityStatus.Disabled,
|
|
6808
6918
|
maritalStatus: CandidApi.MaritalStatus.Annulled,
|
|
6809
6919
|
deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
6810
6920
|
multipleBirth: 1,
|
|
6811
|
-
primaryAddress: {
|
|
6812
|
-
|
|
6813
|
-
|
|
6814
|
-
|
|
6815
|
-
|
|
6816
|
-
|
|
6817
|
-
country: "string",
|
|
6818
|
-
period: {},
|
|
6819
|
-
},
|
|
6820
|
-
otherAddresses: [
|
|
6821
|
-
{
|
|
6822
|
-
use: CandidApi.AddressUse.Home,
|
|
6823
|
-
line: ["string"],
|
|
6824
|
-
city: "string",
|
|
6825
|
-
state: "string",
|
|
6826
|
-
postalCode: "string",
|
|
6827
|
-
country: "string",
|
|
6828
|
-
period: {},
|
|
6829
|
-
},
|
|
6830
|
-
],
|
|
6831
|
-
primaryTelecom: {
|
|
6832
|
-
value: "string",
|
|
6833
|
-
use: CandidApi.ContactPointUse.Home,
|
|
6834
|
-
period: {
|
|
6835
|
-
start: "2023-01-15",
|
|
6836
|
-
end: "2023-01-15",
|
|
6837
|
-
},
|
|
6838
|
-
},
|
|
6839
|
-
otherTelecoms: [
|
|
6840
|
-
{
|
|
6841
|
-
value: "string",
|
|
6842
|
-
use: CandidApi.ContactPointUse.Home,
|
|
6843
|
-
period: {
|
|
6844
|
-
start: "2023-01-15",
|
|
6845
|
-
end: "2023-01-15",
|
|
6846
|
-
},
|
|
6847
|
-
},
|
|
6848
|
-
],
|
|
6921
|
+
primaryAddress: {},
|
|
6922
|
+
otherAddresses: [{}],
|
|
6923
|
+
primaryTelecom: {},
|
|
6924
|
+
otherTelecoms: [{}],
|
|
6925
|
+
email: "string",
|
|
6926
|
+
electronicCommunicationOptIn: true,
|
|
6849
6927
|
photo: "string",
|
|
6850
6928
|
language: "string",
|
|
6851
6929
|
externalProvenance: {
|
|
@@ -6855,75 +6933,25 @@ await client.preEncounter.patients.v1.patients.update(CandidApi.PatientId("strin
|
|
|
6855
6933
|
contacts: [
|
|
6856
6934
|
{
|
|
6857
6935
|
relationship: [CandidApi.Relationship.Self],
|
|
6858
|
-
name: {
|
|
6859
|
-
|
|
6860
|
-
|
|
6861
|
-
|
|
6862
|
-
|
|
6863
|
-
},
|
|
6864
|
-
gender: CandidApi.Gender.Female,
|
|
6865
|
-
telecoms: [
|
|
6866
|
-
{
|
|
6867
|
-
value: "string",
|
|
6868
|
-
use: CandidApi.ContactPointUse.Home,
|
|
6869
|
-
period: {
|
|
6870
|
-
start: "2023-01-15",
|
|
6871
|
-
end: "2023-01-15",
|
|
6872
|
-
},
|
|
6873
|
-
},
|
|
6874
|
-
],
|
|
6875
|
-
addresses: [
|
|
6876
|
-
{
|
|
6877
|
-
use: CandidApi.AddressUse.Home,
|
|
6878
|
-
line: ["string"],
|
|
6879
|
-
city: "string",
|
|
6880
|
-
state: "string",
|
|
6881
|
-
postalCode: "string",
|
|
6882
|
-
country: "string",
|
|
6883
|
-
period: {},
|
|
6884
|
-
},
|
|
6885
|
-
],
|
|
6886
|
-
period: {
|
|
6887
|
-
start: "2023-01-15",
|
|
6888
|
-
end: "2023-01-15",
|
|
6889
|
-
},
|
|
6936
|
+
name: {},
|
|
6937
|
+
gender: CandidApi.Gender.Man,
|
|
6938
|
+
telecoms: [{}],
|
|
6939
|
+
addresses: [{}],
|
|
6940
|
+
period: {},
|
|
6890
6941
|
},
|
|
6891
6942
|
],
|
|
6892
6943
|
generalPractitioners: [
|
|
6893
6944
|
{
|
|
6894
|
-
name: {
|
|
6895
|
-
|
|
6896
|
-
|
|
6897
|
-
|
|
6898
|
-
|
|
6899
|
-
},
|
|
6900
|
-
telecoms: [
|
|
6901
|
-
{
|
|
6902
|
-
value: "string",
|
|
6903
|
-
use: CandidApi.ContactPointUse.Home,
|
|
6904
|
-
period: {
|
|
6905
|
-
start: "2023-01-15",
|
|
6906
|
-
end: "2023-01-15",
|
|
6907
|
-
},
|
|
6908
|
-
},
|
|
6909
|
-
],
|
|
6910
|
-
addresses: [
|
|
6911
|
-
{
|
|
6912
|
-
use: CandidApi.AddressUse.Home,
|
|
6913
|
-
line: ["string"],
|
|
6914
|
-
city: "string",
|
|
6915
|
-
state: "string",
|
|
6916
|
-
postalCode: "string",
|
|
6917
|
-
country: "string",
|
|
6918
|
-
period: {},
|
|
6919
|
-
},
|
|
6920
|
-
],
|
|
6921
|
-
period: {
|
|
6922
|
-
start: "2023-01-15",
|
|
6923
|
-
end: "2023-01-15",
|
|
6924
|
-
},
|
|
6945
|
+
name: {},
|
|
6946
|
+
npi: "string",
|
|
6947
|
+
telecoms: [{}],
|
|
6948
|
+
addresses: [{}],
|
|
6949
|
+
period: {},
|
|
6925
6950
|
},
|
|
6926
6951
|
],
|
|
6952
|
+
filingOrder: {
|
|
6953
|
+
coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
6954
|
+
},
|
|
6927
6955
|
});
|
|
6928
6956
|
```
|
|
6929
6957
|
|
|
@@ -6948,7 +6976,7 @@ await client.preEncounter.patients.v1.patients.update(CandidApi.PatientId("strin
|
|
|
6948
6976
|
<dl>
|
|
6949
6977
|
<dd>
|
|
6950
6978
|
|
|
6951
|
-
**version:** `
|
|
6979
|
+
**version:** `string`
|
|
6952
6980
|
|
|
6953
6981
|
</dd>
|
|
6954
6982
|
</dl>
|
|
@@ -6964,7 +6992,7 @@ await client.preEncounter.patients.v1.patients.update(CandidApi.PatientId("strin
|
|
|
6964
6992
|
<dl>
|
|
6965
6993
|
<dd>
|
|
6966
6994
|
|
|
6967
|
-
**requestOptions:** `
|
|
6995
|
+
**requestOptions:** `V1.RequestOptions`
|
|
6968
6996
|
|
|
6969
6997
|
</dd>
|
|
6970
6998
|
</dl>
|
|
@@ -6975,7 +7003,7 @@ await client.preEncounter.patients.v1.patients.update(CandidApi.PatientId("strin
|
|
|
6975
7003
|
</dl>
|
|
6976
7004
|
</details>
|
|
6977
7005
|
|
|
6978
|
-
<details><summary><code>client.preEncounter.patients.v1
|
|
7006
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">deactivate</a>(id, version) -> core.APIResponse<void, CandidApi.preEncounter.patients.v1.deactivate.Error></code></summary>
|
|
6979
7007
|
<dl>
|
|
6980
7008
|
<dd>
|
|
6981
7009
|
|
|
@@ -7003,7 +7031,7 @@ Sets a patient as deactivated. The path must contain the most recent version to
|
|
|
7003
7031
|
<dd>
|
|
7004
7032
|
|
|
7005
7033
|
```typescript
|
|
7006
|
-
await client.preEncounter.patients.v1.
|
|
7034
|
+
await client.preEncounter.patients.v1.deactivate(CandidApi.PatientId("string"), "string");
|
|
7007
7035
|
```
|
|
7008
7036
|
|
|
7009
7037
|
</dd>
|
|
@@ -7027,7 +7055,7 @@ await client.preEncounter.patients.v1.patients.deactivate(CandidApi.PatientId("s
|
|
|
7027
7055
|
<dl>
|
|
7028
7056
|
<dd>
|
|
7029
7057
|
|
|
7030
|
-
**version:** `
|
|
7058
|
+
**version:** `string`
|
|
7031
7059
|
|
|
7032
7060
|
</dd>
|
|
7033
7061
|
</dl>
|
|
@@ -7035,7 +7063,7 @@ await client.preEncounter.patients.v1.patients.deactivate(CandidApi.PatientId("s
|
|
|
7035
7063
|
<dl>
|
|
7036
7064
|
<dd>
|
|
7037
7065
|
|
|
7038
|
-
**requestOptions:** `
|
|
7066
|
+
**requestOptions:** `V1.RequestOptions`
|
|
7039
7067
|
|
|
7040
7068
|
</dd>
|
|
7041
7069
|
</dl>
|
|
@@ -7046,7 +7074,7 @@ await client.preEncounter.patients.v1.patients.deactivate(CandidApi.PatientId("s
|
|
|
7046
7074
|
</dl>
|
|
7047
7075
|
</details>
|
|
7048
7076
|
|
|
7049
|
-
<details><summary><code>client.preEncounter.patients.v1
|
|
7077
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">search</a>({ ...params }) -> core.APIResponse<CandidApi.Patient[], CandidApi.preEncounter.patients.v1.search.Error></code></summary>
|
|
7050
7078
|
<dl>
|
|
7051
7079
|
<dd>
|
|
7052
7080
|
|
|
@@ -7074,7 +7102,7 @@ Searches for patients that match the query parameters.
|
|
|
7074
7102
|
<dd>
|
|
7075
7103
|
|
|
7076
7104
|
```typescript
|
|
7077
|
-
await client.preEncounter.patients.v1.
|
|
7105
|
+
await client.preEncounter.patients.v1.search({
|
|
7078
7106
|
nameContains: "string",
|
|
7079
7107
|
});
|
|
7080
7108
|
```
|
|
@@ -7100,7 +7128,7 @@ await client.preEncounter.patients.v1.patients.search({
|
|
|
7100
7128
|
<dl>
|
|
7101
7129
|
<dd>
|
|
7102
7130
|
|
|
7103
|
-
**requestOptions:** `
|
|
7131
|
+
**requestOptions:** `V1.RequestOptions`
|
|
7104
7132
|
|
|
7105
7133
|
</dd>
|
|
7106
7134
|
</dl>
|
|
@@ -7111,7 +7139,7 @@ await client.preEncounter.patients.v1.patients.search({
|
|
|
7111
7139
|
</dl>
|
|
7112
7140
|
</details>
|
|
7113
7141
|
|
|
7114
|
-
<details><summary><code>client.preEncounter.patients.v1
|
|
7142
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">scan</a>({ ...params }) -> core.APIResponse<CandidApi.Patient[], CandidApi.preEncounter.patients.v1.scan.Error></code></summary>
|
|
7115
7143
|
<dl>
|
|
7116
7144
|
<dd>
|
|
7117
7145
|
|
|
@@ -7139,7 +7167,7 @@ Scans up to 100 patient updates. The since query parameter is inclusive, and the
|
|
|
7139
7167
|
<dd>
|
|
7140
7168
|
|
|
7141
7169
|
```typescript
|
|
7142
|
-
await client.preEncounter.patients.v1.
|
|
7170
|
+
await client.preEncounter.patients.v1.scan({
|
|
7143
7171
|
since: new Date("2024-01-15T09:30:00.000Z"),
|
|
7144
7172
|
});
|
|
7145
7173
|
```
|
|
@@ -7165,7 +7193,76 @@ await client.preEncounter.patients.v1.patients.scan({
|
|
|
7165
7193
|
<dl>
|
|
7166
7194
|
<dd>
|
|
7167
7195
|
|
|
7168
|
-
**requestOptions:** `
|
|
7196
|
+
**requestOptions:** `V1.RequestOptions`
|
|
7197
|
+
|
|
7198
|
+
</dd>
|
|
7199
|
+
</dl>
|
|
7200
|
+
</dd>
|
|
7201
|
+
</dl>
|
|
7202
|
+
|
|
7203
|
+
</dd>
|
|
7204
|
+
</dl>
|
|
7205
|
+
</details>
|
|
7206
|
+
|
|
7207
|
+
## ServiceFacility
|
|
7208
|
+
|
|
7209
|
+
<details><summary><code>client.serviceFacility.<a href="/src/api/resources/serviceFacility/client/Client.ts">update</a>(serviceFacilityId, { ...params }) -> core.APIResponse<CandidApi.EncounterServiceFacility, CandidApi.serviceFacility.update.Error></code></summary>
|
|
7210
|
+
<dl>
|
|
7211
|
+
<dd>
|
|
7212
|
+
|
|
7213
|
+
#### 🔌 Usage
|
|
7214
|
+
|
|
7215
|
+
<dl>
|
|
7216
|
+
<dd>
|
|
7217
|
+
|
|
7218
|
+
<dl>
|
|
7219
|
+
<dd>
|
|
7220
|
+
|
|
7221
|
+
```typescript
|
|
7222
|
+
await client.serviceFacility.update(CandidApi.ServiceFacilityId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
7223
|
+
organizationName: "string",
|
|
7224
|
+
npi: "string",
|
|
7225
|
+
address: {
|
|
7226
|
+
address1: "123 Main St",
|
|
7227
|
+
address2: "Apt 1",
|
|
7228
|
+
city: "New York",
|
|
7229
|
+
state: CandidApi.State.Ny,
|
|
7230
|
+
zipCode: "10001",
|
|
7231
|
+
zipPlusFourCode: "1234",
|
|
7232
|
+
},
|
|
7233
|
+
});
|
|
7234
|
+
```
|
|
7235
|
+
|
|
7236
|
+
</dd>
|
|
7237
|
+
</dl>
|
|
7238
|
+
</dd>
|
|
7239
|
+
</dl>
|
|
7240
|
+
|
|
7241
|
+
#### ⚙️ Parameters
|
|
7242
|
+
|
|
7243
|
+
<dl>
|
|
7244
|
+
<dd>
|
|
7245
|
+
|
|
7246
|
+
<dl>
|
|
7247
|
+
<dd>
|
|
7248
|
+
|
|
7249
|
+
**serviceFacilityId:** `CandidApi.ServiceFacilityId`
|
|
7250
|
+
|
|
7251
|
+
</dd>
|
|
7252
|
+
</dl>
|
|
7253
|
+
|
|
7254
|
+
<dl>
|
|
7255
|
+
<dd>
|
|
7256
|
+
|
|
7257
|
+
**request:** `CandidApi.EncounterServiceFacilityUpdate`
|
|
7258
|
+
|
|
7259
|
+
</dd>
|
|
7260
|
+
</dl>
|
|
7261
|
+
|
|
7262
|
+
<dl>
|
|
7263
|
+
<dd>
|
|
7264
|
+
|
|
7265
|
+
**requestOptions:** `ServiceFacility.RequestOptions`
|
|
7169
7266
|
|
|
7170
7267
|
</dd>
|
|
7171
7268
|
</dl>
|