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
|
@@ -190,9 +190,13 @@ class V1 {
|
|
|
190
190
|
* authorizations: [{
|
|
191
191
|
* payerId: CandidApi.preEncounter.PayerId("string"),
|
|
192
192
|
* payerName: "string",
|
|
193
|
+
* additionalPayerInformation: {},
|
|
193
194
|
* authorizationNumber: "string",
|
|
194
195
|
* cptCode: "string",
|
|
195
|
-
* units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit
|
|
196
|
+
* units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit,
|
|
197
|
+
* quantity: 1,
|
|
198
|
+
* period: {},
|
|
199
|
+
* notes: "string"
|
|
196
200
|
* }],
|
|
197
201
|
* referrals: [{
|
|
198
202
|
* provider: {
|
|
@@ -237,7 +241,7 @@ class V1 {
|
|
|
237
241
|
Authorization: yield this._getAuthorizationHeader(),
|
|
238
242
|
"X-Fern-Language": "JavaScript",
|
|
239
243
|
"X-Fern-SDK-Name": "candidhealth",
|
|
240
|
-
"X-Fern-SDK-Version": "0.39.
|
|
244
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
241
245
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
242
246
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
243
247
|
},
|
|
@@ -425,9 +429,13 @@ class V1 {
|
|
|
425
429
|
* authorizations: [{
|
|
426
430
|
* payerId: CandidApi.preEncounter.PayerId("string"),
|
|
427
431
|
* payerName: "string",
|
|
432
|
+
* additionalPayerInformation: {},
|
|
428
433
|
* authorizationNumber: "string",
|
|
429
434
|
* cptCode: "string",
|
|
430
|
-
* units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit
|
|
435
|
+
* units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit,
|
|
436
|
+
* quantity: 1,
|
|
437
|
+
* period: {},
|
|
438
|
+
* notes: "string"
|
|
431
439
|
* }],
|
|
432
440
|
* referrals: [{
|
|
433
441
|
* provider: {
|
|
@@ -472,7 +480,7 @@ class V1 {
|
|
|
472
480
|
Authorization: yield this._getAuthorizationHeader(),
|
|
473
481
|
"X-Fern-Language": "JavaScript",
|
|
474
482
|
"X-Fern-SDK-Name": "candidhealth",
|
|
475
|
-
"X-Fern-SDK-Version": "0.39.
|
|
483
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
476
484
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
477
485
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
478
486
|
},
|
|
@@ -561,7 +569,7 @@ class V1 {
|
|
|
561
569
|
Authorization: yield this._getAuthorizationHeader(),
|
|
562
570
|
"X-Fern-Language": "JavaScript",
|
|
563
571
|
"X-Fern-SDK-Name": "candidhealth",
|
|
564
|
-
"X-Fern-SDK-Version": "0.39.
|
|
572
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
565
573
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
566
574
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
567
575
|
},
|
|
@@ -609,7 +617,7 @@ class V1 {
|
|
|
609
617
|
Authorization: yield this._getAuthorizationHeader(),
|
|
610
618
|
"X-Fern-Language": "JavaScript",
|
|
611
619
|
"X-Fern-SDK-Name": "candidhealth",
|
|
612
|
-
"X-Fern-SDK-Version": "0.39.
|
|
620
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
613
621
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
614
622
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
615
623
|
},
|
|
@@ -670,7 +678,7 @@ class V1 {
|
|
|
670
678
|
Authorization: yield this._getAuthorizationHeader(),
|
|
671
679
|
"X-Fern-Language": "JavaScript",
|
|
672
680
|
"X-Fern-SDK-Name": "candidhealth",
|
|
673
|
-
"X-Fern-SDK-Version": "0.39.
|
|
681
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
674
682
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
675
683
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
676
684
|
},
|
|
@@ -853,9 +861,13 @@ class V1 {
|
|
|
853
861
|
* authorizations: [{
|
|
854
862
|
* payerId: CandidApi.preEncounter.PayerId("string"),
|
|
855
863
|
* payerName: "string",
|
|
864
|
+
* additionalPayerInformation: {},
|
|
856
865
|
* authorizationNumber: "string",
|
|
857
866
|
* cptCode: "string",
|
|
858
|
-
* units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit
|
|
867
|
+
* units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit,
|
|
868
|
+
* quantity: 1,
|
|
869
|
+
* period: {},
|
|
870
|
+
* notes: "string"
|
|
859
871
|
* }],
|
|
860
872
|
* referrals: [{
|
|
861
873
|
* provider: {
|
|
@@ -894,7 +906,7 @@ class V1 {
|
|
|
894
906
|
Authorization: yield this._getAuthorizationHeader(),
|
|
895
907
|
"X-Fern-Language": "JavaScript",
|
|
896
908
|
"X-Fern-SDK-Name": "candidhealth",
|
|
897
|
-
"X-Fern-SDK-Version": "0.39.
|
|
909
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
898
910
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
899
911
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
900
912
|
},
|
|
@@ -960,7 +972,7 @@ class V1 {
|
|
|
960
972
|
Authorization: yield this._getAuthorizationHeader(),
|
|
961
973
|
"X-Fern-Language": "JavaScript",
|
|
962
974
|
"X-Fern-SDK-Name": "candidhealth",
|
|
963
|
-
"X-Fern-SDK-Version": "0.39.
|
|
975
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
964
976
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
965
977
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
966
978
|
},
|
|
@@ -1028,7 +1040,7 @@ class V1 {
|
|
|
1028
1040
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1029
1041
|
"X-Fern-Language": "JavaScript",
|
|
1030
1042
|
"X-Fern-SDK-Name": "candidhealth",
|
|
1031
|
-
"X-Fern-SDK-Version": "0.39.
|
|
1043
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
1032
1044
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1033
1045
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1034
1046
|
},
|
|
@@ -1081,7 +1093,7 @@ class V1 {
|
|
|
1081
1093
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1082
1094
|
"X-Fern-Language": "JavaScript",
|
|
1083
1095
|
"X-Fern-SDK-Name": "candidhealth",
|
|
1084
|
-
"X-Fern-SDK-Version": "0.39.
|
|
1096
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
1085
1097
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1086
1098
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1087
1099
|
},
|
|
@@ -139,9 +139,13 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
139
139
|
* authorizations: [{
|
|
140
140
|
* payerId: CandidApi.preEncounter.PayerId("string"),
|
|
141
141
|
* payerName: "string",
|
|
142
|
+
* additionalPayerInformation: {},
|
|
142
143
|
* authorizationNumber: "string",
|
|
143
144
|
* cptCode: "string",
|
|
144
|
-
* units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit
|
|
145
|
+
* units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit,
|
|
146
|
+
* quantity: 1,
|
|
147
|
+
* period: {},
|
|
148
|
+
* notes: "string"
|
|
145
149
|
* }],
|
|
146
150
|
* referrals: [{
|
|
147
151
|
* provider: {
|
|
@@ -140,9 +140,13 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
140
140
|
* authorizations: [{
|
|
141
141
|
* payerId: CandidApi.preEncounter.PayerId("string"),
|
|
142
142
|
* payerName: "string",
|
|
143
|
+
* additionalPayerInformation: {},
|
|
143
144
|
* authorizationNumber: "string",
|
|
144
145
|
* cptCode: "string",
|
|
145
|
-
* units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit
|
|
146
|
+
* units: CandidApi.preEncounter.patients.v1.AuthorizationUnit.Visit,
|
|
147
|
+
* quantity: 1,
|
|
148
|
+
* period: {},
|
|
149
|
+
* notes: "string"
|
|
146
150
|
* }],
|
|
147
151
|
* referrals: [{
|
|
148
152
|
* provider: {
|
|
@@ -68,7 +68,7 @@ class V1 {
|
|
|
68
68
|
Authorization: yield this._getAuthorizationHeader(),
|
|
69
69
|
"X-Fern-Language": "JavaScript",
|
|
70
70
|
"X-Fern-SDK-Name": "candidhealth",
|
|
71
|
-
"X-Fern-SDK-Version": "0.39.
|
|
71
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
72
72
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
73
73
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
74
74
|
},
|
|
@@ -126,7 +126,7 @@ class V1 {
|
|
|
126
126
|
Authorization: yield this._getAuthorizationHeader(),
|
|
127
127
|
"X-Fern-Language": "JavaScript",
|
|
128
128
|
"X-Fern-SDK-Name": "candidhealth",
|
|
129
|
-
"X-Fern-SDK-Version": "0.39.
|
|
129
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
130
130
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
131
131
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
132
132
|
},
|
|
@@ -176,7 +176,7 @@ class V1 {
|
|
|
176
176
|
Authorization: yield this._getAuthorizationHeader(),
|
|
177
177
|
"X-Fern-Language": "JavaScript",
|
|
178
178
|
"X-Fern-SDK-Name": "candidhealth",
|
|
179
|
-
"X-Fern-SDK-Version": "0.39.
|
|
179
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
180
180
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
181
181
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
182
182
|
},
|
|
@@ -228,7 +228,7 @@ class V1 {
|
|
|
228
228
|
Authorization: yield this._getAuthorizationHeader(),
|
|
229
229
|
"X-Fern-Language": "JavaScript",
|
|
230
230
|
"X-Fern-SDK-Name": "candidhealth",
|
|
231
|
-
"X-Fern-SDK-Version": "0.39.
|
|
231
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
232
232
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
233
233
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
234
234
|
},
|
|
@@ -277,7 +277,7 @@ class V1 {
|
|
|
277
277
|
Authorization: yield this._getAuthorizationHeader(),
|
|
278
278
|
"X-Fern-Language": "JavaScript",
|
|
279
279
|
"X-Fern-SDK-Name": "candidhealth",
|
|
280
|
-
"X-Fern-SDK-Version": "0.39.
|
|
280
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
281
281
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
282
282
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
283
283
|
},
|
|
@@ -77,7 +77,7 @@ class ServiceFacility {
|
|
|
77
77
|
Authorization: yield this._getAuthorizationHeader(),
|
|
78
78
|
"X-Fern-Language": "JavaScript",
|
|
79
79
|
"X-Fern-SDK-Name": "candidhealth",
|
|
80
|
-
"X-Fern-SDK-Version": "0.39.
|
|
80
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
81
81
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
82
82
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
83
83
|
},
|
|
@@ -72,7 +72,9 @@ export declare class V2 {
|
|
|
72
72
|
* testResults: [{
|
|
73
73
|
* value: 1.1,
|
|
74
74
|
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
75
|
-
* }]
|
|
75
|
+
* }],
|
|
76
|
+
* hasEpsdtIndicator: true,
|
|
77
|
+
* hasFamilyPlanningIndicator: true
|
|
76
78
|
* })
|
|
77
79
|
*/
|
|
78
80
|
create(request: CandidApi.serviceLines.v2.ServiceLineCreateStandalone, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.serviceLines.v2.ServiceLine, CandidApi.serviceLines.v2.create.Error>>;
|
|
@@ -113,7 +115,9 @@ export declare class V2 {
|
|
|
113
115
|
* testResults: [{
|
|
114
116
|
* value: 1.1,
|
|
115
117
|
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
116
|
-
* }]
|
|
118
|
+
* }],
|
|
119
|
+
* hasEpsdtIndicator: true,
|
|
120
|
+
* hasFamilyPlanningIndicator: true
|
|
117
121
|
* })
|
|
118
122
|
*/
|
|
119
123
|
update(serviceLineId: CandidApi.ServiceLineId, request: CandidApi.serviceLines.v2.ServiceLineUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.serviceLines.v2.ServiceLine, CandidApi.serviceLines.v2.update.Error>>;
|
|
@@ -99,7 +99,9 @@ class V2 {
|
|
|
99
99
|
* testResults: [{
|
|
100
100
|
* value: 1.1,
|
|
101
101
|
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
102
|
-
* }]
|
|
102
|
+
* }],
|
|
103
|
+
* hasEpsdtIndicator: true,
|
|
104
|
+
* hasFamilyPlanningIndicator: true
|
|
103
105
|
* })
|
|
104
106
|
*/
|
|
105
107
|
create(request, requestOptions) {
|
|
@@ -113,7 +115,7 @@ class V2 {
|
|
|
113
115
|
Authorization: yield this._getAuthorizationHeader(),
|
|
114
116
|
"X-Fern-Language": "JavaScript",
|
|
115
117
|
"X-Fern-SDK-Name": "candidhealth",
|
|
116
|
-
"X-Fern-SDK-Version": "0.39.
|
|
118
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
117
119
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
118
120
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
119
121
|
},
|
|
@@ -194,7 +196,9 @@ class V2 {
|
|
|
194
196
|
* testResults: [{
|
|
195
197
|
* value: 1.1,
|
|
196
198
|
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
197
|
-
* }]
|
|
199
|
+
* }],
|
|
200
|
+
* hasEpsdtIndicator: true,
|
|
201
|
+
* hasFamilyPlanningIndicator: true
|
|
198
202
|
* })
|
|
199
203
|
*/
|
|
200
204
|
update(serviceLineId, request, requestOptions) {
|
|
@@ -208,7 +212,7 @@ class V2 {
|
|
|
208
212
|
Authorization: yield this._getAuthorizationHeader(),
|
|
209
213
|
"X-Fern-Language": "JavaScript",
|
|
210
214
|
"X-Fern-SDK-Name": "candidhealth",
|
|
211
|
-
"X-Fern-SDK-Version": "0.39.
|
|
215
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
212
216
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
213
217
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
214
218
|
},
|
|
@@ -272,7 +276,7 @@ class V2 {
|
|
|
272
276
|
Authorization: yield this._getAuthorizationHeader(),
|
|
273
277
|
"X-Fern-Language": "JavaScript",
|
|
274
278
|
"X-Fern-SDK-Name": "candidhealth",
|
|
275
|
-
"X-Fern-SDK-Version": "0.39.
|
|
279
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
276
280
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
277
281
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
278
282
|
},
|
|
@@ -119,4 +119,14 @@ export interface ServiceLine {
|
|
|
119
119
|
endDateOfService?: string;
|
|
120
120
|
/** Maps to MEA-02 on the 837-P. No more than 5 test results may be submitted per service line. */
|
|
121
121
|
testResults?: CandidApi.serviceLines.v2.TestResult[];
|
|
122
|
+
/**
|
|
123
|
+
* Maps to SV1-11 on the 837-P and Box 24H on the CMS-1500.
|
|
124
|
+
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
125
|
+
*/
|
|
126
|
+
hasEpsdtIndicator?: boolean;
|
|
127
|
+
/**
|
|
128
|
+
* Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500.
|
|
129
|
+
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
130
|
+
*/
|
|
131
|
+
hasFamilyPlanningIndicator?: boolean;
|
|
122
132
|
}
|
|
@@ -4,6 +4,16 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
export interface ServiceLineCreate {
|
|
6
6
|
modifiers?: CandidApi.ProcedureModifier[];
|
|
7
|
+
/**
|
|
8
|
+
* Maps to SV1-11 on the 837-P and Box 24H on the CMS-1500.
|
|
9
|
+
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
10
|
+
*/
|
|
11
|
+
hasEpsdtIndicator?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500.
|
|
14
|
+
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
15
|
+
*/
|
|
16
|
+
hasFamilyPlanningIndicator?: boolean;
|
|
7
17
|
procedureCode: string;
|
|
8
18
|
/**
|
|
9
19
|
* String representation of a Decimal that can be parsed by most libraries.
|
|
@@ -33,4 +33,14 @@ export interface ServiceLineCreateStandalone {
|
|
|
33
33
|
orderingProvider?: CandidApi.encounterProviders.v2.OrderingProvider;
|
|
34
34
|
/** Maps to MEA-02 on the 837-P. No more than 5 test results may be submitted per service line. */
|
|
35
35
|
testResults?: CandidApi.serviceLines.v2.TestResult[];
|
|
36
|
+
/**
|
|
37
|
+
* Maps to SV1-11 on the 837-P and Box 24H on the CMS-1500.
|
|
38
|
+
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
39
|
+
*/
|
|
40
|
+
hasEpsdtIndicator?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500.
|
|
43
|
+
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
44
|
+
*/
|
|
45
|
+
hasFamilyPlanningIndicator?: boolean;
|
|
36
46
|
}
|
|
@@ -33,4 +33,14 @@ export interface ServiceLineUpdate {
|
|
|
33
33
|
* results may be submitted per service line.
|
|
34
34
|
*/
|
|
35
35
|
testResults?: CandidApi.serviceLines.v2.TestResult[];
|
|
36
|
+
/**
|
|
37
|
+
* Maps to SV1-11 on the 837-P and Box 24H on the CMS-1500.
|
|
38
|
+
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
39
|
+
*/
|
|
40
|
+
hasEpsdtIndicator?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500.
|
|
43
|
+
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
44
|
+
*/
|
|
45
|
+
hasFamilyPlanningIndicator?: boolean;
|
|
36
46
|
}
|
|
@@ -66,7 +66,7 @@ class V3 {
|
|
|
66
66
|
Authorization: yield this._getAuthorizationHeader(),
|
|
67
67
|
"X-Fern-Language": "JavaScript",
|
|
68
68
|
"X-Fern-SDK-Name": "candidhealth",
|
|
69
|
-
"X-Fern-SDK-Version": "0.39.
|
|
69
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
72
72
|
},
|
|
@@ -166,7 +166,7 @@ class V3 {
|
|
|
166
166
|
Authorization: yield this._getAuthorizationHeader(),
|
|
167
167
|
"X-Fern-Language": "JavaScript",
|
|
168
168
|
"X-Fern-SDK-Name": "candidhealth",
|
|
169
|
-
"X-Fern-SDK-Version": "0.39.
|
|
169
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
170
170
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
171
171
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
172
172
|
},
|
|
@@ -226,7 +226,7 @@ class V3 {
|
|
|
226
226
|
Authorization: yield this._getAuthorizationHeader(),
|
|
227
227
|
"X-Fern-Language": "JavaScript",
|
|
228
228
|
"X-Fern-SDK-Name": "candidhealth",
|
|
229
|
-
"X-Fern-SDK-Version": "0.39.
|
|
229
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
230
230
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
231
231
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
232
232
|
},
|
|
@@ -294,7 +294,7 @@ class V3 {
|
|
|
294
294
|
Authorization: yield this._getAuthorizationHeader(),
|
|
295
295
|
"X-Fern-Language": "JavaScript",
|
|
296
296
|
"X-Fern-SDK-Name": "candidhealth",
|
|
297
|
-
"X-Fern-SDK-Version": "0.39.
|
|
297
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
298
298
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
299
299
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
300
300
|
},
|
|
@@ -345,7 +345,7 @@ class V3 {
|
|
|
345
345
|
Authorization: yield this._getAuthorizationHeader(),
|
|
346
346
|
"X-Fern-Language": "JavaScript",
|
|
347
347
|
"X-Fern-SDK-Name": "candidhealth",
|
|
348
|
-
"X-Fern-SDK-Version": "0.39.
|
|
348
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
349
349
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
350
350
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
351
351
|
},
|
|
@@ -116,7 +116,7 @@ class V1 {
|
|
|
116
116
|
Authorization: yield this._getAuthorizationHeader(),
|
|
117
117
|
"X-Fern-Language": "JavaScript",
|
|
118
118
|
"X-Fern-SDK-Name": "candidhealth",
|
|
119
|
-
"X-Fern-SDK-Version": "0.39.
|
|
119
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
120
120
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
121
121
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
122
122
|
},
|
|
@@ -164,7 +164,7 @@ class V1 {
|
|
|
164
164
|
Authorization: yield this._getAuthorizationHeader(),
|
|
165
165
|
"X-Fern-Language": "JavaScript",
|
|
166
166
|
"X-Fern-SDK-Name": "candidhealth",
|
|
167
|
-
"X-Fern-SDK-Version": "0.39.
|
|
167
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
168
168
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
169
169
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
170
170
|
},
|
|
@@ -221,7 +221,7 @@ class V1 {
|
|
|
221
221
|
Authorization: yield this._getAuthorizationHeader(),
|
|
222
222
|
"X-Fern-Language": "JavaScript",
|
|
223
223
|
"X-Fern-SDK-Name": "candidhealth",
|
|
224
|
-
"X-Fern-SDK-Version": "0.39.
|
|
224
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
225
225
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
226
226
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
227
227
|
},
|
|
@@ -271,7 +271,7 @@ class V1 {
|
|
|
271
271
|
Authorization: yield this._getAuthorizationHeader(),
|
|
272
272
|
"X-Fern-Language": "JavaScript",
|
|
273
273
|
"X-Fern-SDK-Name": "candidhealth",
|
|
274
|
-
"X-Fern-SDK-Version": "0.39.
|
|
274
|
+
"X-Fern-SDK-Version": "0.39.4",
|
|
275
275
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
276
276
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
277
277
|
},
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
+
var t = {};
|
|
30
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
+
t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.Error = void 0;
|
|
41
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../../../core"));
|
|
43
|
+
const EncounterExternalIdUniquenessErrorType_1 = require("../types/EncounterExternalIdUniquenessErrorType");
|
|
44
|
+
const EncounterPatientControlNumberUniquenessErrorType_1 = require("../types/EncounterPatientControlNumberUniquenessErrorType");
|
|
45
|
+
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
46
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
47
|
+
const SchemaInstanceValidationFailure_1 = require("../types/SchemaInstanceValidationFailure");
|
|
48
|
+
exports.Error = core.serialization
|
|
49
|
+
.union("errorName", {
|
|
50
|
+
EncounterExternalIdUniquenessError: core.serialization.object({
|
|
51
|
+
content: EncounterExternalIdUniquenessErrorType_1.EncounterExternalIdUniquenessErrorType,
|
|
52
|
+
}),
|
|
53
|
+
EncounterPatientControlNumberUniquenessError: core.serialization.object({
|
|
54
|
+
content: EncounterPatientControlNumberUniquenessErrorType_1.EncounterPatientControlNumberUniquenessErrorType,
|
|
55
|
+
}),
|
|
56
|
+
EntityNotFoundError: core.serialization.object({
|
|
57
|
+
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
58
|
+
}),
|
|
59
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
60
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
61
|
+
}),
|
|
62
|
+
SchemaInstanceValidationHttpFailure: core.serialization.object({
|
|
63
|
+
content: SchemaInstanceValidationFailure_1.SchemaInstanceValidationFailure,
|
|
64
|
+
}),
|
|
65
|
+
HttpRequestValidationError: core.serialization.object({
|
|
66
|
+
content: RequestValidationError_1.RequestValidationError,
|
|
67
|
+
}),
|
|
68
|
+
})
|
|
69
|
+
.transform({
|
|
70
|
+
transform: (value) => {
|
|
71
|
+
switch (value.errorName) {
|
|
72
|
+
case "EncounterExternalIdUniquenessError":
|
|
73
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientInternal.Error.encounterExternalIdUniquenessError(value.content);
|
|
74
|
+
case "EncounterPatientControlNumberUniquenessError":
|
|
75
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientInternal.Error.encounterPatientControlNumberUniquenessError(value.content);
|
|
76
|
+
case "EntityNotFoundError":
|
|
77
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientInternal.Error.entityNotFoundError(value.content);
|
|
78
|
+
case "HttpRequestValidationsError":
|
|
79
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientInternal.Error.httpRequestValidationsError(value.content);
|
|
80
|
+
case "SchemaInstanceValidationHttpFailure":
|
|
81
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientInternal.Error.schemaInstanceValidationHttpFailure(value.content);
|
|
82
|
+
case "HttpRequestValidationError":
|
|
83
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientInternal.Error.httpRequestValidationError(value.content);
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
untransform: (_a) => {
|
|
87
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
88
|
+
return value;
|
|
89
|
+
},
|
|
90
|
+
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * as create from "./create";
|
|
2
2
|
export * as createFromPreEncounterPatient from "./createFromPreEncounterPatient";
|
|
3
|
+
export * as createFromPreEncounterPatientInternal from "./createFromPreEncounterPatientInternal";
|
|
3
4
|
export * as update from "./update";
|
|
4
5
|
export * from "./requests";
|
|
@@ -26,8 +26,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.update = exports.createFromPreEncounterPatient = exports.create = void 0;
|
|
29
|
+
exports.update = exports.createFromPreEncounterPatientInternal = exports.createFromPreEncounterPatient = exports.create = void 0;
|
|
30
30
|
exports.create = __importStar(require("./create"));
|
|
31
31
|
exports.createFromPreEncounterPatient = __importStar(require("./createFromPreEncounterPatient"));
|
|
32
|
+
exports.createFromPreEncounterPatientInternal = __importStar(require("./createFromPreEncounterPatientInternal"));
|
|
32
33
|
exports.update = __importStar(require("./update"));
|
|
33
34
|
__exportStar(require("./requests"), exports);
|