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
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* name: "string",
|
|
9
|
+
* description: "string",
|
|
10
|
+
* fieldsToAdd: [{
|
|
11
|
+
* key: "string",
|
|
12
|
+
* type: CandidApi.Primitive.Boolean
|
|
13
|
+
* }]
|
|
14
|
+
* }
|
|
15
|
+
*/
|
|
16
|
+
export interface SchemaUpdate {
|
|
17
|
+
name?: string;
|
|
18
|
+
description?: string;
|
|
19
|
+
/** A list of typed entries to add to schema. Only additive modifications are permitted. */
|
|
20
|
+
fieldsToAdd?: CandidApi.customSchemas.v1.SchemaField[];
|
|
21
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.customSchemas.v1.update.Error.EntityNotFoundError | CandidApi.customSchemas.v1.update.Error.UnauthorizedError | CandidApi.customSchemas.v1.update.Error.SchemaValidationHttpFailure | CandidApi.customSchemas.v1.update.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface EntityNotFoundError extends _Utils {
|
|
9
|
+
errorName: "EntityNotFoundError";
|
|
10
|
+
content: CandidApi.EntityNotFoundErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface UnauthorizedError extends _Utils {
|
|
13
|
+
errorName: "UnauthorizedError";
|
|
14
|
+
content: CandidApi.UnauthorizedErrorMessage;
|
|
15
|
+
}
|
|
16
|
+
interface SchemaValidationHttpFailure extends _Utils {
|
|
17
|
+
errorName: "SchemaValidationHttpFailure";
|
|
18
|
+
content: CandidApi.customSchemas.v1.SchemaValidationFailure;
|
|
19
|
+
}
|
|
20
|
+
interface _Unknown extends _Utils {
|
|
21
|
+
errorName: void;
|
|
22
|
+
content: core.Fetcher.Error;
|
|
23
|
+
}
|
|
24
|
+
interface _Utils {
|
|
25
|
+
_visit: <_Result>(visitor: CandidApi.customSchemas.v1.update.Error._Visitor<_Result>) => _Result;
|
|
26
|
+
}
|
|
27
|
+
interface _Visitor<_Result> {
|
|
28
|
+
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
29
|
+
unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
|
|
30
|
+
schemaValidationHttpFailure: (value: CandidApi.customSchemas.v1.SchemaValidationFailure) => _Result;
|
|
31
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export declare const Error: {
|
|
35
|
+
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.customSchemas.v1.update.Error.EntityNotFoundError;
|
|
36
|
+
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.customSchemas.v1.update.Error.UnauthorizedError;
|
|
37
|
+
readonly schemaValidationHttpFailure: (value: CandidApi.customSchemas.v1.SchemaValidationFailure) => CandidApi.customSchemas.v1.update.Error.SchemaValidationHttpFailure;
|
|
38
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.customSchemas.v1.update.Error._Unknown;
|
|
39
|
+
readonly _visit: <_Result>(value: CandidApi.customSchemas.v1.update.Error, visitor: CandidApi.customSchemas.v1.update.Error._Visitor<_Result>) => _Result;
|
|
40
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
entityNotFoundError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "EntityNotFoundError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.customSchemas.v1.update.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
unauthorizedError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "UnauthorizedError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.customSchemas.v1.update.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
schemaValidationHttpFailure: (value) => {
|
|
51
|
+
return {
|
|
52
|
+
content: value,
|
|
53
|
+
errorName: "SchemaValidationHttpFailure",
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.customSchemas.v1.update.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
_unknown: (fetcherError) => {
|
|
60
|
+
return {
|
|
61
|
+
errorName: undefined,
|
|
62
|
+
content: fetcherError,
|
|
63
|
+
_visit: function (visitor) {
|
|
64
|
+
return CandidApi.customSchemas.v1.update.Error._visit(this, visitor);
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
_visit: (value, visitor) => {
|
|
69
|
+
switch (value.errorName) {
|
|
70
|
+
case "EntityNotFoundError":
|
|
71
|
+
return visitor.entityNotFoundError(value.content);
|
|
72
|
+
case "UnauthorizedError":
|
|
73
|
+
return visitor.unauthorizedError(value.content);
|
|
74
|
+
case "SchemaValidationHttpFailure":
|
|
75
|
+
return visitor.schemaValidationHttpFailure(value.content);
|
|
76
|
+
default:
|
|
77
|
+
return visitor._other(value);
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface Schema {
|
|
6
|
+
id: CandidApi.SchemaId;
|
|
7
|
+
name: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
fields: CandidApi.customSchemas.v1.SchemaField[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
|
|
9
|
+
* content: {
|
|
10
|
+
* "provider_category": "internist",
|
|
11
|
+
* "is_urgent_care": true,
|
|
12
|
+
* "bmi": 24.2,
|
|
13
|
+
* "age": 38
|
|
14
|
+
* }
|
|
15
|
+
* }
|
|
16
|
+
*/
|
|
17
|
+
export interface SchemaInstance {
|
|
18
|
+
/** The schema to which the content must adhere. */
|
|
19
|
+
schemaId: CandidApi.SchemaId;
|
|
20
|
+
/** A set of key-value pairs that adhere to the naming and type convention of the schema. Not all keys in the schema must be included, but attaching any key that does not exist in the schema or attaching a key with the incorrect value type will result in errors. */
|
|
21
|
+
content: Record<string, unknown>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export declare type SchemaValidationError = CandidApi.customSchemas.v1.SchemaValidationError.SchemaNameAlreadyExists | CandidApi.customSchemas.v1.SchemaValidationError.KeyNameAlreadyExists;
|
|
6
|
+
export declare namespace SchemaValidationError {
|
|
7
|
+
interface SchemaNameAlreadyExists extends CandidApi.customSchemas.v1.SchemaWithNameAlreadyExistsError {
|
|
8
|
+
type: "schema_name_already_exists";
|
|
9
|
+
}
|
|
10
|
+
interface KeyNameAlreadyExists extends CandidApi.customSchemas.v1.KeyWithNameAlreadyExistsError {
|
|
11
|
+
type: "key_name_already_exists";
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./Schema";
|
|
2
|
+
export * from "./SchemaInstance";
|
|
3
|
+
export * from "./SchemaField";
|
|
4
|
+
export * from "./SchemaGetMultiResponse";
|
|
5
|
+
export * from "./SchemaWithNameAlreadyExistsError";
|
|
6
|
+
export * from "./KeyWithNameAlreadyExistsError";
|
|
7
|
+
export * from "./SchemaValidationFailure";
|
|
8
|
+
export * from "./SchemaValidationError";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./Schema"), exports);
|
|
18
|
+
__exportStar(require("./SchemaInstance"), exports);
|
|
19
|
+
__exportStar(require("./SchemaField"), exports);
|
|
20
|
+
__exportStar(require("./SchemaGetMultiResponse"), exports);
|
|
21
|
+
__exportStar(require("./SchemaWithNameAlreadyExistsError"), exports);
|
|
22
|
+
__exportStar(require("./KeyWithNameAlreadyExistsError"), exports);
|
|
23
|
+
__exportStar(require("./SchemaValidationFailure"), exports);
|
|
24
|
+
__exportStar(require("./SchemaValidationError"), exports);
|
|
@@ -83,7 +83,7 @@ class V2 {
|
|
|
83
83
|
Authorization: yield this._getAuthorizationHeader(),
|
|
84
84
|
"X-Fern-Language": "JavaScript",
|
|
85
85
|
"X-Fern-SDK-Name": "candidhealth",
|
|
86
|
-
"X-Fern-SDK-Version": "0.24.
|
|
86
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
87
87
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
88
88
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
89
89
|
},
|
|
@@ -156,7 +156,7 @@ class V2 {
|
|
|
156
156
|
Authorization: yield this._getAuthorizationHeader(),
|
|
157
157
|
"X-Fern-Language": "JavaScript",
|
|
158
158
|
"X-Fern-SDK-Name": "candidhealth",
|
|
159
|
-
"X-Fern-SDK-Version": "0.24.
|
|
159
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
160
160
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
161
161
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
162
162
|
},
|
|
@@ -227,7 +227,7 @@ class V2 {
|
|
|
227
227
|
Authorization: yield this._getAuthorizationHeader(),
|
|
228
228
|
"X-Fern-Language": "JavaScript",
|
|
229
229
|
"X-Fern-SDK-Name": "candidhealth",
|
|
230
|
-
"X-Fern-SDK-Version": "0.24.
|
|
230
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
231
231
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
232
232
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
233
233
|
},
|
|
@@ -364,6 +364,15 @@ export declare class V4 {
|
|
|
364
364
|
* }]
|
|
365
365
|
* },
|
|
366
366
|
* tagIds: [CandidApi.TagId("string")],
|
|
367
|
+
* schemaInstances: [{
|
|
368
|
+
* schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
|
|
369
|
+
* content: {
|
|
370
|
+
* "provider_category": "internist",
|
|
371
|
+
* "is_urgent_care": true,
|
|
372
|
+
* "bmi": 24.2,
|
|
373
|
+
* "age": 38
|
|
374
|
+
* }
|
|
375
|
+
* }],
|
|
367
376
|
* externalId: CandidApi.EncounterExternalId("string"),
|
|
368
377
|
* priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
|
|
369
378
|
* patientAuthorizedRelease: true,
|
|
@@ -522,7 +531,16 @@ export declare class V4 {
|
|
|
522
531
|
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
523
532
|
* lastMenstrualPeriodDate: "2023-01-15",
|
|
524
533
|
* delayReasonCode: CandidApi.DelayReasonCode.C1,
|
|
525
|
-
* patientAuthorizedRelease: true
|
|
534
|
+
* patientAuthorizedRelease: true,
|
|
535
|
+
* schemaInstances: [{
|
|
536
|
+
* schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
|
|
537
|
+
* content: {
|
|
538
|
+
* "provider_category": "internist",
|
|
539
|
+
* "is_urgent_care": true,
|
|
540
|
+
* "bmi": 24.2,
|
|
541
|
+
* "age": 38
|
|
542
|
+
* }
|
|
543
|
+
* }]
|
|
526
544
|
* })
|
|
527
545
|
*/
|
|
528
546
|
update(encounterId: CandidApi.EncounterId, request?: CandidApi.encounters.v4.EncounterUpdate, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.update.Error>>;
|
|
@@ -132,7 +132,7 @@ class V4 {
|
|
|
132
132
|
Authorization: yield this._getAuthorizationHeader(),
|
|
133
133
|
"X-Fern-Language": "JavaScript",
|
|
134
134
|
"X-Fern-SDK-Name": "candidhealth",
|
|
135
|
-
"X-Fern-SDK-Version": "0.24.
|
|
135
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
136
136
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
137
137
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
138
138
|
},
|
|
@@ -178,7 +178,7 @@ class V4 {
|
|
|
178
178
|
Authorization: yield this._getAuthorizationHeader(),
|
|
179
179
|
"X-Fern-Language": "JavaScript",
|
|
180
180
|
"X-Fern-SDK-Name": "candidhealth",
|
|
181
|
-
"X-Fern-SDK-Version": "0.24.
|
|
181
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
182
182
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
183
183
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
184
184
|
},
|
|
@@ -521,6 +521,15 @@ class V4 {
|
|
|
521
521
|
* }]
|
|
522
522
|
* },
|
|
523
523
|
* tagIds: [CandidApi.TagId("string")],
|
|
524
|
+
* schemaInstances: [{
|
|
525
|
+
* schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
|
|
526
|
+
* content: {
|
|
527
|
+
* "provider_category": "internist",
|
|
528
|
+
* "is_urgent_care": true,
|
|
529
|
+
* "bmi": 24.2,
|
|
530
|
+
* "age": 38
|
|
531
|
+
* }
|
|
532
|
+
* }],
|
|
524
533
|
* externalId: CandidApi.EncounterExternalId("string"),
|
|
525
534
|
* priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
|
|
526
535
|
* patientAuthorizedRelease: true,
|
|
@@ -591,7 +600,7 @@ class V4 {
|
|
|
591
600
|
Authorization: yield this._getAuthorizationHeader(),
|
|
592
601
|
"X-Fern-Language": "JavaScript",
|
|
593
602
|
"X-Fern-SDK-Name": "candidhealth",
|
|
594
|
-
"X-Fern-SDK-Version": "0.24.
|
|
603
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
595
604
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
596
605
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
597
606
|
},
|
|
@@ -621,6 +630,7 @@ class V4 {
|
|
|
621
630
|
case "EncounterGuarantorMissingContactInfoError":
|
|
622
631
|
case "HttpRequestValidationsError":
|
|
623
632
|
case "CashPayPayerError":
|
|
633
|
+
case "SchemaInstanceValidationHttpFailure":
|
|
624
634
|
return {
|
|
625
635
|
ok: false,
|
|
626
636
|
error: serializers.encounters.v4.create.Error.parseOrThrow(_response.error.body, {
|
|
@@ -736,7 +746,16 @@ class V4 {
|
|
|
736
746
|
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
737
747
|
* lastMenstrualPeriodDate: "2023-01-15",
|
|
738
748
|
* delayReasonCode: CandidApi.DelayReasonCode.C1,
|
|
739
|
-
* patientAuthorizedRelease: true
|
|
749
|
+
* patientAuthorizedRelease: true,
|
|
750
|
+
* schemaInstances: [{
|
|
751
|
+
* schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
|
|
752
|
+
* content: {
|
|
753
|
+
* "provider_category": "internist",
|
|
754
|
+
* "is_urgent_care": true,
|
|
755
|
+
* "bmi": 24.2,
|
|
756
|
+
* "age": 38
|
|
757
|
+
* }
|
|
758
|
+
* }]
|
|
740
759
|
* })
|
|
741
760
|
*/
|
|
742
761
|
update(encounterId, request = {}, requestOptions) {
|
|
@@ -750,7 +769,7 @@ class V4 {
|
|
|
750
769
|
Authorization: yield this._getAuthorizationHeader(),
|
|
751
770
|
"X-Fern-Language": "JavaScript",
|
|
752
771
|
"X-Fern-SDK-Name": "candidhealth",
|
|
753
|
-
"X-Fern-SDK-Version": "0.24.
|
|
772
|
+
"X-Fern-SDK-Version": "0.24.4",
|
|
754
773
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
755
774
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
756
775
|
},
|
|
@@ -778,6 +797,7 @@ class V4 {
|
|
|
778
797
|
case "EntityNotFoundError":
|
|
779
798
|
case "UnauthorizedError":
|
|
780
799
|
case "HttpRequestValidationsError":
|
|
800
|
+
case "SchemaInstanceValidationHttpFailure":
|
|
781
801
|
return {
|
|
782
802
|
ok: false,
|
|
783
803
|
error: serializers.encounters.v4.update.Error.parseOrThrow(_response.error.body, {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error = CandidApi.encounters.v4.create.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.create.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.create.Error.EntityNotFoundError | CandidApi.encounters.v4.create.Error.EncounterGuarantorMissingContactInfoError | CandidApi.encounters.v4.create.Error.HttpRequestValidationsError | CandidApi.encounters.v4.create.Error.CashPayPayerError | CandidApi.encounters.v4.create.Error._Unknown;
|
|
6
|
+
export declare type Error = CandidApi.encounters.v4.create.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.create.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.create.Error.EntityNotFoundError | CandidApi.encounters.v4.create.Error.EncounterGuarantorMissingContactInfoError | CandidApi.encounters.v4.create.Error.HttpRequestValidationsError | CandidApi.encounters.v4.create.Error.CashPayPayerError | CandidApi.encounters.v4.create.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.create.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface EncounterExternalIdUniquenessError extends _Utils {
|
|
9
9
|
errorName: "EncounterExternalIdUniquenessError";
|
|
@@ -29,6 +29,10 @@ export declare namespace Error {
|
|
|
29
29
|
errorName: "CashPayPayerError";
|
|
30
30
|
content: CandidApi.encounters.v4.CashPayPayerErrorMessage;
|
|
31
31
|
}
|
|
32
|
+
interface SchemaInstanceValidationHttpFailure extends _Utils {
|
|
33
|
+
errorName: "SchemaInstanceValidationHttpFailure";
|
|
34
|
+
content: CandidApi.encounters.v4.SchemaInstanceValidationFailure;
|
|
35
|
+
}
|
|
32
36
|
interface _Unknown extends _Utils {
|
|
33
37
|
errorName: void;
|
|
34
38
|
content: core.Fetcher.Error;
|
|
@@ -43,6 +47,7 @@ export declare namespace Error {
|
|
|
43
47
|
encounterGuarantorMissingContactInfoError: (value: CandidApi.encounters.v4.EncounterGuarantorMissingContactInfoErrorType) => _Result;
|
|
44
48
|
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
45
49
|
cashPayPayerError: (value: CandidApi.encounters.v4.CashPayPayerErrorMessage) => _Result;
|
|
50
|
+
schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
|
|
46
51
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
47
52
|
}
|
|
48
53
|
}
|
|
@@ -53,6 +58,7 @@ export declare const Error: {
|
|
|
53
58
|
readonly encounterGuarantorMissingContactInfoError: (value: CandidApi.encounters.v4.EncounterGuarantorMissingContactInfoErrorType) => CandidApi.encounters.v4.create.Error.EncounterGuarantorMissingContactInfoError;
|
|
54
59
|
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounters.v4.create.Error.HttpRequestValidationsError;
|
|
55
60
|
readonly cashPayPayerError: (value: CandidApi.encounters.v4.CashPayPayerErrorMessage) => CandidApi.encounters.v4.create.Error.CashPayPayerError;
|
|
61
|
+
readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.encounters.v4.create.Error.SchemaInstanceValidationHttpFailure;
|
|
56
62
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounters.v4.create.Error._Unknown;
|
|
57
63
|
readonly _visit: <_Result>(value: CandidApi.encounters.v4.create.Error, visitor: CandidApi.encounters.v4.create.Error._Visitor<_Result>) => _Result;
|
|
58
64
|
};
|
|
@@ -83,6 +83,15 @@ exports.Error = {
|
|
|
83
83
|
},
|
|
84
84
|
};
|
|
85
85
|
},
|
|
86
|
+
schemaInstanceValidationHttpFailure: (value) => {
|
|
87
|
+
return {
|
|
88
|
+
content: value,
|
|
89
|
+
errorName: "SchemaInstanceValidationHttpFailure",
|
|
90
|
+
_visit: function (visitor) {
|
|
91
|
+
return CandidApi.encounters.v4.create.Error._visit(this, visitor);
|
|
92
|
+
},
|
|
93
|
+
};
|
|
94
|
+
},
|
|
86
95
|
_unknown: (fetcherError) => {
|
|
87
96
|
return {
|
|
88
97
|
errorName: undefined,
|
|
@@ -106,6 +115,8 @@ exports.Error = {
|
|
|
106
115
|
return visitor.httpRequestValidationsError(value.content);
|
|
107
116
|
case "CashPayPayerError":
|
|
108
117
|
return visitor.cashPayPayerError(value.content);
|
|
118
|
+
case "SchemaInstanceValidationHttpFailure":
|
|
119
|
+
return visitor.schemaInstanceValidationHttpFailure(value.content);
|
|
109
120
|
default:
|
|
110
121
|
return visitor._other(value);
|
|
111
122
|
}
|
|
@@ -315,6 +315,15 @@ import * as CandidApi from "../../../../../../index";
|
|
|
315
315
|
* }]
|
|
316
316
|
* },
|
|
317
317
|
* tagIds: [CandidApi.TagId("string")],
|
|
318
|
+
* schemaInstances: [{
|
|
319
|
+
* schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
|
|
320
|
+
* content: {
|
|
321
|
+
* "provider_category": "internist",
|
|
322
|
+
* "is_urgent_care": true,
|
|
323
|
+
* "bmi": 24.2,
|
|
324
|
+
* "age": 38
|
|
325
|
+
* }
|
|
326
|
+
* }],
|
|
318
327
|
* externalId: CandidApi.EncounterExternalId("string"),
|
|
319
328
|
* priorAuthorizationNumber: CandidApi.encounters.v4.PriorAuthorizationNumber("string"),
|
|
320
329
|
* patientAuthorizedRelease: true,
|
|
@@ -490,4 +499,10 @@ export interface EncounterCreate extends CandidApi.encounters.v4.EncounterBase {
|
|
|
490
499
|
externalClaimSubmission?: CandidApi.claimSubmission.v1.ExternalClaimSubmissionCreate;
|
|
491
500
|
/** Names of tags that should be on the encounter. */
|
|
492
501
|
tagIds?: CandidApi.TagId[];
|
|
502
|
+
/**
|
|
503
|
+
* Key-value pairs that must adhere to a schema created via the Custom Schema API. Multiple schema
|
|
504
|
+
* instances cannot be created for the same schema on an encounter.
|
|
505
|
+
*
|
|
506
|
+
*/
|
|
507
|
+
schemaInstances?: CandidApi.customSchemas.v1.SchemaInstance[];
|
|
493
508
|
}
|
|
@@ -96,7 +96,16 @@ import * as CandidApi from "../../../../../../index";
|
|
|
96
96
|
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
97
97
|
* lastMenstrualPeriodDate: "2023-01-15",
|
|
98
98
|
* delayReasonCode: CandidApi.DelayReasonCode.C1,
|
|
99
|
-
* patientAuthorizedRelease: true
|
|
99
|
+
* patientAuthorizedRelease: true,
|
|
100
|
+
* schemaInstances: [{
|
|
101
|
+
* schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
|
|
102
|
+
* content: {
|
|
103
|
+
* "provider_category": "internist",
|
|
104
|
+
* "is_urgent_care": true,
|
|
105
|
+
* "bmi": 24.2,
|
|
106
|
+
* "age": 38
|
|
107
|
+
* }
|
|
108
|
+
* }]
|
|
100
109
|
* }
|
|
101
110
|
*/
|
|
102
111
|
export interface EncounterUpdate {
|
|
@@ -239,4 +248,12 @@ export interface EncounterUpdate {
|
|
|
239
248
|
*
|
|
240
249
|
*/
|
|
241
250
|
patientAuthorizedRelease?: boolean;
|
|
251
|
+
/**
|
|
252
|
+
* Key-value pairs that must adhere to a schema created via the Custom Schema API. Multiple schema
|
|
253
|
+
* instances cannot be created for the same schema on an encounter. Updating schema instances utilizes PUT
|
|
254
|
+
* semantics, so the schema instances on the encounter will be set to whatever inputs are provided. If null
|
|
255
|
+
* is provided as an input, then the encounter's schema instances will be cleared.
|
|
256
|
+
*
|
|
257
|
+
*/
|
|
258
|
+
schemaInstances?: CandidApi.customSchemas.v1.SchemaInstance[];
|
|
242
259
|
}
|