candidhealth 0.39.2 → 0.39.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/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- package/api/resources/commons/types/EpsdtReferralConditionIndicatorCode.d.ts +10 -0
- package/api/resources/commons/types/EpsdtReferralConditionIndicatorCode.js +12 -0
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.d.ts +231 -83
- package/api/resources/encounters/resources/v4/client/Client.js +297 -89
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.d.ts +58 -0
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.js +113 -0
- package/api/resources/encounters/resources/v4/client/index.d.ts +1 -0
- package/api/resources/encounters/resources/v4/client/index.js +2 -1
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +12 -43
- package/api/resources/encounters/resources/v4/client/requests/index.d.ts +0 -1
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +58 -0
- package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
- package/api/resources/encounters/resources/v4/types/EpsdtReferral.d.ts +9 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +2 -0
- package/api/resources/encounters/resources/v4/types/index.js +2 -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/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/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +2 -12
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -20
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +15 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +24 -12
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +5 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +5 -1
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +6 -2
- package/api/resources/serviceLines/resources/v2/client/Client.js +9 -5
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +10 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +10 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +10 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +10 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/commons/types/EpsdtReferralConditionIndicatorCode.d.ts +10 -0
- package/dist/api/resources/commons/types/EpsdtReferralConditionIndicatorCode.js +12 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -0
- package/dist/api/resources/commons/types/index.js +1 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +231 -83
- package/dist/api/resources/encounters/resources/v4/client/Client.js +297 -89
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.d.ts +58 -0
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.js +113 -0
- package/dist/api/resources/encounters/resources/v4/client/index.d.ts +1 -0
- package/dist/api/resources/encounters/resources/v4/client/index.js +2 -1
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +12 -43
- package/dist/api/resources/encounters/resources/v4/client/requests/index.d.ts +0 -1
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +58 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
- package/dist/api/resources/encounters/resources/v4/types/EpsdtReferral.d.ts +9 -0
- package/dist/api/resources/encounters/resources/v4/types/EpsdtReferral.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +2 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +2 -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/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/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +2 -12
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -20
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +15 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +24 -12
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +5 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +5 -1
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +6 -2
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +9 -5
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +10 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +10 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +10 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +10 -0
- 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/EpsdtReferralConditionIndicatorCode.d.ts +10 -0
- package/dist/serialization/resources/commons/types/EpsdtReferralConditionIndicatorCode.js +31 -0
- package/dist/serialization/resources/commons/types/index.d.ts +1 -0
- package/dist/serialization/resources/commons/types/index.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.d.ts +39 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.js +90 -0
- package/dist/serialization/resources/encounters/resources/v4/client/index.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/index.js +2 -1
- 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/index.d.ts +0 -1
- package/dist/serialization/resources/encounters/resources/v4/client/requests/index.js +1 -3
- 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/EncounterCreateFromPreEncounter.d.ts +44 -0
- package/dist/serialization/resources/encounters/resources/v4/{client/requests → types}/EncounterCreateFromPreEncounter.js +18 -18
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EpsdtReferral.d.ts +15 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EpsdtReferral.js +36 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +2 -0
- package/package.json +1 -1
- package/reference.md +327 -100
- package/serialization/resources/commons/types/EpsdtReferralConditionIndicatorCode.d.ts +10 -0
- package/serialization/resources/commons/types/EpsdtReferralConditionIndicatorCode.js +31 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.d.ts +39 -0
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientInternal.js +90 -0
- package/serialization/resources/encounters/resources/v4/client/index.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/client/index.js +2 -1
- 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/index.d.ts +0 -1
- package/serialization/resources/encounters/resources/v4/client/requests/index.js +1 -3
- 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/EncounterCreateFromPreEncounter.d.ts +44 -0
- package/serialization/resources/encounters/resources/v4/{client/requests → types}/EncounterCreateFromPreEncounter.js +18 -18
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +2 -0
- package/serialization/resources/encounters/resources/v4/types/EpsdtReferral.d.ts +15 -0
- package/serialization/resources/encounters/resources/v4/types/EpsdtReferral.js +36 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +2 -0
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +0 -319
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +0 -319
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +0 -44
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +0 -44
- /package/api/resources/encounters/resources/v4/{client/requests → types}/EncounterCreateFromPreEncounter.js +0 -0
- /package/{dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.js → api/resources/encounters/resources/v4/types/EpsdtReferral.js} +0 -0
package/reference.md
CHANGED
|
@@ -2911,14 +2911,7 @@ await client.encounters.v4.create({
|
|
|
2911
2911
|
clinicalNotes: [
|
|
2912
2912
|
{
|
|
2913
2913
|
category: CandidApi.NoteCategory.Clinical,
|
|
2914
|
-
notes: [
|
|
2915
|
-
{
|
|
2916
|
-
text: "string",
|
|
2917
|
-
authorName: "string",
|
|
2918
|
-
authorNpi: CandidApi.Npi("string"),
|
|
2919
|
-
timestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
2920
|
-
},
|
|
2921
|
-
],
|
|
2914
|
+
notes: [],
|
|
2922
2915
|
},
|
|
2923
2916
|
],
|
|
2924
2917
|
billingNotes: [
|
|
@@ -2952,47 +2945,10 @@ await client.encounters.v4.create({
|
|
|
2952
2945
|
],
|
|
2953
2946
|
serviceLines: [
|
|
2954
2947
|
{
|
|
2955
|
-
modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
|
|
2956
2948
|
procedureCode: "string",
|
|
2957
2949
|
quantity: CandidApi.Decimal("string"),
|
|
2958
2950
|
units: CandidApi.ServiceLineUnits.Mj,
|
|
2959
|
-
|
|
2960
|
-
diagnosisPointers: [1],
|
|
2961
|
-
drugIdentification: {
|
|
2962
|
-
serviceIdQualifier: CandidApi.ServiceIdQualifier.EanUcc13,
|
|
2963
|
-
nationalDrugCode: "string",
|
|
2964
|
-
nationalDrugUnitCount: "string",
|
|
2965
|
-
measurementUnitCode: CandidApi.MeasurementUnitCode.Milliliters,
|
|
2966
|
-
linkSequenceNumber: "string",
|
|
2967
|
-
pharmacyPrescriptionNumber: "string",
|
|
2968
|
-
conversionFormula: "string",
|
|
2969
|
-
drugDescription: "string",
|
|
2970
|
-
},
|
|
2971
|
-
placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
2972
|
-
description: "string",
|
|
2973
|
-
dateOfService: "2023-01-15",
|
|
2974
|
-
endDateOfService: "2023-01-15",
|
|
2975
|
-
orderingProvider: {
|
|
2976
|
-
npi: "string",
|
|
2977
|
-
taxonomyCode: "string",
|
|
2978
|
-
address: {
|
|
2979
|
-
address1: "123 Main St",
|
|
2980
|
-
address2: "Apt 1",
|
|
2981
|
-
city: "New York",
|
|
2982
|
-
state: CandidApi.State.Ny,
|
|
2983
|
-
zipCode: "10001",
|
|
2984
|
-
zipPlusFourCode: "1234",
|
|
2985
|
-
},
|
|
2986
|
-
firstName: "string",
|
|
2987
|
-
lastName: "string",
|
|
2988
|
-
organizationName: "string",
|
|
2989
|
-
},
|
|
2990
|
-
testResults: [
|
|
2991
|
-
{
|
|
2992
|
-
value: 1.1,
|
|
2993
|
-
resultType: CandidApi.TestResultType.Hematocrit,
|
|
2994
|
-
},
|
|
2995
|
-
],
|
|
2951
|
+
diagnosisPointers: [],
|
|
2996
2952
|
},
|
|
2997
2953
|
],
|
|
2998
2954
|
guarantor: {
|
|
@@ -3049,6 +3005,11 @@ await client.encounters.v4.create({
|
|
|
3049
3005
|
},
|
|
3050
3006
|
],
|
|
3051
3007
|
referralNumber: "string",
|
|
3008
|
+
epsdtReferral: {
|
|
3009
|
+
conditionIndicator1: CandidApi.EpsdtReferralConditionIndicatorCode.Av,
|
|
3010
|
+
conditionIndicator2: CandidApi.EpsdtReferralConditionIndicatorCode.Av,
|
|
3011
|
+
conditionIndicator3: CandidApi.EpsdtReferralConditionIndicatorCode.Av,
|
|
3012
|
+
},
|
|
3052
3013
|
externalId: CandidApi.EncounterExternalId("string"),
|
|
3053
3014
|
dateOfService: "2023-01-15",
|
|
3054
3015
|
endDateOfService: "2023-01-15",
|
|
@@ -3283,14 +3244,7 @@ await client.encounters.v4.createFromPreEncounterPatient({
|
|
|
3283
3244
|
clinicalNotes: [
|
|
3284
3245
|
{
|
|
3285
3246
|
category: CandidApi.NoteCategory.Clinical,
|
|
3286
|
-
notes: [
|
|
3287
|
-
{
|
|
3288
|
-
text: "string",
|
|
3289
|
-
authorName: "string",
|
|
3290
|
-
authorNpi: CandidApi.Npi("string"),
|
|
3291
|
-
timestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
3292
|
-
},
|
|
3293
|
-
],
|
|
3247
|
+
notes: [],
|
|
3294
3248
|
},
|
|
3295
3249
|
],
|
|
3296
3250
|
billingNotes: [
|
|
@@ -3324,49 +3278,316 @@ await client.encounters.v4.createFromPreEncounterPatient({
|
|
|
3324
3278
|
],
|
|
3325
3279
|
serviceLines: [
|
|
3326
3280
|
{
|
|
3327
|
-
modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
|
|
3328
3281
|
procedureCode: "string",
|
|
3329
3282
|
quantity: CandidApi.Decimal("string"),
|
|
3330
3283
|
units: CandidApi.ServiceLineUnits.Mj,
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3284
|
+
diagnosisPointers: [],
|
|
3285
|
+
},
|
|
3286
|
+
],
|
|
3287
|
+
externalClaimSubmission: {
|
|
3288
|
+
claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
|
|
3289
|
+
patientControlNumber: "PATIENT_CONTROL_NUMBER",
|
|
3290
|
+
submissionRecords: [
|
|
3291
|
+
{
|
|
3292
|
+
submittedAt: new Date("2023-01-01T13:00:00.000Z"),
|
|
3293
|
+
claimFrequencyCode: CandidApi.ClaimFrequencyTypeCode.Original,
|
|
3294
|
+
payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType.Primary,
|
|
3295
|
+
intendedSubmissionMedium: CandidApi.IntendedSubmissionMedium.Electronic,
|
|
3342
3296
|
},
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3297
|
+
{
|
|
3298
|
+
submittedAt: new Date("2023-01-04T12:00:00.000Z"),
|
|
3299
|
+
claimFrequencyCode: CandidApi.ClaimFrequencyTypeCode.Replacement,
|
|
3300
|
+
payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType.Primary,
|
|
3301
|
+
intendedSubmissionMedium: CandidApi.IntendedSubmissionMedium.Paper,
|
|
3302
|
+
},
|
|
3303
|
+
],
|
|
3304
|
+
},
|
|
3305
|
+
tagIds: [CandidApi.TagId("string")],
|
|
3306
|
+
schemaInstances: [
|
|
3307
|
+
{
|
|
3308
|
+
schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
|
|
3309
|
+
content: {
|
|
3310
|
+
provider_category: "internist",
|
|
3311
|
+
is_urgent_care: true,
|
|
3312
|
+
bmi: 24.2,
|
|
3313
|
+
age: 38,
|
|
3314
|
+
},
|
|
3315
|
+
},
|
|
3316
|
+
],
|
|
3317
|
+
externalId: CandidApi.EncounterExternalId("string"),
|
|
3318
|
+
dateOfService: "2023-01-15",
|
|
3319
|
+
endDateOfService: "2023-01-15",
|
|
3320
|
+
patientAuthorizedRelease: true,
|
|
3321
|
+
benefitsAssignedToProvider: true,
|
|
3322
|
+
providerAcceptsAssignment: true,
|
|
3323
|
+
appointmentType: "string",
|
|
3324
|
+
existingMedications: [
|
|
3325
|
+
{
|
|
3326
|
+
name: "Lisinopril",
|
|
3327
|
+
rxCui: CandidApi.RxCui("860975"),
|
|
3328
|
+
dosage: "10mg",
|
|
3329
|
+
dosageForm: "Tablet",
|
|
3330
|
+
frequency: "Once Daily",
|
|
3331
|
+
asNeeded: true,
|
|
3332
|
+
},
|
|
3333
|
+
],
|
|
3334
|
+
vitals: {
|
|
3335
|
+
heightIn: 70,
|
|
3336
|
+
weightLbs: 165,
|
|
3337
|
+
bloodPressureSystolicMmhg: 115,
|
|
3338
|
+
bloodPressureDiastolicMmhg: 85,
|
|
3339
|
+
bodyTemperatureF: 98,
|
|
3340
|
+
hemoglobinGdl: 15.1,
|
|
3341
|
+
hematocritPct: 51.2,
|
|
3342
|
+
},
|
|
3343
|
+
interventions: [
|
|
3344
|
+
{
|
|
3345
|
+
name: "Physical Therapy Session",
|
|
3346
|
+
category: CandidApi.InterventionCategory.Lifestyle,
|
|
3347
|
+
description:
|
|
3348
|
+
"A session focused on improving muscular strength, flexibility, and range of motion post-injury.",
|
|
3349
|
+
medication: {
|
|
3350
|
+
name: "Lisinopril",
|
|
3351
|
+
rxCui: CandidApi.RxCui("860975"),
|
|
3352
|
+
dosage: "10mg",
|
|
3353
|
+
dosageForm: "Tablet",
|
|
3354
|
+
frequency: "Once Daily",
|
|
3355
|
+
asNeeded: true,
|
|
3361
3356
|
},
|
|
3362
|
-
|
|
3357
|
+
labs: [
|
|
3363
3358
|
{
|
|
3364
|
-
|
|
3365
|
-
|
|
3359
|
+
name: "Genetic Health Labs",
|
|
3360
|
+
code: "GH12345",
|
|
3361
|
+
codeType: CandidApi.LabCodeType.Quest,
|
|
3366
3362
|
},
|
|
3367
3363
|
],
|
|
3368
3364
|
},
|
|
3369
3365
|
],
|
|
3366
|
+
payToAddress: {
|
|
3367
|
+
address1: "123 Main St",
|
|
3368
|
+
address2: "Apt 1",
|
|
3369
|
+
city: "New York",
|
|
3370
|
+
state: CandidApi.State.Ny,
|
|
3371
|
+
zipCode: "10001",
|
|
3372
|
+
zipPlusFourCode: "1234",
|
|
3373
|
+
},
|
|
3374
|
+
synchronicity: CandidApi.SynchronicityType.Synchronous,
|
|
3375
|
+
billableStatus: CandidApi.BillableStatusType.Billable,
|
|
3376
|
+
additionalInformation: "string",
|
|
3377
|
+
serviceAuthorizationExceptionCode: CandidApi.ServiceAuthorizationExceptionCode.C1,
|
|
3378
|
+
admissionDate: "2023-01-15",
|
|
3379
|
+
dischargeDate: "2023-01-15",
|
|
3380
|
+
onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
3381
|
+
lastMenstrualPeriodDate: "2023-01-15",
|
|
3382
|
+
delayReasonCode: CandidApi.DelayReasonCode.C1,
|
|
3383
|
+
});
|
|
3384
|
+
```
|
|
3385
|
+
|
|
3386
|
+
</dd>
|
|
3387
|
+
</dl>
|
|
3388
|
+
</dd>
|
|
3389
|
+
</dl>
|
|
3390
|
+
|
|
3391
|
+
#### ⚙️ Parameters
|
|
3392
|
+
|
|
3393
|
+
<dl>
|
|
3394
|
+
<dd>
|
|
3395
|
+
|
|
3396
|
+
<dl>
|
|
3397
|
+
<dd>
|
|
3398
|
+
|
|
3399
|
+
**request:** `CandidApi.EncounterCreateFromPreEncounter`
|
|
3400
|
+
|
|
3401
|
+
</dd>
|
|
3402
|
+
</dl>
|
|
3403
|
+
|
|
3404
|
+
<dl>
|
|
3405
|
+
<dd>
|
|
3406
|
+
|
|
3407
|
+
**requestOptions:** `V4.RequestOptions`
|
|
3408
|
+
|
|
3409
|
+
</dd>
|
|
3410
|
+
</dl>
|
|
3411
|
+
</dd>
|
|
3412
|
+
</dl>
|
|
3413
|
+
|
|
3414
|
+
</dd>
|
|
3415
|
+
</dl>
|
|
3416
|
+
</details>
|
|
3417
|
+
|
|
3418
|
+
<details><summary><code>client.encounters.v4.<a href="/src/api/resources/encounters/resources/v4/client/Client.ts">createFromPreEncounterPatientInternal</a>({ ...params }) -> core.APIResponse<CandidApi.Encounter, CandidApi.encounters.v4.createFromPreEncounterPatientInternal.Error></code></summary>
|
|
3419
|
+
<dl>
|
|
3420
|
+
<dd>
|
|
3421
|
+
|
|
3422
|
+
#### 📝 Description
|
|
3423
|
+
|
|
3424
|
+
<dl>
|
|
3425
|
+
<dd>
|
|
3426
|
+
|
|
3427
|
+
<dl>
|
|
3428
|
+
<dd>
|
|
3429
|
+
|
|
3430
|
+
Create an encounter from a pre-encounter patient and appointment. This endpoint is intended to be used by consumers who are managing
|
|
3431
|
+
patients and appointments in the pre-encounter service and is currently under development. Consumers who are not taking advantage
|
|
3432
|
+
of the pre-encounter service should use the standard create endpoint.
|
|
3433
|
+
|
|
3434
|
+
The endpoint will create an encounter from the provided fields, pulling information from the provided patient and appointment objects
|
|
3435
|
+
where applicable. In particular, the following fields are populated from the patient and appointment objects:
|
|
3436
|
+
|
|
3437
|
+
- Patient
|
|
3438
|
+
- Referring Provider
|
|
3439
|
+
- Subscriber Primary
|
|
3440
|
+
- Subscriber Secondary
|
|
3441
|
+
- Referral Number
|
|
3442
|
+
- Responsible Party
|
|
3443
|
+
- Guarantor
|
|
3444
|
+
|
|
3445
|
+
Utilizing this endpoint opts you into automatic updating of the encounter when the patient or appointment is updated, assuming the
|
|
3446
|
+
encounter has not already been submitted or adjudicated.
|
|
3447
|
+
|
|
3448
|
+
</dd>
|
|
3449
|
+
</dl>
|
|
3450
|
+
</dd>
|
|
3451
|
+
</dl>
|
|
3452
|
+
|
|
3453
|
+
#### 🔌 Usage
|
|
3454
|
+
|
|
3455
|
+
<dl>
|
|
3456
|
+
<dd>
|
|
3457
|
+
|
|
3458
|
+
<dl>
|
|
3459
|
+
<dd>
|
|
3460
|
+
|
|
3461
|
+
```typescript
|
|
3462
|
+
await client.encounters.v4.createFromPreEncounterPatientInternal({
|
|
3463
|
+
preEncounterPatientId: CandidApi.PreEncounterPatientId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
3464
|
+
preEncounterAppointmentIds: [CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
3465
|
+
billingProvider: {
|
|
3466
|
+
address: {
|
|
3467
|
+
address1: "123 Main St",
|
|
3468
|
+
address2: "Apt 1",
|
|
3469
|
+
city: "New York",
|
|
3470
|
+
state: CandidApi.State.Ny,
|
|
3471
|
+
zipCode: "10001",
|
|
3472
|
+
zipPlusFourCode: "1234",
|
|
3473
|
+
},
|
|
3474
|
+
taxId: "string",
|
|
3475
|
+
npi: "string",
|
|
3476
|
+
taxonomyCode: "string",
|
|
3477
|
+
providerCommercialLicenseType: CandidApi.BillingProviderCommercialLicenseType.LicensedClinicalSocialWorker,
|
|
3478
|
+
firstName: "string",
|
|
3479
|
+
lastName: "string",
|
|
3480
|
+
organizationName: "string",
|
|
3481
|
+
},
|
|
3482
|
+
renderingProvider: {
|
|
3483
|
+
npi: "string",
|
|
3484
|
+
taxonomyCode: "string",
|
|
3485
|
+
address: {
|
|
3486
|
+
address1: "123 Main St",
|
|
3487
|
+
address2: "Apt 1",
|
|
3488
|
+
city: "New York",
|
|
3489
|
+
state: CandidApi.State.Ny,
|
|
3490
|
+
zipCode: "10001",
|
|
3491
|
+
zipPlusFourCode: "1234",
|
|
3492
|
+
},
|
|
3493
|
+
firstName: "string",
|
|
3494
|
+
lastName: "string",
|
|
3495
|
+
organizationName: "string",
|
|
3496
|
+
},
|
|
3497
|
+
initialReferringProvider: {
|
|
3498
|
+
npi: "string",
|
|
3499
|
+
taxonomyCode: "string",
|
|
3500
|
+
address: {
|
|
3501
|
+
address1: "123 Main St",
|
|
3502
|
+
address2: "Apt 1",
|
|
3503
|
+
city: "New York",
|
|
3504
|
+
state: CandidApi.State.Ny,
|
|
3505
|
+
zipCode: "10001",
|
|
3506
|
+
zipPlusFourCode: "1234",
|
|
3507
|
+
},
|
|
3508
|
+
qualifier: CandidApi.QualifierCode.Dq,
|
|
3509
|
+
firstName: "string",
|
|
3510
|
+
lastName: "string",
|
|
3511
|
+
organizationName: "string",
|
|
3512
|
+
},
|
|
3513
|
+
supervisingProvider: {
|
|
3514
|
+
npi: "string",
|
|
3515
|
+
taxonomyCode: "string",
|
|
3516
|
+
address: {
|
|
3517
|
+
address1: "123 Main St",
|
|
3518
|
+
address2: "Apt 1",
|
|
3519
|
+
city: "New York",
|
|
3520
|
+
state: CandidApi.State.Ny,
|
|
3521
|
+
zipCode: "10001",
|
|
3522
|
+
zipPlusFourCode: "1234",
|
|
3523
|
+
},
|
|
3524
|
+
firstName: "string",
|
|
3525
|
+
lastName: "string",
|
|
3526
|
+
organizationName: "string",
|
|
3527
|
+
},
|
|
3528
|
+
serviceFacility: {
|
|
3529
|
+
organizationName: "string",
|
|
3530
|
+
npi: "string",
|
|
3531
|
+
address: {
|
|
3532
|
+
address1: "123 Main St",
|
|
3533
|
+
address2: "Apt 1",
|
|
3534
|
+
city: "New York",
|
|
3535
|
+
state: CandidApi.State.Ny,
|
|
3536
|
+
zipCode: "10001",
|
|
3537
|
+
zipPlusFourCode: "1234",
|
|
3538
|
+
},
|
|
3539
|
+
secondaryIdentification: "string",
|
|
3540
|
+
},
|
|
3541
|
+
diagnoses: [
|
|
3542
|
+
{
|
|
3543
|
+
name: "string",
|
|
3544
|
+
codeType: CandidApi.DiagnosisTypeCode.Abf,
|
|
3545
|
+
code: "string",
|
|
3546
|
+
},
|
|
3547
|
+
],
|
|
3548
|
+
clinicalNotes: [
|
|
3549
|
+
{
|
|
3550
|
+
category: CandidApi.NoteCategory.Clinical,
|
|
3551
|
+
notes: [],
|
|
3552
|
+
},
|
|
3553
|
+
],
|
|
3554
|
+
billingNotes: [
|
|
3555
|
+
{
|
|
3556
|
+
text: "string",
|
|
3557
|
+
},
|
|
3558
|
+
],
|
|
3559
|
+
placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
3560
|
+
patientHistories: [
|
|
3561
|
+
{
|
|
3562
|
+
category: CandidApi.PatientHistoryCategoryEnum.PresentIllness,
|
|
3563
|
+
questions: [
|
|
3564
|
+
{
|
|
3565
|
+
id: CandidApi.IntakeQuestionId("6E7FBCE4-A8EA-46D0-A8D8-FF83CA3BB176"),
|
|
3566
|
+
text: "Do you have any allergies?",
|
|
3567
|
+
responses: [
|
|
3568
|
+
{
|
|
3569
|
+
response: "No allergies",
|
|
3570
|
+
followUps: [
|
|
3571
|
+
{
|
|
3572
|
+
id: CandidApi.IntakeFollowUpId("4F3D57F9-AC94-49D6-87E4-E804B709917A"),
|
|
3573
|
+
text: "Do you have any allergies?",
|
|
3574
|
+
response: "No allergies",
|
|
3575
|
+
},
|
|
3576
|
+
],
|
|
3577
|
+
},
|
|
3578
|
+
],
|
|
3579
|
+
},
|
|
3580
|
+
],
|
|
3581
|
+
},
|
|
3582
|
+
],
|
|
3583
|
+
serviceLines: [
|
|
3584
|
+
{
|
|
3585
|
+
procedureCode: "string",
|
|
3586
|
+
quantity: CandidApi.Decimal("string"),
|
|
3587
|
+
units: CandidApi.ServiceLineUnits.Mj,
|
|
3588
|
+
diagnosisPointers: [],
|
|
3589
|
+
},
|
|
3590
|
+
],
|
|
3370
3591
|
externalClaimSubmission: {
|
|
3371
3592
|
claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
|
|
3372
3593
|
patientControlNumber: "PATIENT_CONTROL_NUMBER",
|
|
@@ -3479,7 +3700,7 @@ await client.encounters.v4.createFromPreEncounterPatient({
|
|
|
3479
3700
|
<dl>
|
|
3480
3701
|
<dd>
|
|
3481
3702
|
|
|
3482
|
-
**request:** `CandidApi.
|
|
3703
|
+
**request:** `CandidApi.EncounterCreateFromPreEncounter`
|
|
3483
3704
|
|
|
3484
3705
|
</dd>
|
|
3485
3706
|
</dl>
|
|
@@ -8778,6 +8999,8 @@ await client.serviceLines.v2.create({
|
|
|
8778
8999
|
resultType: CandidApi.TestResultType.Hematocrit,
|
|
8779
9000
|
},
|
|
8780
9001
|
],
|
|
9002
|
+
hasEpsdtIndicator: true,
|
|
9003
|
+
hasFamilyPlanningIndicator: true,
|
|
8781
9004
|
});
|
|
8782
9005
|
```
|
|
8783
9006
|
|
|
@@ -8860,6 +9083,8 @@ await client.serviceLines.v2.update(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-
|
|
|
8860
9083
|
resultType: CandidApi.TestResultType.Hematocrit,
|
|
8861
9084
|
},
|
|
8862
9085
|
],
|
|
9086
|
+
hasEpsdtIndicator: true,
|
|
9087
|
+
hasFamilyPlanningIndicator: true,
|
|
8863
9088
|
});
|
|
8864
9089
|
```
|
|
8865
9090
|
|
|
@@ -10045,12 +10270,7 @@ await client.preEncounter.coverages.v1.create({
|
|
|
10045
10270
|
memberId: "string",
|
|
10046
10271
|
payerId: CandidApi.PayerId("string"),
|
|
10047
10272
|
payerName: "string",
|
|
10048
|
-
additionalPayerInformation: {
|
|
10049
|
-
availityEligibilityId: "string",
|
|
10050
|
-
availityPayerId: "string",
|
|
10051
|
-
availityPayerName: "string",
|
|
10052
|
-
availityRemittancePayerId: "string",
|
|
10053
|
-
},
|
|
10273
|
+
additionalPayerInformation: {},
|
|
10054
10274
|
groupNumber: "string",
|
|
10055
10275
|
name: "string",
|
|
10056
10276
|
planType: CandidApi.NetworkType.SelfPay,
|
|
@@ -10164,12 +10384,7 @@ await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b
|
|
|
10164
10384
|
memberId: "string",
|
|
10165
10385
|
payerId: CandidApi.PayerId("string"),
|
|
10166
10386
|
payerName: "string",
|
|
10167
|
-
additionalPayerInformation: {
|
|
10168
|
-
availityEligibilityId: "string",
|
|
10169
|
-
availityPayerId: "string",
|
|
10170
|
-
availityPayerName: "string",
|
|
10171
|
-
availityRemittancePayerId: "string",
|
|
10172
|
-
},
|
|
10387
|
+
additionalPayerInformation: {},
|
|
10173
10388
|
groupNumber: "string",
|
|
10174
10389
|
name: "string",
|
|
10175
10390
|
planType: CandidApi.NetworkType.SelfPay,
|
|
@@ -11259,9 +11474,13 @@ await client.preEncounter.patients.v1.create({
|
|
|
11259
11474
|
{
|
|
11260
11475
|
payerId: CandidApi.PayerId("string"),
|
|
11261
11476
|
payerName: "string",
|
|
11477
|
+
additionalPayerInformation: {},
|
|
11262
11478
|
authorizationNumber: "string",
|
|
11263
11479
|
cptCode: "string",
|
|
11264
11480
|
units: CandidApi.AuthorizationUnit.Visit,
|
|
11481
|
+
quantity: 1,
|
|
11482
|
+
period: {},
|
|
11483
|
+
notes: "string",
|
|
11265
11484
|
},
|
|
11266
11485
|
],
|
|
11267
11486
|
referrals: [
|
|
@@ -11511,9 +11730,13 @@ await client.preEncounter.patients.v1.createWithMrn({
|
|
|
11511
11730
|
{
|
|
11512
11731
|
payerId: CandidApi.PayerId("string"),
|
|
11513
11732
|
payerName: "string",
|
|
11733
|
+
additionalPayerInformation: {},
|
|
11514
11734
|
authorizationNumber: "string",
|
|
11515
11735
|
cptCode: "string",
|
|
11516
11736
|
units: CandidApi.AuthorizationUnit.Visit,
|
|
11737
|
+
quantity: 1,
|
|
11738
|
+
period: {},
|
|
11739
|
+
notes: "string",
|
|
11517
11740
|
},
|
|
11518
11741
|
],
|
|
11519
11742
|
referrals: [
|
|
@@ -11955,9 +12178,13 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
|
|
|
11955
12178
|
{
|
|
11956
12179
|
payerId: CandidApi.PayerId("string"),
|
|
11957
12180
|
payerName: "string",
|
|
12181
|
+
additionalPayerInformation: {},
|
|
11958
12182
|
authorizationNumber: "string",
|
|
11959
12183
|
cptCode: "string",
|
|
11960
12184
|
units: CandidApi.AuthorizationUnit.Visit,
|
|
12185
|
+
quantity: 1,
|
|
12186
|
+
period: {},
|
|
12187
|
+
notes: "string",
|
|
11961
12188
|
},
|
|
11962
12189
|
],
|
|
11963
12190
|
referrals: [
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const EpsdtReferralConditionIndicatorCode: core.serialization.Schema<serializers.EpsdtReferralConditionIndicatorCode.Raw, CandidApi.EpsdtReferralConditionIndicatorCode>;
|
|
8
|
+
export declare namespace EpsdtReferralConditionIndicatorCode {
|
|
9
|
+
type Raw = "AV" | "NU" | "S2" | "ST";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.EpsdtReferralConditionIndicatorCode = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.EpsdtReferralConditionIndicatorCode = core.serialization.enum_(["AV", "NU", "S2", "ST"]);
|
|
@@ -80,3 +80,4 @@ __exportStar(require("./Email"), exports);
|
|
|
80
80
|
__exportStar(require("./DelayReasonCode"), exports);
|
|
81
81
|
__exportStar(require("./IntendedSubmissionMedium"), exports);
|
|
82
82
|
__exportStar(require("./BillingProviderCommercialLicenseType"), exports);
|
|
83
|
+
__exportStar(require("./EpsdtReferralConditionIndicatorCode"), exports);
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { EncounterExternalIdUniquenessErrorType } from "../types/EncounterExternalIdUniquenessErrorType";
|
|
8
|
+
import { EncounterPatientControlNumberUniquenessErrorType } from "../types/EncounterPatientControlNumberUniquenessErrorType";
|
|
9
|
+
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
10
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
11
|
+
import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidationFailure";
|
|
12
|
+
export declare const Error: core.serialization.Schema<serializers.encounters.v4.createFromPreEncounterPatientInternal.Error.Raw, CandidApi.encounters.v4.createFromPreEncounterPatientInternal.Error>;
|
|
13
|
+
export declare namespace Error {
|
|
14
|
+
type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.HttpRequestValidationError;
|
|
15
|
+
interface EncounterExternalIdUniquenessError {
|
|
16
|
+
errorName: "EncounterExternalIdUniquenessError";
|
|
17
|
+
content: EncounterExternalIdUniquenessErrorType.Raw;
|
|
18
|
+
}
|
|
19
|
+
interface EncounterPatientControlNumberUniquenessError {
|
|
20
|
+
errorName: "EncounterPatientControlNumberUniquenessError";
|
|
21
|
+
content: EncounterPatientControlNumberUniquenessErrorType.Raw;
|
|
22
|
+
}
|
|
23
|
+
interface EntityNotFoundError {
|
|
24
|
+
errorName: "EntityNotFoundError";
|
|
25
|
+
content: EntityNotFoundErrorMessage.Raw;
|
|
26
|
+
}
|
|
27
|
+
interface HttpRequestValidationsError {
|
|
28
|
+
errorName: "HttpRequestValidationsError";
|
|
29
|
+
content: RequestValidationError.Raw[];
|
|
30
|
+
}
|
|
31
|
+
interface SchemaInstanceValidationHttpFailure {
|
|
32
|
+
errorName: "SchemaInstanceValidationHttpFailure";
|
|
33
|
+
content: SchemaInstanceValidationFailure.Raw;
|
|
34
|
+
}
|
|
35
|
+
interface HttpRequestValidationError {
|
|
36
|
+
errorName: "HttpRequestValidationError";
|
|
37
|
+
content: RequestValidationError.Raw;
|
|
38
|
+
}
|
|
39
|
+
}
|