candidhealth 0.39.2 → 0.39.3
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.js +8 -8
- 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.js +9 -9
- 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.js +8 -8
- 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.js +9 -9
- 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 +2177 -4574
- 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/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts
DELETED
|
@@ -1,319 +0,0 @@
|
|
|
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
|
-
* preEncounterPatientId: CandidApi.PreEncounterPatientId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
9
|
-
* preEncounterAppointmentIds: [CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
10
|
-
* billingProvider: {
|
|
11
|
-
* address: {
|
|
12
|
-
* address1: "123 Main St",
|
|
13
|
-
* address2: "Apt 1",
|
|
14
|
-
* city: "New York",
|
|
15
|
-
* state: CandidApi.State.Ny,
|
|
16
|
-
* zipCode: "10001",
|
|
17
|
-
* zipPlusFourCode: "1234"
|
|
18
|
-
* },
|
|
19
|
-
* taxId: "string",
|
|
20
|
-
* npi: "string",
|
|
21
|
-
* taxonomyCode: "string",
|
|
22
|
-
* providerCommercialLicenseType: CandidApi.BillingProviderCommercialLicenseType.LicensedClinicalSocialWorker,
|
|
23
|
-
* firstName: "string",
|
|
24
|
-
* lastName: "string",
|
|
25
|
-
* organizationName: "string"
|
|
26
|
-
* },
|
|
27
|
-
* renderingProvider: {
|
|
28
|
-
* npi: "string",
|
|
29
|
-
* taxonomyCode: "string",
|
|
30
|
-
* address: {
|
|
31
|
-
* address1: "123 Main St",
|
|
32
|
-
* address2: "Apt 1",
|
|
33
|
-
* city: "New York",
|
|
34
|
-
* state: CandidApi.State.Ny,
|
|
35
|
-
* zipCode: "10001",
|
|
36
|
-
* zipPlusFourCode: "1234"
|
|
37
|
-
* },
|
|
38
|
-
* firstName: "string",
|
|
39
|
-
* lastName: "string",
|
|
40
|
-
* organizationName: "string"
|
|
41
|
-
* },
|
|
42
|
-
* initialReferringProvider: {
|
|
43
|
-
* npi: "string",
|
|
44
|
-
* taxonomyCode: "string",
|
|
45
|
-
* address: {
|
|
46
|
-
* address1: "123 Main St",
|
|
47
|
-
* address2: "Apt 1",
|
|
48
|
-
* city: "New York",
|
|
49
|
-
* state: CandidApi.State.Ny,
|
|
50
|
-
* zipCode: "10001",
|
|
51
|
-
* zipPlusFourCode: "1234"
|
|
52
|
-
* },
|
|
53
|
-
* qualifier: CandidApi.QualifierCode.Dq,
|
|
54
|
-
* firstName: "string",
|
|
55
|
-
* lastName: "string",
|
|
56
|
-
* organizationName: "string"
|
|
57
|
-
* },
|
|
58
|
-
* supervisingProvider: {
|
|
59
|
-
* npi: "string",
|
|
60
|
-
* taxonomyCode: "string",
|
|
61
|
-
* address: {
|
|
62
|
-
* address1: "123 Main St",
|
|
63
|
-
* address2: "Apt 1",
|
|
64
|
-
* city: "New York",
|
|
65
|
-
* state: CandidApi.State.Ny,
|
|
66
|
-
* zipCode: "10001",
|
|
67
|
-
* zipPlusFourCode: "1234"
|
|
68
|
-
* },
|
|
69
|
-
* firstName: "string",
|
|
70
|
-
* lastName: "string",
|
|
71
|
-
* organizationName: "string"
|
|
72
|
-
* },
|
|
73
|
-
* serviceFacility: {
|
|
74
|
-
* organizationName: "string",
|
|
75
|
-
* npi: "string",
|
|
76
|
-
* address: {
|
|
77
|
-
* address1: "123 Main St",
|
|
78
|
-
* address2: "Apt 1",
|
|
79
|
-
* city: "New York",
|
|
80
|
-
* state: CandidApi.State.Ny,
|
|
81
|
-
* zipCode: "10001",
|
|
82
|
-
* zipPlusFourCode: "1234"
|
|
83
|
-
* },
|
|
84
|
-
* secondaryIdentification: "string"
|
|
85
|
-
* },
|
|
86
|
-
* diagnoses: [{
|
|
87
|
-
* name: "string",
|
|
88
|
-
* codeType: CandidApi.DiagnosisTypeCode.Abf,
|
|
89
|
-
* code: "string"
|
|
90
|
-
* }],
|
|
91
|
-
* clinicalNotes: [{
|
|
92
|
-
* category: CandidApi.encounters.v4.NoteCategory.Clinical,
|
|
93
|
-
* notes: [{
|
|
94
|
-
* text: "string",
|
|
95
|
-
* authorName: "string",
|
|
96
|
-
* authorNpi: CandidApi.Npi("string"),
|
|
97
|
-
* timestamp: new Date("2024-01-15T09:30:00.000Z")
|
|
98
|
-
* }]
|
|
99
|
-
* }],
|
|
100
|
-
* billingNotes: [{
|
|
101
|
-
* text: "string"
|
|
102
|
-
* }],
|
|
103
|
-
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
104
|
-
* patientHistories: [{
|
|
105
|
-
* category: CandidApi.encounters.v4.PatientHistoryCategoryEnum.PresentIllness,
|
|
106
|
-
* questions: [{
|
|
107
|
-
* id: CandidApi.encounters.v4.IntakeQuestionId("6E7FBCE4-A8EA-46D0-A8D8-FF83CA3BB176"),
|
|
108
|
-
* text: "Do you have any allergies?",
|
|
109
|
-
* responses: [{
|
|
110
|
-
* response: "No allergies",
|
|
111
|
-
* followUps: [{
|
|
112
|
-
* id: CandidApi.encounters.v4.IntakeFollowUpId("4F3D57F9-AC94-49D6-87E4-E804B709917A"),
|
|
113
|
-
* text: "Do you have any allergies?",
|
|
114
|
-
* response: "No allergies"
|
|
115
|
-
* }]
|
|
116
|
-
* }]
|
|
117
|
-
* }]
|
|
118
|
-
* }],
|
|
119
|
-
* serviceLines: [{
|
|
120
|
-
* modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
|
|
121
|
-
* procedureCode: "string",
|
|
122
|
-
* quantity: CandidApi.Decimal("string"),
|
|
123
|
-
* units: CandidApi.ServiceLineUnits.Mj,
|
|
124
|
-
* chargeAmountCents: 1,
|
|
125
|
-
* diagnosisPointers: [1],
|
|
126
|
-
* drugIdentification: {
|
|
127
|
-
* serviceIdQualifier: CandidApi.serviceLines.v2.ServiceIdQualifier.EanUcc13,
|
|
128
|
-
* nationalDrugCode: "string",
|
|
129
|
-
* nationalDrugUnitCount: "string",
|
|
130
|
-
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
131
|
-
* linkSequenceNumber: "string",
|
|
132
|
-
* pharmacyPrescriptionNumber: "string",
|
|
133
|
-
* conversionFormula: "string",
|
|
134
|
-
* drugDescription: "string"
|
|
135
|
-
* },
|
|
136
|
-
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
137
|
-
* description: "string",
|
|
138
|
-
* dateOfService: "2023-01-15",
|
|
139
|
-
* endDateOfService: "2023-01-15",
|
|
140
|
-
* orderingProvider: {
|
|
141
|
-
* npi: "string",
|
|
142
|
-
* taxonomyCode: "string",
|
|
143
|
-
* address: {
|
|
144
|
-
* address1: "123 Main St",
|
|
145
|
-
* address2: "Apt 1",
|
|
146
|
-
* city: "New York",
|
|
147
|
-
* state: CandidApi.State.Ny,
|
|
148
|
-
* zipCode: "10001",
|
|
149
|
-
* zipPlusFourCode: "1234"
|
|
150
|
-
* },
|
|
151
|
-
* firstName: "string",
|
|
152
|
-
* lastName: "string",
|
|
153
|
-
* organizationName: "string"
|
|
154
|
-
* },
|
|
155
|
-
* testResults: [{
|
|
156
|
-
* value: 1.1,
|
|
157
|
-
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
158
|
-
* }]
|
|
159
|
-
* }],
|
|
160
|
-
* externalClaimSubmission: {
|
|
161
|
-
* claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
|
|
162
|
-
* patientControlNumber: "PATIENT_CONTROL_NUMBER",
|
|
163
|
-
* submissionRecords: [{
|
|
164
|
-
* submittedAt: new Date("2023-01-01T13:00:00.000Z"),
|
|
165
|
-
* claimFrequencyCode: CandidApi.claimSubmission.v1.ClaimFrequencyTypeCode.Original,
|
|
166
|
-
* payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType.Primary,
|
|
167
|
-
* intendedSubmissionMedium: CandidApi.IntendedSubmissionMedium.Electronic
|
|
168
|
-
* }, {
|
|
169
|
-
* submittedAt: new Date("2023-01-04T12:00:00.000Z"),
|
|
170
|
-
* claimFrequencyCode: CandidApi.claimSubmission.v1.ClaimFrequencyTypeCode.Replacement,
|
|
171
|
-
* payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType.Primary,
|
|
172
|
-
* intendedSubmissionMedium: CandidApi.IntendedSubmissionMedium.Paper
|
|
173
|
-
* }]
|
|
174
|
-
* },
|
|
175
|
-
* tagIds: [CandidApi.TagId("string")],
|
|
176
|
-
* schemaInstances: [{
|
|
177
|
-
* schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
|
|
178
|
-
* content: {
|
|
179
|
-
* "provider_category": "internist",
|
|
180
|
-
* "is_urgent_care": true,
|
|
181
|
-
* "bmi": 24.2,
|
|
182
|
-
* "age": 38
|
|
183
|
-
* }
|
|
184
|
-
* }],
|
|
185
|
-
* externalId: CandidApi.EncounterExternalId("string"),
|
|
186
|
-
* dateOfService: "2023-01-15",
|
|
187
|
-
* endDateOfService: "2023-01-15",
|
|
188
|
-
* patientAuthorizedRelease: true,
|
|
189
|
-
* benefitsAssignedToProvider: true,
|
|
190
|
-
* providerAcceptsAssignment: true,
|
|
191
|
-
* appointmentType: "string",
|
|
192
|
-
* existingMedications: [{
|
|
193
|
-
* name: "Lisinopril",
|
|
194
|
-
* rxCui: CandidApi.encounters.v4.RxCui("860975"),
|
|
195
|
-
* dosage: "10mg",
|
|
196
|
-
* dosageForm: "Tablet",
|
|
197
|
-
* frequency: "Once Daily",
|
|
198
|
-
* asNeeded: true
|
|
199
|
-
* }],
|
|
200
|
-
* vitals: {
|
|
201
|
-
* heightIn: 70,
|
|
202
|
-
* weightLbs: 165,
|
|
203
|
-
* bloodPressureSystolicMmhg: 115,
|
|
204
|
-
* bloodPressureDiastolicMmhg: 85,
|
|
205
|
-
* bodyTemperatureF: 98,
|
|
206
|
-
* hemoglobinGdl: 15.1,
|
|
207
|
-
* hematocritPct: 51.2
|
|
208
|
-
* },
|
|
209
|
-
* interventions: [{
|
|
210
|
-
* name: "Physical Therapy Session",
|
|
211
|
-
* category: CandidApi.encounters.v4.InterventionCategory.Lifestyle,
|
|
212
|
-
* description: "A session focused on improving muscular strength, flexibility, and range of motion post-injury.",
|
|
213
|
-
* medication: {
|
|
214
|
-
* name: "Lisinopril",
|
|
215
|
-
* rxCui: CandidApi.encounters.v4.RxCui("860975"),
|
|
216
|
-
* dosage: "10mg",
|
|
217
|
-
* dosageForm: "Tablet",
|
|
218
|
-
* frequency: "Once Daily",
|
|
219
|
-
* asNeeded: true
|
|
220
|
-
* },
|
|
221
|
-
* labs: [{
|
|
222
|
-
* name: "Genetic Health Labs",
|
|
223
|
-
* code: "GH12345",
|
|
224
|
-
* codeType: CandidApi.encounters.v4.LabCodeType.Quest
|
|
225
|
-
* }]
|
|
226
|
-
* }],
|
|
227
|
-
* payToAddress: {
|
|
228
|
-
* address1: "123 Main St",
|
|
229
|
-
* address2: "Apt 1",
|
|
230
|
-
* city: "New York",
|
|
231
|
-
* state: CandidApi.State.Ny,
|
|
232
|
-
* zipCode: "10001",
|
|
233
|
-
* zipPlusFourCode: "1234"
|
|
234
|
-
* },
|
|
235
|
-
* synchronicity: CandidApi.encounters.v4.SynchronicityType.Synchronous,
|
|
236
|
-
* billableStatus: CandidApi.encounters.v4.BillableStatusType.Billable,
|
|
237
|
-
* additionalInformation: "string",
|
|
238
|
-
* serviceAuthorizationExceptionCode: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode.C1,
|
|
239
|
-
* admissionDate: "2023-01-15",
|
|
240
|
-
* dischargeDate: "2023-01-15",
|
|
241
|
-
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
242
|
-
* lastMenstrualPeriodDate: "2023-01-15",
|
|
243
|
-
* delayReasonCode: CandidApi.DelayReasonCode.C1
|
|
244
|
-
* }
|
|
245
|
-
*/
|
|
246
|
-
export interface EncounterCreateFromPreEncounter extends CandidApi.encounters.v4.EncounterBase {
|
|
247
|
-
preEncounterPatientId: CandidApi.PreEncounterPatientId;
|
|
248
|
-
preEncounterAppointmentIds: CandidApi.PreEncounterAppointmentId[];
|
|
249
|
-
/**
|
|
250
|
-
* The billing provider is the provider or business entity submitting the claim. Billing provider may be, but is not necessarily, the same person/NPI as the rendering provider. From a payer's perspective, this represents the person or entity being reimbursed. When a contract exists with the target payer, the billing provider should be the entity contracted with the payer. In some circumstances, this will be an individual provider. In that case, submit that provider's NPI and the tax ID (TIN) that the provider gave to the payer during contracting. In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID. Box 33 on the CMS-1500 claim form.
|
|
251
|
-
*
|
|
252
|
-
*/
|
|
253
|
-
billingProvider: CandidApi.encounterProviders.v2.BillingProvider;
|
|
254
|
-
/**
|
|
255
|
-
* The rendering provider is the practitioner -- physician, nurse practitioner, etc. -- performing the service.
|
|
256
|
-
* For telehealth services, the rendering provider performs the visit, asynchronous communication, or other service. The rendering provider address should generally be the same as the service facility address.
|
|
257
|
-
*
|
|
258
|
-
*/
|
|
259
|
-
renderingProvider: CandidApi.encounterProviders.v2.RenderingProvider;
|
|
260
|
-
/**
|
|
261
|
-
* The second iteration of Loop ID-2310. Use code "P3 - Primary Care Provider" in this loop to
|
|
262
|
-
* indicate the initial referral from the primary care provider or whatever provider wrote the initial referral for this patient's episode of care being billed/reported in this transaction.
|
|
263
|
-
*
|
|
264
|
-
*/
|
|
265
|
-
initialReferringProvider?: CandidApi.encounterProviders.v2.InitialReferringProvider;
|
|
266
|
-
/**
|
|
267
|
-
* Required when the rendering provider is supervised by a physician. If not required by this implementation guide, do not send.
|
|
268
|
-
*
|
|
269
|
-
*/
|
|
270
|
-
supervisingProvider?: CandidApi.encounterProviders.v2.SupervisingProvider;
|
|
271
|
-
/**
|
|
272
|
-
* Encounter Service facility is typically the location a medical service was rendered, such as a provider office or hospital. For telehealth, service facility can represent the provider's location when the service was delivered (e.g., home), or the location where an in-person visit would have taken place, whichever is easier to identify. If the provider is in-network, service facility may be defined in payer contracts. Box 32 on the CMS-1500 claim form. Note that for an in-network claim to be successfully adjudicated, the service facility address listed on claims must match what was provided to the payer during the credentialing process.
|
|
273
|
-
*
|
|
274
|
-
*/
|
|
275
|
-
serviceFacility?: CandidApi.EncounterServiceFacilityBase;
|
|
276
|
-
/**
|
|
277
|
-
* Ideally, this field should contain no more than 12 diagnoses. However, more diagnoses
|
|
278
|
-
* may be submitted at this time, and coders will later prioritize the 12 that will be
|
|
279
|
-
* submitted to the payor.
|
|
280
|
-
*
|
|
281
|
-
*/
|
|
282
|
-
diagnoses: CandidApi.DiagnosisCreate[];
|
|
283
|
-
/** Holds a collection of clinical observations made by healthcare providers during patient encounters. */
|
|
284
|
-
clinicalNotes?: CandidApi.encounters.v4.ClinicalNoteCategoryCreate[];
|
|
285
|
-
/**
|
|
286
|
-
* Spot to store misc, human-readable, notes about this encounter to be used
|
|
287
|
-
* in the billing process.
|
|
288
|
-
*
|
|
289
|
-
*/
|
|
290
|
-
billingNotes?: CandidApi.billingNotes.v2.BillingNoteBase[];
|
|
291
|
-
/**
|
|
292
|
-
* Box 24B on the CMS-1500 claim form. 837p Loop2300, CLM-05-1. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms .gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set).
|
|
293
|
-
*
|
|
294
|
-
*/
|
|
295
|
-
placeOfServiceCode: CandidApi.FacilityTypeCode;
|
|
296
|
-
patientHistories?: CandidApi.encounters.v4.PatientHistoryCategory[];
|
|
297
|
-
/**
|
|
298
|
-
* Each service line must be linked to a diagnosis. Concretely,
|
|
299
|
-
* `service_line.diagnosis_pointers`must contain at least one entry which should be
|
|
300
|
-
* in bounds of the diagnoses list field.
|
|
301
|
-
*
|
|
302
|
-
*/
|
|
303
|
-
serviceLines?: CandidApi.serviceLines.v2.ServiceLineCreate[];
|
|
304
|
-
/**
|
|
305
|
-
* ***This field is in beta.***
|
|
306
|
-
* To be included for claims that have been submitted outside of Candid.
|
|
307
|
-
* Candid supports posting remits and payments to these claims and working them in-platform (e.g. editing, resubmitting).
|
|
308
|
-
*
|
|
309
|
-
*/
|
|
310
|
-
externalClaimSubmission?: CandidApi.claimSubmission.v1.ExternalClaimSubmissionCreate;
|
|
311
|
-
/** Names of tags that should be on the encounter. */
|
|
312
|
-
tagIds?: CandidApi.TagId[];
|
|
313
|
-
/**
|
|
314
|
-
* Key-value pairs that must adhere to a schema created via the Custom Schema API. Multiple schema
|
|
315
|
-
* instances cannot be created for the same schema on an encounter.
|
|
316
|
-
*
|
|
317
|
-
*/
|
|
318
|
-
schemaInstances?: CandidApi.customSchemas.v1.SchemaInstance[];
|
|
319
|
-
}
|
|
@@ -1,319 +0,0 @@
|
|
|
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
|
-
* preEncounterPatientId: CandidApi.PreEncounterPatientId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
9
|
-
* preEncounterAppointmentIds: [CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
10
|
-
* billingProvider: {
|
|
11
|
-
* address: {
|
|
12
|
-
* address1: "123 Main St",
|
|
13
|
-
* address2: "Apt 1",
|
|
14
|
-
* city: "New York",
|
|
15
|
-
* state: CandidApi.State.Ny,
|
|
16
|
-
* zipCode: "10001",
|
|
17
|
-
* zipPlusFourCode: "1234"
|
|
18
|
-
* },
|
|
19
|
-
* taxId: "string",
|
|
20
|
-
* npi: "string",
|
|
21
|
-
* taxonomyCode: "string",
|
|
22
|
-
* providerCommercialLicenseType: CandidApi.BillingProviderCommercialLicenseType.LicensedClinicalSocialWorker,
|
|
23
|
-
* firstName: "string",
|
|
24
|
-
* lastName: "string",
|
|
25
|
-
* organizationName: "string"
|
|
26
|
-
* },
|
|
27
|
-
* renderingProvider: {
|
|
28
|
-
* npi: "string",
|
|
29
|
-
* taxonomyCode: "string",
|
|
30
|
-
* address: {
|
|
31
|
-
* address1: "123 Main St",
|
|
32
|
-
* address2: "Apt 1",
|
|
33
|
-
* city: "New York",
|
|
34
|
-
* state: CandidApi.State.Ny,
|
|
35
|
-
* zipCode: "10001",
|
|
36
|
-
* zipPlusFourCode: "1234"
|
|
37
|
-
* },
|
|
38
|
-
* firstName: "string",
|
|
39
|
-
* lastName: "string",
|
|
40
|
-
* organizationName: "string"
|
|
41
|
-
* },
|
|
42
|
-
* initialReferringProvider: {
|
|
43
|
-
* npi: "string",
|
|
44
|
-
* taxonomyCode: "string",
|
|
45
|
-
* address: {
|
|
46
|
-
* address1: "123 Main St",
|
|
47
|
-
* address2: "Apt 1",
|
|
48
|
-
* city: "New York",
|
|
49
|
-
* state: CandidApi.State.Ny,
|
|
50
|
-
* zipCode: "10001",
|
|
51
|
-
* zipPlusFourCode: "1234"
|
|
52
|
-
* },
|
|
53
|
-
* qualifier: CandidApi.QualifierCode.Dq,
|
|
54
|
-
* firstName: "string",
|
|
55
|
-
* lastName: "string",
|
|
56
|
-
* organizationName: "string"
|
|
57
|
-
* },
|
|
58
|
-
* supervisingProvider: {
|
|
59
|
-
* npi: "string",
|
|
60
|
-
* taxonomyCode: "string",
|
|
61
|
-
* address: {
|
|
62
|
-
* address1: "123 Main St",
|
|
63
|
-
* address2: "Apt 1",
|
|
64
|
-
* city: "New York",
|
|
65
|
-
* state: CandidApi.State.Ny,
|
|
66
|
-
* zipCode: "10001",
|
|
67
|
-
* zipPlusFourCode: "1234"
|
|
68
|
-
* },
|
|
69
|
-
* firstName: "string",
|
|
70
|
-
* lastName: "string",
|
|
71
|
-
* organizationName: "string"
|
|
72
|
-
* },
|
|
73
|
-
* serviceFacility: {
|
|
74
|
-
* organizationName: "string",
|
|
75
|
-
* npi: "string",
|
|
76
|
-
* address: {
|
|
77
|
-
* address1: "123 Main St",
|
|
78
|
-
* address2: "Apt 1",
|
|
79
|
-
* city: "New York",
|
|
80
|
-
* state: CandidApi.State.Ny,
|
|
81
|
-
* zipCode: "10001",
|
|
82
|
-
* zipPlusFourCode: "1234"
|
|
83
|
-
* },
|
|
84
|
-
* secondaryIdentification: "string"
|
|
85
|
-
* },
|
|
86
|
-
* diagnoses: [{
|
|
87
|
-
* name: "string",
|
|
88
|
-
* codeType: CandidApi.DiagnosisTypeCode.Abf,
|
|
89
|
-
* code: "string"
|
|
90
|
-
* }],
|
|
91
|
-
* clinicalNotes: [{
|
|
92
|
-
* category: CandidApi.encounters.v4.NoteCategory.Clinical,
|
|
93
|
-
* notes: [{
|
|
94
|
-
* text: "string",
|
|
95
|
-
* authorName: "string",
|
|
96
|
-
* authorNpi: CandidApi.Npi("string"),
|
|
97
|
-
* timestamp: new Date("2024-01-15T09:30:00.000Z")
|
|
98
|
-
* }]
|
|
99
|
-
* }],
|
|
100
|
-
* billingNotes: [{
|
|
101
|
-
* text: "string"
|
|
102
|
-
* }],
|
|
103
|
-
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
104
|
-
* patientHistories: [{
|
|
105
|
-
* category: CandidApi.encounters.v4.PatientHistoryCategoryEnum.PresentIllness,
|
|
106
|
-
* questions: [{
|
|
107
|
-
* id: CandidApi.encounters.v4.IntakeQuestionId("6E7FBCE4-A8EA-46D0-A8D8-FF83CA3BB176"),
|
|
108
|
-
* text: "Do you have any allergies?",
|
|
109
|
-
* responses: [{
|
|
110
|
-
* response: "No allergies",
|
|
111
|
-
* followUps: [{
|
|
112
|
-
* id: CandidApi.encounters.v4.IntakeFollowUpId("4F3D57F9-AC94-49D6-87E4-E804B709917A"),
|
|
113
|
-
* text: "Do you have any allergies?",
|
|
114
|
-
* response: "No allergies"
|
|
115
|
-
* }]
|
|
116
|
-
* }]
|
|
117
|
-
* }]
|
|
118
|
-
* }],
|
|
119
|
-
* serviceLines: [{
|
|
120
|
-
* modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
|
|
121
|
-
* procedureCode: "string",
|
|
122
|
-
* quantity: CandidApi.Decimal("string"),
|
|
123
|
-
* units: CandidApi.ServiceLineUnits.Mj,
|
|
124
|
-
* chargeAmountCents: 1,
|
|
125
|
-
* diagnosisPointers: [1],
|
|
126
|
-
* drugIdentification: {
|
|
127
|
-
* serviceIdQualifier: CandidApi.serviceLines.v2.ServiceIdQualifier.EanUcc13,
|
|
128
|
-
* nationalDrugCode: "string",
|
|
129
|
-
* nationalDrugUnitCount: "string",
|
|
130
|
-
* measurementUnitCode: CandidApi.serviceLines.v2.MeasurementUnitCode.Milliliters,
|
|
131
|
-
* linkSequenceNumber: "string",
|
|
132
|
-
* pharmacyPrescriptionNumber: "string",
|
|
133
|
-
* conversionFormula: "string",
|
|
134
|
-
* drugDescription: "string"
|
|
135
|
-
* },
|
|
136
|
-
* placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
137
|
-
* description: "string",
|
|
138
|
-
* dateOfService: "2023-01-15",
|
|
139
|
-
* endDateOfService: "2023-01-15",
|
|
140
|
-
* orderingProvider: {
|
|
141
|
-
* npi: "string",
|
|
142
|
-
* taxonomyCode: "string",
|
|
143
|
-
* address: {
|
|
144
|
-
* address1: "123 Main St",
|
|
145
|
-
* address2: "Apt 1",
|
|
146
|
-
* city: "New York",
|
|
147
|
-
* state: CandidApi.State.Ny,
|
|
148
|
-
* zipCode: "10001",
|
|
149
|
-
* zipPlusFourCode: "1234"
|
|
150
|
-
* },
|
|
151
|
-
* firstName: "string",
|
|
152
|
-
* lastName: "string",
|
|
153
|
-
* organizationName: "string"
|
|
154
|
-
* },
|
|
155
|
-
* testResults: [{
|
|
156
|
-
* value: 1.1,
|
|
157
|
-
* resultType: CandidApi.serviceLines.v2.TestResultType.Hematocrit
|
|
158
|
-
* }]
|
|
159
|
-
* }],
|
|
160
|
-
* externalClaimSubmission: {
|
|
161
|
-
* claimCreatedAt: new Date("2023-01-01T12:00:00.000Z"),
|
|
162
|
-
* patientControlNumber: "PATIENT_CONTROL_NUMBER",
|
|
163
|
-
* submissionRecords: [{
|
|
164
|
-
* submittedAt: new Date("2023-01-01T13:00:00.000Z"),
|
|
165
|
-
* claimFrequencyCode: CandidApi.claimSubmission.v1.ClaimFrequencyTypeCode.Original,
|
|
166
|
-
* payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType.Primary,
|
|
167
|
-
* intendedSubmissionMedium: CandidApi.IntendedSubmissionMedium.Electronic
|
|
168
|
-
* }, {
|
|
169
|
-
* submittedAt: new Date("2023-01-04T12:00:00.000Z"),
|
|
170
|
-
* claimFrequencyCode: CandidApi.claimSubmission.v1.ClaimFrequencyTypeCode.Replacement,
|
|
171
|
-
* payerResponsibility: CandidApi.ClaimSubmissionPayerResponsibilityType.Primary,
|
|
172
|
-
* intendedSubmissionMedium: CandidApi.IntendedSubmissionMedium.Paper
|
|
173
|
-
* }]
|
|
174
|
-
* },
|
|
175
|
-
* tagIds: [CandidApi.TagId("string")],
|
|
176
|
-
* schemaInstances: [{
|
|
177
|
-
* schemaId: CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"),
|
|
178
|
-
* content: {
|
|
179
|
-
* "provider_category": "internist",
|
|
180
|
-
* "is_urgent_care": true,
|
|
181
|
-
* "bmi": 24.2,
|
|
182
|
-
* "age": 38
|
|
183
|
-
* }
|
|
184
|
-
* }],
|
|
185
|
-
* externalId: CandidApi.EncounterExternalId("string"),
|
|
186
|
-
* dateOfService: "2023-01-15",
|
|
187
|
-
* endDateOfService: "2023-01-15",
|
|
188
|
-
* patientAuthorizedRelease: true,
|
|
189
|
-
* benefitsAssignedToProvider: true,
|
|
190
|
-
* providerAcceptsAssignment: true,
|
|
191
|
-
* appointmentType: "string",
|
|
192
|
-
* existingMedications: [{
|
|
193
|
-
* name: "Lisinopril",
|
|
194
|
-
* rxCui: CandidApi.encounters.v4.RxCui("860975"),
|
|
195
|
-
* dosage: "10mg",
|
|
196
|
-
* dosageForm: "Tablet",
|
|
197
|
-
* frequency: "Once Daily",
|
|
198
|
-
* asNeeded: true
|
|
199
|
-
* }],
|
|
200
|
-
* vitals: {
|
|
201
|
-
* heightIn: 70,
|
|
202
|
-
* weightLbs: 165,
|
|
203
|
-
* bloodPressureSystolicMmhg: 115,
|
|
204
|
-
* bloodPressureDiastolicMmhg: 85,
|
|
205
|
-
* bodyTemperatureF: 98,
|
|
206
|
-
* hemoglobinGdl: 15.1,
|
|
207
|
-
* hematocritPct: 51.2
|
|
208
|
-
* },
|
|
209
|
-
* interventions: [{
|
|
210
|
-
* name: "Physical Therapy Session",
|
|
211
|
-
* category: CandidApi.encounters.v4.InterventionCategory.Lifestyle,
|
|
212
|
-
* description: "A session focused on improving muscular strength, flexibility, and range of motion post-injury.",
|
|
213
|
-
* medication: {
|
|
214
|
-
* name: "Lisinopril",
|
|
215
|
-
* rxCui: CandidApi.encounters.v4.RxCui("860975"),
|
|
216
|
-
* dosage: "10mg",
|
|
217
|
-
* dosageForm: "Tablet",
|
|
218
|
-
* frequency: "Once Daily",
|
|
219
|
-
* asNeeded: true
|
|
220
|
-
* },
|
|
221
|
-
* labs: [{
|
|
222
|
-
* name: "Genetic Health Labs",
|
|
223
|
-
* code: "GH12345",
|
|
224
|
-
* codeType: CandidApi.encounters.v4.LabCodeType.Quest
|
|
225
|
-
* }]
|
|
226
|
-
* }],
|
|
227
|
-
* payToAddress: {
|
|
228
|
-
* address1: "123 Main St",
|
|
229
|
-
* address2: "Apt 1",
|
|
230
|
-
* city: "New York",
|
|
231
|
-
* state: CandidApi.State.Ny,
|
|
232
|
-
* zipCode: "10001",
|
|
233
|
-
* zipPlusFourCode: "1234"
|
|
234
|
-
* },
|
|
235
|
-
* synchronicity: CandidApi.encounters.v4.SynchronicityType.Synchronous,
|
|
236
|
-
* billableStatus: CandidApi.encounters.v4.BillableStatusType.Billable,
|
|
237
|
-
* additionalInformation: "string",
|
|
238
|
-
* serviceAuthorizationExceptionCode: CandidApi.encounters.v4.ServiceAuthorizationExceptionCode.C1,
|
|
239
|
-
* admissionDate: "2023-01-15",
|
|
240
|
-
* dischargeDate: "2023-01-15",
|
|
241
|
-
* onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
|
|
242
|
-
* lastMenstrualPeriodDate: "2023-01-15",
|
|
243
|
-
* delayReasonCode: CandidApi.DelayReasonCode.C1
|
|
244
|
-
* }
|
|
245
|
-
*/
|
|
246
|
-
export interface EncounterCreateFromPreEncounter extends CandidApi.encounters.v4.EncounterBase {
|
|
247
|
-
preEncounterPatientId: CandidApi.PreEncounterPatientId;
|
|
248
|
-
preEncounterAppointmentIds: CandidApi.PreEncounterAppointmentId[];
|
|
249
|
-
/**
|
|
250
|
-
* The billing provider is the provider or business entity submitting the claim. Billing provider may be, but is not necessarily, the same person/NPI as the rendering provider. From a payer's perspective, this represents the person or entity being reimbursed. When a contract exists with the target payer, the billing provider should be the entity contracted with the payer. In some circumstances, this will be an individual provider. In that case, submit that provider's NPI and the tax ID (TIN) that the provider gave to the payer during contracting. In other cases, the billing entity will be a medical group. If so, submit the group NPI and the group's tax ID. Box 33 on the CMS-1500 claim form.
|
|
251
|
-
*
|
|
252
|
-
*/
|
|
253
|
-
billingProvider: CandidApi.encounterProviders.v2.BillingProvider;
|
|
254
|
-
/**
|
|
255
|
-
* The rendering provider is the practitioner -- physician, nurse practitioner, etc. -- performing the service.
|
|
256
|
-
* For telehealth services, the rendering provider performs the visit, asynchronous communication, or other service. The rendering provider address should generally be the same as the service facility address.
|
|
257
|
-
*
|
|
258
|
-
*/
|
|
259
|
-
renderingProvider: CandidApi.encounterProviders.v2.RenderingProvider;
|
|
260
|
-
/**
|
|
261
|
-
* The second iteration of Loop ID-2310. Use code "P3 - Primary Care Provider" in this loop to
|
|
262
|
-
* indicate the initial referral from the primary care provider or whatever provider wrote the initial referral for this patient's episode of care being billed/reported in this transaction.
|
|
263
|
-
*
|
|
264
|
-
*/
|
|
265
|
-
initialReferringProvider?: CandidApi.encounterProviders.v2.InitialReferringProvider;
|
|
266
|
-
/**
|
|
267
|
-
* Required when the rendering provider is supervised by a physician. If not required by this implementation guide, do not send.
|
|
268
|
-
*
|
|
269
|
-
*/
|
|
270
|
-
supervisingProvider?: CandidApi.encounterProviders.v2.SupervisingProvider;
|
|
271
|
-
/**
|
|
272
|
-
* Encounter Service facility is typically the location a medical service was rendered, such as a provider office or hospital. For telehealth, service facility can represent the provider's location when the service was delivered (e.g., home), or the location where an in-person visit would have taken place, whichever is easier to identify. If the provider is in-network, service facility may be defined in payer contracts. Box 32 on the CMS-1500 claim form. Note that for an in-network claim to be successfully adjudicated, the service facility address listed on claims must match what was provided to the payer during the credentialing process.
|
|
273
|
-
*
|
|
274
|
-
*/
|
|
275
|
-
serviceFacility?: CandidApi.EncounterServiceFacilityBase;
|
|
276
|
-
/**
|
|
277
|
-
* Ideally, this field should contain no more than 12 diagnoses. However, more diagnoses
|
|
278
|
-
* may be submitted at this time, and coders will later prioritize the 12 that will be
|
|
279
|
-
* submitted to the payor.
|
|
280
|
-
*
|
|
281
|
-
*/
|
|
282
|
-
diagnoses: CandidApi.DiagnosisCreate[];
|
|
283
|
-
/** Holds a collection of clinical observations made by healthcare providers during patient encounters. */
|
|
284
|
-
clinicalNotes?: CandidApi.encounters.v4.ClinicalNoteCategoryCreate[];
|
|
285
|
-
/**
|
|
286
|
-
* Spot to store misc, human-readable, notes about this encounter to be used
|
|
287
|
-
* in the billing process.
|
|
288
|
-
*
|
|
289
|
-
*/
|
|
290
|
-
billingNotes?: CandidApi.billingNotes.v2.BillingNoteBase[];
|
|
291
|
-
/**
|
|
292
|
-
* Box 24B on the CMS-1500 claim form. 837p Loop2300, CLM-05-1. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms .gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set).
|
|
293
|
-
*
|
|
294
|
-
*/
|
|
295
|
-
placeOfServiceCode: CandidApi.FacilityTypeCode;
|
|
296
|
-
patientHistories?: CandidApi.encounters.v4.PatientHistoryCategory[];
|
|
297
|
-
/**
|
|
298
|
-
* Each service line must be linked to a diagnosis. Concretely,
|
|
299
|
-
* `service_line.diagnosis_pointers`must contain at least one entry which should be
|
|
300
|
-
* in bounds of the diagnoses list field.
|
|
301
|
-
*
|
|
302
|
-
*/
|
|
303
|
-
serviceLines?: CandidApi.serviceLines.v2.ServiceLineCreate[];
|
|
304
|
-
/**
|
|
305
|
-
* ***This field is in beta.***
|
|
306
|
-
* To be included for claims that have been submitted outside of Candid.
|
|
307
|
-
* Candid supports posting remits and payments to these claims and working them in-platform (e.g. editing, resubmitting).
|
|
308
|
-
*
|
|
309
|
-
*/
|
|
310
|
-
externalClaimSubmission?: CandidApi.claimSubmission.v1.ExternalClaimSubmissionCreate;
|
|
311
|
-
/** Names of tags that should be on the encounter. */
|
|
312
|
-
tagIds?: CandidApi.TagId[];
|
|
313
|
-
/**
|
|
314
|
-
* Key-value pairs that must adhere to a schema created via the Custom Schema API. Multiple schema
|
|
315
|
-
* instances cannot be created for the same schema on an encounter.
|
|
316
|
-
*
|
|
317
|
-
*/
|
|
318
|
-
schemaInstances?: CandidApi.customSchemas.v1.SchemaInstance[];
|
|
319
|
-
}
|