@arbol-ai/sdk 4.0.0 → 5.0.0
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/README.md +15 -3
- package/dist/agenda/appointments/client.d.ts +165 -52
- package/dist/agenda/appointments/client.js +19 -11
- package/dist/agenda/appointments/index.d.ts +1 -1
- package/dist/agenda/availability/client.d.ts +11 -72
- package/dist/agenda/availability/client.js +5 -14
- package/dist/agenda/availability/index.d.ts +1 -1
- package/dist/agenda/bookingLocations/client.d.ts +51 -0
- package/dist/agenda/bookingLocations/client.js +19 -0
- package/dist/agenda/bookingLocations/index.d.ts +4 -0
- package/dist/agenda/bookingLocations/index.js +4 -0
- package/dist/agenda/bookingOfferings/client.d.ts +82 -0
- package/dist/agenda/bookingOfferings/client.js +18 -0
- package/dist/agenda/bookingOfferings/index.d.ts +5 -0
- package/dist/agenda/bookingOfferings/index.js +4 -0
- package/dist/agenda/bookingOfferings/models.d.ts +92 -0
- package/dist/agenda/bookingOfferings/models.js +3 -0
- package/dist/agenda/bookingRequirements/client.d.ts +118 -0
- package/dist/agenda/bookingRequirements/client.js +18 -0
- package/dist/agenda/bookingRequirements/index.d.ts +4 -0
- package/dist/agenda/bookingRequirements/index.js +4 -0
- package/dist/agenda/bookingSlots/client.d.ts +78 -0
- package/dist/agenda/bookingSlots/client.js +19 -0
- package/dist/agenda/bookingSlots/index.d.ts +4 -0
- package/dist/agenda/bookingSlots/index.js +4 -0
- package/dist/agenda/bookings/client.d.ts +44 -375
- package/dist/agenda/bookings/client.js +10 -52
- package/dist/agenda/bookings/index.d.ts +2 -2
- package/dist/agenda/bookings/models.d.ts +0 -92
- package/dist/agenda/client.d.ts +14 -0
- package/dist/agenda/client.js +35 -0
- package/dist/agenda/firstAvailability/client.d.ts +74 -0
- package/dist/agenda/firstAvailability/client.js +19 -0
- package/dist/agenda/firstAvailability/index.d.ts +5 -0
- package/dist/agenda/firstAvailability/index.js +4 -0
- package/dist/agenda/firstAvailability/models.d.ts +31 -0
- package/dist/agenda/firstAvailability/models.js +7 -0
- package/dist/agenda/index.d.ts +1 -1
- package/dist/agenda/models.d.ts +19 -94
- package/dist/agenda/models.js +0 -3
- package/dist/agenda/nearestBookingSlots/client.d.ts +93 -0
- package/dist/agenda/nearestBookingSlots/client.js +19 -0
- package/dist/agenda/nearestBookingSlots/index.d.ts +5 -0
- package/dist/agenda/nearestBookingSlots/index.js +4 -0
- package/dist/agenda/nearestBookingSlots/models.d.ts +38 -0
- package/dist/agenda/nearestBookingSlots/models.js +7 -0
- package/dist/agenda/offerings/client.d.ts +2 -2
- package/dist/agenda/offerings/client.js +1 -1
- package/dist/agenda/resourceSchedules/client.d.ts +75 -0
- package/dist/agenda/resourceSchedules/client.js +19 -0
- package/dist/agenda/resourceSchedules/index.d.ts +4 -0
- package/dist/agenda/resourceSchedules/index.js +4 -0
- package/dist/agenda/resources/client.d.ts +2 -2
- package/dist/agenda/resources/client.js +1 -1
- package/dist/agenda/scheduleRules/client.d.ts +125 -85
- package/dist/agenda/scheduleRules/client.js +17 -16
- package/dist/agenda/scheduleRules/index.d.ts +2 -1
- package/dist/agenda/scheduleRules/models.d.ts +33 -0
- package/dist/agenda/scheduleRules/models.js +6 -0
- package/dist/agenda/services/client.d.ts +2 -2
- package/dist/agenda/services/client.js +1 -1
- package/dist/agenda/waitlist/client.d.ts +40 -29
- package/dist/agenda/waitlist/client.js +4 -4
- package/dist/agenda/waitlist/index.d.ts +1 -1
- package/dist/agenda/waitlist/models.d.ts +17 -0
- package/dist/agenda/waitlist/models.js +4 -1
- package/dist/axxa/authorizations/client.d.ts +3 -35
- package/dist/axxa/authorizations/client.js +1 -1
- package/dist/axxa/authorizations/index.d.ts +1 -0
- package/dist/axxa/authorizations/models.d.ts +112 -0
- package/dist/axxa/authorizations/models.js +3 -0
- package/dist/axxa/connections/client.d.ts +19 -45
- package/dist/axxa/connections/client.js +10 -11
- package/dist/axxa/connections/index.d.ts +1 -0
- package/dist/axxa/connections/models.d.ts +269 -0
- package/dist/axxa/connections/models.js +3 -0
- package/dist/axxa/eligibility/client.d.ts +3 -25
- package/dist/axxa/eligibility/client.js +1 -1
- package/dist/axxa/eligibility/index.d.ts +1 -0
- package/dist/axxa/eligibility/models.d.ts +102 -0
- package/dist/axxa/eligibility/models.js +3 -0
- package/dist/axxa/index.d.ts +1 -1
- package/dist/axxa/models.d.ts +243 -168
- package/dist/axxa/provider/client.d.ts +5 -11
- package/dist/axxa/provider/client.js +1 -1
- package/dist/axxa/provider/index.d.ts +1 -0
- package/dist/axxa/provider/models.d.ts +87 -0
- package/dist/axxa/provider/models.js +3 -0
- package/dist/gmedic/agendaServices/client.d.ts +13 -9
- package/dist/gmedic/agendaServices/client.js +2 -2
- package/dist/gmedic/agendaServices/index.d.ts +1 -1
- package/dist/gmedic/agendaServices/models.d.ts +53 -1
- package/dist/gmedic/agendas/client.d.ts +16 -9
- package/dist/gmedic/agendas/client.js +2 -2
- package/dist/gmedic/agendas/index.d.ts +1 -1
- package/dist/gmedic/agendas/models.d.ts +53 -1
- package/dist/gmedic/appointments/client.d.ts +34 -241
- package/dist/gmedic/appointments/client.js +12 -10
- package/dist/gmedic/appointments/index.d.ts +1 -1
- package/dist/gmedic/appointments/models.d.ts +518 -1
- package/dist/gmedic/appointments/models.js +28 -2
- package/dist/gmedic/availability/client.d.ts +24 -10
- package/dist/gmedic/availability/client.js +4 -3
- package/dist/gmedic/availability/index.d.ts +1 -1
- package/dist/gmedic/availability/models.d.ts +57 -1
- package/dist/gmedic/availability/models.js +7 -1
- package/dist/gmedic/availableDays/client.d.ts +11 -8
- package/dist/gmedic/availableDays/client.js +1 -1
- package/dist/gmedic/availableDays/index.d.ts +1 -1
- package/dist/gmedic/availableDays/models.d.ts +53 -1
- package/dist/gmedic/branchOffices/client.d.ts +13 -9
- package/dist/gmedic/branchOffices/client.js +2 -2
- package/dist/gmedic/branchOffices/index.d.ts +1 -1
- package/dist/gmedic/branchOffices/models.d.ts +58 -1
- package/dist/gmedic/connections/client.d.ts +19 -42
- package/dist/gmedic/connections/client.js +10 -11
- package/dist/gmedic/connections/index.d.ts +1 -0
- package/dist/gmedic/connections/models.d.ts +162 -0
- package/dist/gmedic/connections/models.js +3 -0
- package/dist/gmedic/dictionaryEntries/client.d.ts +20 -10
- package/dist/gmedic/dictionaryEntries/client.js +2 -2
- package/dist/gmedic/dictionaryEntries/index.d.ts +1 -1
- package/dist/gmedic/dictionaryEntries/models.d.ts +53 -1
- package/dist/gmedic/healthPartners/client.d.ts +19 -9
- package/dist/gmedic/healthPartners/client.js +2 -2
- package/dist/gmedic/healthPartners/index.d.ts +1 -1
- package/dist/gmedic/healthPartners/models.d.ts +53 -1
- package/dist/gmedic/healthPromotionEntities/client.d.ts +20 -10
- package/dist/gmedic/healthPromotionEntities/client.js +2 -2
- package/dist/gmedic/healthPromotionEntities/index.d.ts +1 -1
- package/dist/gmedic/healthPromotionEntities/models.d.ts +53 -1
- package/dist/gmedic/index.d.ts +1 -1
- package/dist/gmedic/laboralRiskManagers/client.d.ts +20 -10
- package/dist/gmedic/laboralRiskManagers/client.js +2 -2
- package/dist/gmedic/laboralRiskManagers/index.d.ts +1 -1
- package/dist/gmedic/laboralRiskManagers/models.d.ts +53 -1
- package/dist/gmedic/models.d.ts +194 -133
- package/dist/gmedic/occupations/client.d.ts +19 -9
- package/dist/gmedic/occupations/client.js +2 -2
- package/dist/gmedic/occupations/index.d.ts +1 -1
- package/dist/gmedic/occupations/models.d.ts +53 -1
- package/dist/gmedic/patientNotes/client.d.ts +25 -55
- package/dist/gmedic/patientNotes/client.js +5 -5
- package/dist/gmedic/patientNotes/index.d.ts +1 -1
- package/dist/gmedic/patientNotes/models.d.ts +232 -1
- package/dist/gmedic/patients/client.d.ts +40 -359
- package/dist/gmedic/patients/client.js +13 -5
- package/dist/gmedic/patients/index.d.ts +2 -2
- package/dist/gmedic/patients/models.d.ts +795 -1
- package/dist/gmedic/services/client.d.ts +22 -16
- package/dist/gmedic/services/client.js +2 -2
- package/dist/gmedic/services/index.d.ts +1 -1
- package/dist/gmedic/services/models.d.ts +53 -3
- package/dist/gmedic/sessionPackages/client.d.ts +21 -58
- package/dist/gmedic/sessionPackages/client.js +5 -5
- package/dist/gmedic/sessionPackages/index.d.ts +1 -1
- package/dist/gmedic/sessionPackages/models.d.ts +183 -1
- package/dist/index.d.ts +1 -1
- package/dist/models.d.ts +61 -0
- package/dist/models.js +6 -0
- package/dist/nuevaEps/affiliations/client.js +1 -1
- package/dist/nuevaEps/affiliations/models.d.ts +3 -1
- package/dist/nuevaEps/connections/client.d.ts +9 -9
- package/dist/nuevaEps/connections/client.js +9 -9
- package/dist/nuevaEps/connections/index.d.ts +1 -1
- package/dist/nuevaEps/connections/models.d.ts +1 -47
- package/dist/nuevaEps/connections/models.js +1 -8
- package/dist/sura/affiliations/client.d.ts +3 -35
- package/dist/sura/affiliations/client.js +6 -6
- package/dist/sura/affiliations/index.d.ts +1 -0
- package/dist/sura/affiliations/models.d.ts +71 -0
- package/dist/sura/affiliations/models.js +8 -0
- package/dist/sura/appointments/client.d.ts +27 -327
- package/dist/sura/appointments/client.js +15 -21
- package/dist/sura/appointments/index.d.ts +2 -1
- package/dist/sura/appointments/models.d.ts +310 -0
- package/dist/sura/appointments/models.js +22 -0
- package/dist/sura/authorizations/client.d.ts +3 -43
- package/dist/sura/authorizations/client.js +6 -6
- package/dist/sura/authorizations/index.d.ts +1 -0
- package/dist/sura/authorizations/models.d.ts +79 -0
- package/dist/sura/authorizations/models.js +8 -0
- package/dist/sura/availability/client.d.ts +4 -68
- package/dist/sura/availability/client.js +9 -9
- package/dist/sura/availability/index.d.ts +2 -1
- package/dist/sura/availability/models.d.ts +103 -0
- package/dist/sura/availability/models.js +8 -0
- package/dist/sura/bookingOptions/client.d.ts +35 -0
- package/dist/sura/bookingOptions/client.js +19 -0
- package/dist/sura/bookingOptions/index.d.ts +5 -0
- package/dist/sura/bookingOptions/index.js +4 -0
- package/dist/sura/bookingOptions/models.d.ts +143 -0
- package/dist/sura/bookingOptions/models.js +8 -0
- package/dist/sura/client.d.ts +2 -0
- package/dist/sura/client.js +5 -0
- package/dist/sura/connections/client.d.ts +20 -98
- package/dist/sura/connections/client.js +10 -10
- package/dist/sura/connections/index.d.ts +1 -1
- package/dist/sura/connections/models.d.ts +102 -1
- package/dist/sura/connections/models.js +6 -0
- package/dist/sura/copays/client.d.ts +4 -40
- package/dist/sura/copays/client.js +9 -9
- package/dist/sura/copays/index.d.ts +2 -1
- package/dist/sura/copays/models.d.ts +75 -0
- package/dist/sura/copays/models.js +8 -0
- package/dist/sura/index.d.ts +1 -1
- package/dist/sura/models.d.ts +204 -148
- package/dist/sura/models.js +20 -1
- package/dist/sura/operations/client.d.ts +2 -7
- package/dist/sura/operations/client.js +4 -4
- package/dist/sura/operations/index.d.ts +1 -0
- package/dist/sura/operations/models.d.ts +43 -0
- package/dist/sura/operations/models.js +8 -0
- package/dist/sura/patients/client.d.ts +3 -40
- package/dist/sura/patients/client.js +6 -6
- package/dist/sura/patients/index.d.ts +1 -0
- package/dist/sura/patients/models.d.ts +76 -0
- package/dist/sura/patients/models.js +8 -0
- package/dist/sura/professionals/client.d.ts +7 -9
- package/dist/sura/professionals/client.js +3 -4
- package/dist/sura/professionals/index.d.ts +1 -1
- package/dist/sura/professionals/models.d.ts +40 -1
- package/dist/sura/services/client.d.ts +7 -8
- package/dist/sura/services/client.js +3 -4
- package/dist/sura/services/index.d.ts +1 -0
- package/dist/sura/services/models.d.ts +40 -0
- package/dist/sura/services/models.js +3 -0
- package/dist/visoft/index.d.ts +1 -1
- package/dist/visoft/models.d.ts +1 -16
- package/package.json +3 -3
|
@@ -1,4 +1,511 @@
|
|
|
1
|
-
import type { PageInfo } from "../../models.js";
|
|
1
|
+
import type { OutcomeUnknownFailure, PageInfo, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { GmedicCatalogSearchIncompleteFailure, GmedicConnectionNotFoundFailure, GmedicProviderAccessRejectedFailure, GmedicProviderResponseInvalidFailure, GmedicProviderUnavailableFailure, GmedicRecordNotFoundFailure } from "../models.js";
|
|
3
|
+
/**
|
|
4
|
+
* A failed answer.
|
|
5
|
+
*/
|
|
6
|
+
export interface GmedicCreatePatientBadGatewayError {
|
|
7
|
+
data: null;
|
|
8
|
+
error: GmedicCreatePatientBadGatewayFailure;
|
|
9
|
+
/**
|
|
10
|
+
* What every answer carries besides its data or error.
|
|
11
|
+
*/
|
|
12
|
+
metadata: ResponseMetadata;
|
|
13
|
+
success: false;
|
|
14
|
+
}
|
|
15
|
+
export type GmedicCreatePatientBadGatewayFailure = OutcomeUnknownFailure | GmedicProviderAccessRejectedFailure | GmedicProviderResponseInvalidFailure;
|
|
16
|
+
export interface GmedicCreatePatientBody {
|
|
17
|
+
connectionId?: string;
|
|
18
|
+
data: {
|
|
19
|
+
address?: string;
|
|
20
|
+
afpId?: string;
|
|
21
|
+
arlId?: string;
|
|
22
|
+
birthDate?: string;
|
|
23
|
+
bloodTypeId?: string;
|
|
24
|
+
childrenCount?: number;
|
|
25
|
+
contactPerson?: string;
|
|
26
|
+
contactPersonPhone?: string;
|
|
27
|
+
countryCode?: string;
|
|
28
|
+
dependentsCount?: number;
|
|
29
|
+
disabilityCategoryId?: string;
|
|
30
|
+
documentNumber: string;
|
|
31
|
+
documentTypeId: string;
|
|
32
|
+
educationLevelId?: string;
|
|
33
|
+
email?: string;
|
|
34
|
+
epsId?: string;
|
|
35
|
+
ethnicityId?: string;
|
|
36
|
+
expeditionPlaceCode?: string;
|
|
37
|
+
familyName?: string;
|
|
38
|
+
firstName?: string;
|
|
39
|
+
genderId?: string;
|
|
40
|
+
givenName?: string;
|
|
41
|
+
healthPartnerId?: string;
|
|
42
|
+
healthPartnerIdNumber?: string;
|
|
43
|
+
healthRegimeId?: string;
|
|
44
|
+
householdCompositionTypeId?: string;
|
|
45
|
+
householdSize?: number;
|
|
46
|
+
lastName?: string;
|
|
47
|
+
locationCode?: string;
|
|
48
|
+
locationZoneTypeId?: string;
|
|
49
|
+
maritalStatusId?: string;
|
|
50
|
+
mobile?: string;
|
|
51
|
+
mobilePhone?: string;
|
|
52
|
+
occupationId?: string;
|
|
53
|
+
phone?: string;
|
|
54
|
+
profession?: string;
|
|
55
|
+
properties?: {
|
|
56
|
+
[key: string]: string;
|
|
57
|
+
};
|
|
58
|
+
referredByName?: string;
|
|
59
|
+
referredByTypeId?: string;
|
|
60
|
+
responsible?: string;
|
|
61
|
+
responsiblePhone?: string;
|
|
62
|
+
responsibleRelationship?: string;
|
|
63
|
+
socioeconomicStratum?: number;
|
|
64
|
+
sourceCountryCode?: string;
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* A failed answer.
|
|
69
|
+
*/
|
|
70
|
+
export interface GmedicCreatePatientNotFoundError {
|
|
71
|
+
data: null;
|
|
72
|
+
error: GmedicCreatePatientNotFoundFailure;
|
|
73
|
+
/**
|
|
74
|
+
* What every answer carries besides its data or error.
|
|
75
|
+
*/
|
|
76
|
+
metadata: ResponseMetadata;
|
|
77
|
+
success: false;
|
|
78
|
+
}
|
|
79
|
+
export type GmedicCreatePatientNotFoundFailure = GmedicConnectionNotFoundFailure | GmedicRecordNotFoundFailure;
|
|
80
|
+
export interface GmedicCreatePatientResult {
|
|
81
|
+
address?: string | null;
|
|
82
|
+
afp?: {
|
|
83
|
+
id: string;
|
|
84
|
+
label?: string | null;
|
|
85
|
+
name?: string | null;
|
|
86
|
+
value?: string | null;
|
|
87
|
+
} | null;
|
|
88
|
+
ageInYears?: number | null;
|
|
89
|
+
ageMonths?: number | null;
|
|
90
|
+
arl?: string | null;
|
|
91
|
+
birthDate?: string | null;
|
|
92
|
+
birthdayDays?: number | null;
|
|
93
|
+
category?: {
|
|
94
|
+
id: string;
|
|
95
|
+
label?: string | null;
|
|
96
|
+
name?: string | null;
|
|
97
|
+
value?: string | null;
|
|
98
|
+
} | null;
|
|
99
|
+
childrenCount?: number | null;
|
|
100
|
+
contactPerson?: string | null;
|
|
101
|
+
contactPersonPhone?: string | null;
|
|
102
|
+
createdAt?: string | null;
|
|
103
|
+
/**
|
|
104
|
+
* Deprecated: use `createdAt`. Answered until 2027-01-28.
|
|
105
|
+
*
|
|
106
|
+
* @deprecated
|
|
107
|
+
*/
|
|
108
|
+
creationDate?: string | null;
|
|
109
|
+
dependentsCount?: number | null;
|
|
110
|
+
disabilityCategory?: {
|
|
111
|
+
id: string;
|
|
112
|
+
label?: string | null;
|
|
113
|
+
name?: string | null;
|
|
114
|
+
value?: string | null;
|
|
115
|
+
} | null;
|
|
116
|
+
documentNumber?: string | null;
|
|
117
|
+
documentType?: {
|
|
118
|
+
id: string;
|
|
119
|
+
label?: string | null;
|
|
120
|
+
name?: string | null;
|
|
121
|
+
value?: string | null;
|
|
122
|
+
} | null;
|
|
123
|
+
educationLevel?: {
|
|
124
|
+
id: string;
|
|
125
|
+
label?: string | null;
|
|
126
|
+
name?: string | null;
|
|
127
|
+
value?: string | null;
|
|
128
|
+
} | null;
|
|
129
|
+
email?: string | null;
|
|
130
|
+
eps?: string | null;
|
|
131
|
+
ethnicity?: {
|
|
132
|
+
id: string;
|
|
133
|
+
label?: string | null;
|
|
134
|
+
name?: string | null;
|
|
135
|
+
value?: string | null;
|
|
136
|
+
} | null;
|
|
137
|
+
familyName?: string | null;
|
|
138
|
+
/**
|
|
139
|
+
* Deprecated: use `givenName`. Answered until 2027-01-28.
|
|
140
|
+
*
|
|
141
|
+
* @deprecated
|
|
142
|
+
*/
|
|
143
|
+
firstName?: string | null;
|
|
144
|
+
gender?: {
|
|
145
|
+
id: string;
|
|
146
|
+
label?: string | null;
|
|
147
|
+
name?: string | null;
|
|
148
|
+
value?: string | null;
|
|
149
|
+
} | null;
|
|
150
|
+
genderIdentity?: {
|
|
151
|
+
id: string;
|
|
152
|
+
label?: string | null;
|
|
153
|
+
name?: string | null;
|
|
154
|
+
value?: string | null;
|
|
155
|
+
} | null;
|
|
156
|
+
givenName?: string | null;
|
|
157
|
+
healthCompanyName?: string | null;
|
|
158
|
+
healthRegime?: {
|
|
159
|
+
id: string;
|
|
160
|
+
label?: string | null;
|
|
161
|
+
name?: string | null;
|
|
162
|
+
value?: string | null;
|
|
163
|
+
} | null;
|
|
164
|
+
householdCompositionType?: {
|
|
165
|
+
id: string;
|
|
166
|
+
label?: string | null;
|
|
167
|
+
name?: string | null;
|
|
168
|
+
value?: string | null;
|
|
169
|
+
} | null;
|
|
170
|
+
householdSize?: number | null;
|
|
171
|
+
id: string;
|
|
172
|
+
jobCompany?: string | null;
|
|
173
|
+
key?: string | null;
|
|
174
|
+
/**
|
|
175
|
+
* Deprecated: use `familyName`. Answered until 2027-01-28.
|
|
176
|
+
*
|
|
177
|
+
* @deprecated
|
|
178
|
+
*/
|
|
179
|
+
lastName?: string | null;
|
|
180
|
+
location?: string | null;
|
|
181
|
+
maritalStatus?: {
|
|
182
|
+
id: string;
|
|
183
|
+
label?: string | null;
|
|
184
|
+
name?: string | null;
|
|
185
|
+
value?: string | null;
|
|
186
|
+
} | null;
|
|
187
|
+
/**
|
|
188
|
+
* Deprecated: use `mobilePhone`. Answered until 2027-01-28.
|
|
189
|
+
*
|
|
190
|
+
* @deprecated
|
|
191
|
+
*/
|
|
192
|
+
mobile?: string | null;
|
|
193
|
+
mobilePhone?: string | null;
|
|
194
|
+
/**
|
|
195
|
+
* Deprecated: use `updatedAt`. Answered until 2027-01-28.
|
|
196
|
+
*
|
|
197
|
+
* @deprecated
|
|
198
|
+
*/
|
|
199
|
+
modificationDate?: string | null;
|
|
200
|
+
occupation?: string | null;
|
|
201
|
+
patientType?: {
|
|
202
|
+
id: string;
|
|
203
|
+
label?: string | null;
|
|
204
|
+
name?: string | null;
|
|
205
|
+
value?: string | null;
|
|
206
|
+
} | null;
|
|
207
|
+
phone?: string | null;
|
|
208
|
+
profession?: string | null;
|
|
209
|
+
properties?: {
|
|
210
|
+
[key: string]: unknown;
|
|
211
|
+
} | null;
|
|
212
|
+
referredBy?: {
|
|
213
|
+
id: string;
|
|
214
|
+
label?: string | null;
|
|
215
|
+
name?: string | null;
|
|
216
|
+
value?: string | null;
|
|
217
|
+
} | null;
|
|
218
|
+
referredByName?: string | null;
|
|
219
|
+
responsible?: string | null;
|
|
220
|
+
responsiblePhone?: string | null;
|
|
221
|
+
responsibleRelationship?: string | null;
|
|
222
|
+
socioeconomicStratum?: number | null;
|
|
223
|
+
/**
|
|
224
|
+
* Deprecated: use `status`. Answered until 2027-01-28.
|
|
225
|
+
*
|
|
226
|
+
* @deprecated
|
|
227
|
+
*/
|
|
228
|
+
state?: {
|
|
229
|
+
id: string;
|
|
230
|
+
label?: string | null;
|
|
231
|
+
name?: string | null;
|
|
232
|
+
value?: string | null;
|
|
233
|
+
} | null;
|
|
234
|
+
status?: {
|
|
235
|
+
id: string;
|
|
236
|
+
label?: string | null;
|
|
237
|
+
name?: string | null;
|
|
238
|
+
value?: string | null;
|
|
239
|
+
} | null;
|
|
240
|
+
updatedAt?: string | null;
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* A successful answer.
|
|
244
|
+
*/
|
|
245
|
+
export interface GmedicCreatePatientResultResponse {
|
|
246
|
+
data: GmedicCreatePatientResult;
|
|
247
|
+
error: null;
|
|
248
|
+
/**
|
|
249
|
+
* What every answer carries besides its data or error.
|
|
250
|
+
*/
|
|
251
|
+
metadata: ResponseMetadata;
|
|
252
|
+
success: true;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* A failed answer.
|
|
256
|
+
*/
|
|
257
|
+
export interface GmedicCreatePatientServiceUnavailableError {
|
|
258
|
+
data: null;
|
|
259
|
+
error: GmedicCreatePatientServiceUnavailableFailure;
|
|
260
|
+
/**
|
|
261
|
+
* What every answer carries besides its data or error.
|
|
262
|
+
*/
|
|
263
|
+
metadata: ResponseMetadata;
|
|
264
|
+
success: false;
|
|
265
|
+
}
|
|
266
|
+
export type GmedicCreatePatientServiceUnavailableFailure = UpstreamUnavailableFailure | GmedicCatalogSearchIncompleteFailure | GmedicProviderUnavailableFailure;
|
|
267
|
+
/**
|
|
268
|
+
* A failed answer.
|
|
269
|
+
*/
|
|
270
|
+
export interface GmedicListPatientsBadGatewayError {
|
|
271
|
+
data: null;
|
|
272
|
+
error: GmedicListPatientsBadGatewayFailure;
|
|
273
|
+
/**
|
|
274
|
+
* What every answer carries besides its data or error.
|
|
275
|
+
*/
|
|
276
|
+
metadata: ResponseMetadata;
|
|
277
|
+
success: false;
|
|
278
|
+
}
|
|
279
|
+
export type GmedicListPatientsBadGatewayFailure = OutcomeUnknownFailure | GmedicProviderAccessRejectedFailure | GmedicProviderResponseInvalidFailure;
|
|
280
|
+
/**
|
|
281
|
+
* A failed answer.
|
|
282
|
+
*/
|
|
283
|
+
export interface GmedicListPatientsNotFoundError {
|
|
284
|
+
data: null;
|
|
285
|
+
error: GmedicListPatientsNotFoundFailure;
|
|
286
|
+
/**
|
|
287
|
+
* What every answer carries besides its data or error.
|
|
288
|
+
*/
|
|
289
|
+
metadata: ResponseMetadata;
|
|
290
|
+
success: false;
|
|
291
|
+
}
|
|
292
|
+
export type GmedicListPatientsNotFoundFailure = GmedicConnectionNotFoundFailure | GmedicRecordNotFoundFailure;
|
|
293
|
+
/**
|
|
294
|
+
* A failed answer.
|
|
295
|
+
*/
|
|
296
|
+
export interface GmedicListPatientsServiceUnavailableError {
|
|
297
|
+
data: null;
|
|
298
|
+
error: GmedicListPatientsServiceUnavailableFailure;
|
|
299
|
+
/**
|
|
300
|
+
* What every answer carries besides its data or error.
|
|
301
|
+
*/
|
|
302
|
+
metadata: ResponseMetadata;
|
|
303
|
+
success: false;
|
|
304
|
+
}
|
|
305
|
+
export type GmedicListPatientsServiceUnavailableFailure = UpstreamUnavailableFailure | GmedicCatalogSearchIncompleteFailure | GmedicProviderUnavailableFailure;
|
|
306
|
+
/**
|
|
307
|
+
* A failed answer.
|
|
308
|
+
*/
|
|
309
|
+
export interface GmedicLookupPatientsBadGatewayError {
|
|
310
|
+
data: null;
|
|
311
|
+
error: GmedicLookupPatientsBadGatewayFailure;
|
|
312
|
+
/**
|
|
313
|
+
* What every answer carries besides its data or error.
|
|
314
|
+
*/
|
|
315
|
+
metadata: ResponseMetadata;
|
|
316
|
+
success: false;
|
|
317
|
+
}
|
|
318
|
+
export type GmedicLookupPatientsBadGatewayFailure = OutcomeUnknownFailure | GmedicProviderAccessRejectedFailure | GmedicProviderResponseInvalidFailure;
|
|
319
|
+
export interface GmedicLookupPatientsBody {
|
|
320
|
+
connectionId?: string;
|
|
321
|
+
/**
|
|
322
|
+
* Opaque cursor returned by pageInfo; omit it to request the first page.
|
|
323
|
+
*/
|
|
324
|
+
cursor?: string;
|
|
325
|
+
/**
|
|
326
|
+
* Direction to traverse the stable keyset ordering from the supplied cursor.
|
|
327
|
+
*/
|
|
328
|
+
direction?: "forward" | "backward";
|
|
329
|
+
documentNumber: string;
|
|
330
|
+
documentType: "CC" | "NIT" | "CE" | "NITE" | "PA" | "TI" | "RC" | "AS" | "MS" | "CD" | "SC" | "NU" | "PE" | "PT" | "CV" | "NV" | "DE" | "SI";
|
|
331
|
+
/**
|
|
332
|
+
* Maximum items returned in one page. Defaults to 25; larger reads require
|
|
333
|
+
* another cursor.
|
|
334
|
+
*/
|
|
335
|
+
limit?: number;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* A failed answer.
|
|
339
|
+
*/
|
|
340
|
+
export interface GmedicLookupPatientsNotFoundError {
|
|
341
|
+
data: null;
|
|
342
|
+
error: GmedicLookupPatientsNotFoundFailure;
|
|
343
|
+
/**
|
|
344
|
+
* What every answer carries besides its data or error.
|
|
345
|
+
*/
|
|
346
|
+
metadata: ResponseMetadata;
|
|
347
|
+
success: false;
|
|
348
|
+
}
|
|
349
|
+
export type GmedicLookupPatientsNotFoundFailure = GmedicConnectionNotFoundFailure | GmedicRecordNotFoundFailure;
|
|
350
|
+
/**
|
|
351
|
+
* A failed answer.
|
|
352
|
+
*/
|
|
353
|
+
export interface GmedicLookupPatientsServiceUnavailableError {
|
|
354
|
+
data: null;
|
|
355
|
+
error: GmedicLookupPatientsServiceUnavailableFailure;
|
|
356
|
+
/**
|
|
357
|
+
* What every answer carries besides its data or error.
|
|
358
|
+
*/
|
|
359
|
+
metadata: ResponseMetadata;
|
|
360
|
+
success: false;
|
|
361
|
+
}
|
|
362
|
+
export type GmedicLookupPatientsServiceUnavailableFailure = UpstreamUnavailableFailure | GmedicCatalogSearchIncompleteFailure | GmedicProviderUnavailableFailure;
|
|
363
|
+
export interface GmedicPatientMatchesPage {
|
|
364
|
+
/**
|
|
365
|
+
* Items admitted by this resource contract within the verified organization.
|
|
366
|
+
*/
|
|
367
|
+
data: {
|
|
368
|
+
address?: string | null;
|
|
369
|
+
afp?: {
|
|
370
|
+
id: string;
|
|
371
|
+
label?: string | null;
|
|
372
|
+
name?: string | null;
|
|
373
|
+
value?: string | null;
|
|
374
|
+
} | null;
|
|
375
|
+
ageInYears?: number | null;
|
|
376
|
+
ageMonths?: number | null;
|
|
377
|
+
arl?: string | null;
|
|
378
|
+
birthDate?: string | null;
|
|
379
|
+
birthdayDays?: number | null;
|
|
380
|
+
category?: {
|
|
381
|
+
id: string;
|
|
382
|
+
label?: string | null;
|
|
383
|
+
name?: string | null;
|
|
384
|
+
value?: string | null;
|
|
385
|
+
} | null;
|
|
386
|
+
childrenCount?: number | null;
|
|
387
|
+
contactPerson?: string | null;
|
|
388
|
+
contactPersonPhone?: string | null;
|
|
389
|
+
createdAt?: string | null;
|
|
390
|
+
dependentsCount?: number | null;
|
|
391
|
+
disabilityCategory?: {
|
|
392
|
+
id: string;
|
|
393
|
+
label?: string | null;
|
|
394
|
+
name?: string | null;
|
|
395
|
+
value?: string | null;
|
|
396
|
+
} | null;
|
|
397
|
+
documentNumber?: string | null;
|
|
398
|
+
documentType?: {
|
|
399
|
+
id: string;
|
|
400
|
+
label?: string | null;
|
|
401
|
+
name?: string | null;
|
|
402
|
+
value?: string | null;
|
|
403
|
+
} | null;
|
|
404
|
+
educationLevel?: {
|
|
405
|
+
id: string;
|
|
406
|
+
label?: string | null;
|
|
407
|
+
name?: string | null;
|
|
408
|
+
value?: string | null;
|
|
409
|
+
} | null;
|
|
410
|
+
email?: string | null;
|
|
411
|
+
eps?: string | null;
|
|
412
|
+
ethnicity?: {
|
|
413
|
+
id: string;
|
|
414
|
+
label?: string | null;
|
|
415
|
+
name?: string | null;
|
|
416
|
+
value?: string | null;
|
|
417
|
+
} | null;
|
|
418
|
+
familyName?: string | null;
|
|
419
|
+
gender?: {
|
|
420
|
+
id: string;
|
|
421
|
+
label?: string | null;
|
|
422
|
+
name?: string | null;
|
|
423
|
+
value?: string | null;
|
|
424
|
+
} | null;
|
|
425
|
+
genderIdentity?: {
|
|
426
|
+
id: string;
|
|
427
|
+
label?: string | null;
|
|
428
|
+
name?: string | null;
|
|
429
|
+
value?: string | null;
|
|
430
|
+
} | null;
|
|
431
|
+
givenName?: string | null;
|
|
432
|
+
healthCompanyName?: string | null;
|
|
433
|
+
healthRegime?: {
|
|
434
|
+
id: string;
|
|
435
|
+
label?: string | null;
|
|
436
|
+
name?: string | null;
|
|
437
|
+
value?: string | null;
|
|
438
|
+
} | null;
|
|
439
|
+
householdCompositionType?: {
|
|
440
|
+
id: string;
|
|
441
|
+
label?: string | null;
|
|
442
|
+
name?: string | null;
|
|
443
|
+
value?: string | null;
|
|
444
|
+
} | null;
|
|
445
|
+
householdSize?: number | null;
|
|
446
|
+
id: string;
|
|
447
|
+
jobCompany?: string | null;
|
|
448
|
+
key?: string | null;
|
|
449
|
+
location?: string | null;
|
|
450
|
+
maritalStatus?: {
|
|
451
|
+
id: string;
|
|
452
|
+
label?: string | null;
|
|
453
|
+
name?: string | null;
|
|
454
|
+
value?: string | null;
|
|
455
|
+
} | null;
|
|
456
|
+
mobilePhone?: string | null;
|
|
457
|
+
occupation?: string | null;
|
|
458
|
+
patientType?: {
|
|
459
|
+
id: string;
|
|
460
|
+
label?: string | null;
|
|
461
|
+
name?: string | null;
|
|
462
|
+
value?: string | null;
|
|
463
|
+
} | null;
|
|
464
|
+
phone?: string | null;
|
|
465
|
+
profession?: string | null;
|
|
466
|
+
properties?: {
|
|
467
|
+
[key: string]: unknown;
|
|
468
|
+
} | null;
|
|
469
|
+
referredBy?: {
|
|
470
|
+
id: string;
|
|
471
|
+
label?: string | null;
|
|
472
|
+
name?: string | null;
|
|
473
|
+
value?: string | null;
|
|
474
|
+
} | null;
|
|
475
|
+
referredByName?: string | null;
|
|
476
|
+
responsible?: string | null;
|
|
477
|
+
responsiblePhone?: string | null;
|
|
478
|
+
responsibleRelationship?: string | null;
|
|
479
|
+
socioeconomicStratum?: number | null;
|
|
480
|
+
status?: {
|
|
481
|
+
id: string;
|
|
482
|
+
label?: string | null;
|
|
483
|
+
name?: string | null;
|
|
484
|
+
value?: string | null;
|
|
485
|
+
} | null;
|
|
486
|
+
updatedAt?: string | null;
|
|
487
|
+
}[];
|
|
488
|
+
/**
|
|
489
|
+
* Discriminator for a resource list response.
|
|
490
|
+
*/
|
|
491
|
+
object: "list";
|
|
492
|
+
/**
|
|
493
|
+
* Opaque navigation cursors for this page’s stable keyset order.
|
|
494
|
+
*/
|
|
495
|
+
pageInfo: PageInfo;
|
|
496
|
+
}
|
|
497
|
+
/**
|
|
498
|
+
* A successful answer.
|
|
499
|
+
*/
|
|
500
|
+
export interface GmedicPatientMatchesPageResponse {
|
|
501
|
+
data: GmedicPatientMatchesPage;
|
|
502
|
+
error: null;
|
|
503
|
+
/**
|
|
504
|
+
* What every answer carries besides its data or error.
|
|
505
|
+
*/
|
|
506
|
+
metadata: ResponseMetadata;
|
|
507
|
+
success: true;
|
|
508
|
+
}
|
|
2
509
|
export interface GmedicPatientsPage {
|
|
3
510
|
/**
|
|
4
511
|
* Items admitted by this resource contract within the verified organization.
|
|
@@ -25,6 +532,7 @@ export interface GmedicPatientsPage {
|
|
|
25
532
|
childrenCount?: number | null;
|
|
26
533
|
contactPerson?: string | null;
|
|
27
534
|
contactPersonPhone?: string | null;
|
|
535
|
+
createdAt?: string | null;
|
|
28
536
|
creationDate?: string | null;
|
|
29
537
|
dependentsCount?: number | null;
|
|
30
538
|
disabilityCategory?: {
|
|
@@ -54,6 +562,7 @@ export interface GmedicPatientsPage {
|
|
|
54
562
|
name?: string | null;
|
|
55
563
|
value?: string | null;
|
|
56
564
|
} | null;
|
|
565
|
+
familyName?: string | null;
|
|
57
566
|
firstName?: string | null;
|
|
58
567
|
gender?: {
|
|
59
568
|
id: string;
|
|
@@ -67,6 +576,7 @@ export interface GmedicPatientsPage {
|
|
|
67
576
|
name?: string | null;
|
|
68
577
|
value?: string | null;
|
|
69
578
|
} | null;
|
|
579
|
+
givenName?: string | null;
|
|
70
580
|
healthCompanyName?: string | null;
|
|
71
581
|
healthRegime?: {
|
|
72
582
|
id: string;
|
|
@@ -93,6 +603,7 @@ export interface GmedicPatientsPage {
|
|
|
93
603
|
value?: string | null;
|
|
94
604
|
} | null;
|
|
95
605
|
mobile?: string | null;
|
|
606
|
+
mobilePhone?: string | null;
|
|
96
607
|
modificationDate?: string | null;
|
|
97
608
|
occupation?: string | null;
|
|
98
609
|
patientType?: {
|
|
@@ -123,6 +634,13 @@ export interface GmedicPatientsPage {
|
|
|
123
634
|
name?: string | null;
|
|
124
635
|
value?: string | null;
|
|
125
636
|
} | null;
|
|
637
|
+
status?: {
|
|
638
|
+
id: string;
|
|
639
|
+
label?: string | null;
|
|
640
|
+
name?: string | null;
|
|
641
|
+
value?: string | null;
|
|
642
|
+
} | null;
|
|
643
|
+
updatedAt?: string | null;
|
|
126
644
|
}[];
|
|
127
645
|
/**
|
|
128
646
|
* Discriminator for a resource list response.
|
|
@@ -133,3 +651,279 @@ export interface GmedicPatientsPage {
|
|
|
133
651
|
*/
|
|
134
652
|
pageInfo: PageInfo;
|
|
135
653
|
}
|
|
654
|
+
/**
|
|
655
|
+
* A successful answer.
|
|
656
|
+
*/
|
|
657
|
+
export interface GmedicPatientsPageResponse {
|
|
658
|
+
data: GmedicPatientsPage;
|
|
659
|
+
error: null;
|
|
660
|
+
/**
|
|
661
|
+
* What every answer carries besides its data or error.
|
|
662
|
+
*/
|
|
663
|
+
metadata: ResponseMetadata;
|
|
664
|
+
success: true;
|
|
665
|
+
}
|
|
666
|
+
/**
|
|
667
|
+
* A failed answer.
|
|
668
|
+
*/
|
|
669
|
+
export interface GmedicUpdatePatientBadGatewayError {
|
|
670
|
+
data: null;
|
|
671
|
+
error: GmedicUpdatePatientBadGatewayFailure;
|
|
672
|
+
/**
|
|
673
|
+
* What every answer carries besides its data or error.
|
|
674
|
+
*/
|
|
675
|
+
metadata: ResponseMetadata;
|
|
676
|
+
success: false;
|
|
677
|
+
}
|
|
678
|
+
export type GmedicUpdatePatientBadGatewayFailure = OutcomeUnknownFailure | GmedicProviderAccessRejectedFailure | GmedicProviderResponseInvalidFailure;
|
|
679
|
+
export interface GmedicUpdatePatientBody {
|
|
680
|
+
connectionId?: string;
|
|
681
|
+
data: {
|
|
682
|
+
address?: string;
|
|
683
|
+
afpId?: string;
|
|
684
|
+
arlId?: string;
|
|
685
|
+
birthDate?: string;
|
|
686
|
+
bloodTypeId?: string;
|
|
687
|
+
childrenCount?: number;
|
|
688
|
+
contactPerson?: string;
|
|
689
|
+
contactPersonPhone?: string;
|
|
690
|
+
countryCode?: string;
|
|
691
|
+
dependentsCount?: number;
|
|
692
|
+
disabilityCategoryId?: string;
|
|
693
|
+
documentNumber: string;
|
|
694
|
+
documentTypeId: string;
|
|
695
|
+
educationLevelId?: string;
|
|
696
|
+
email?: string;
|
|
697
|
+
epsId?: string;
|
|
698
|
+
ethnicityId?: string;
|
|
699
|
+
expeditionPlaceCode?: string;
|
|
700
|
+
familyName?: string;
|
|
701
|
+
firstName?: string;
|
|
702
|
+
genderId?: string;
|
|
703
|
+
givenName?: string;
|
|
704
|
+
healthPartnerId?: string;
|
|
705
|
+
healthPartnerIdNumber?: string;
|
|
706
|
+
healthRegimeId?: string;
|
|
707
|
+
householdCompositionTypeId?: string;
|
|
708
|
+
householdSize?: number;
|
|
709
|
+
lastName?: string;
|
|
710
|
+
locationCode?: string;
|
|
711
|
+
locationZoneTypeId?: string;
|
|
712
|
+
maritalStatusId?: string;
|
|
713
|
+
mobile?: string;
|
|
714
|
+
mobilePhone?: string;
|
|
715
|
+
occupationId?: string;
|
|
716
|
+
phone?: string;
|
|
717
|
+
profession?: string;
|
|
718
|
+
properties?: {
|
|
719
|
+
[key: string]: string;
|
|
720
|
+
};
|
|
721
|
+
referredByName?: string;
|
|
722
|
+
referredByTypeId?: string;
|
|
723
|
+
responsible?: string;
|
|
724
|
+
responsiblePhone?: string;
|
|
725
|
+
responsibleRelationship?: string;
|
|
726
|
+
socioeconomicStratum?: number;
|
|
727
|
+
sourceCountryCode?: string;
|
|
728
|
+
};
|
|
729
|
+
}
|
|
730
|
+
/**
|
|
731
|
+
* A failed answer.
|
|
732
|
+
*/
|
|
733
|
+
export interface GmedicUpdatePatientNotFoundError {
|
|
734
|
+
data: null;
|
|
735
|
+
error: GmedicUpdatePatientNotFoundFailure;
|
|
736
|
+
/**
|
|
737
|
+
* What every answer carries besides its data or error.
|
|
738
|
+
*/
|
|
739
|
+
metadata: ResponseMetadata;
|
|
740
|
+
success: false;
|
|
741
|
+
}
|
|
742
|
+
export type GmedicUpdatePatientNotFoundFailure = GmedicConnectionNotFoundFailure | GmedicRecordNotFoundFailure;
|
|
743
|
+
export interface GmedicUpdatePatientResult {
|
|
744
|
+
address?: string | null;
|
|
745
|
+
afp?: {
|
|
746
|
+
id: string;
|
|
747
|
+
label?: string | null;
|
|
748
|
+
name?: string | null;
|
|
749
|
+
value?: string | null;
|
|
750
|
+
} | null;
|
|
751
|
+
ageInYears?: number | null;
|
|
752
|
+
ageMonths?: number | null;
|
|
753
|
+
arl?: string | null;
|
|
754
|
+
birthDate?: string | null;
|
|
755
|
+
birthdayDays?: number | null;
|
|
756
|
+
category?: {
|
|
757
|
+
id: string;
|
|
758
|
+
label?: string | null;
|
|
759
|
+
name?: string | null;
|
|
760
|
+
value?: string | null;
|
|
761
|
+
} | null;
|
|
762
|
+
childrenCount?: number | null;
|
|
763
|
+
contactPerson?: string | null;
|
|
764
|
+
contactPersonPhone?: string | null;
|
|
765
|
+
createdAt?: string | null;
|
|
766
|
+
/**
|
|
767
|
+
* Deprecated: use `createdAt`. Answered until 2027-01-28.
|
|
768
|
+
*
|
|
769
|
+
* @deprecated
|
|
770
|
+
*/
|
|
771
|
+
creationDate?: string | null;
|
|
772
|
+
dependentsCount?: number | null;
|
|
773
|
+
disabilityCategory?: {
|
|
774
|
+
id: string;
|
|
775
|
+
label?: string | null;
|
|
776
|
+
name?: string | null;
|
|
777
|
+
value?: string | null;
|
|
778
|
+
} | null;
|
|
779
|
+
documentNumber?: string | null;
|
|
780
|
+
documentType?: {
|
|
781
|
+
id: string;
|
|
782
|
+
label?: string | null;
|
|
783
|
+
name?: string | null;
|
|
784
|
+
value?: string | null;
|
|
785
|
+
} | null;
|
|
786
|
+
educationLevel?: {
|
|
787
|
+
id: string;
|
|
788
|
+
label?: string | null;
|
|
789
|
+
name?: string | null;
|
|
790
|
+
value?: string | null;
|
|
791
|
+
} | null;
|
|
792
|
+
email?: string | null;
|
|
793
|
+
eps?: string | null;
|
|
794
|
+
ethnicity?: {
|
|
795
|
+
id: string;
|
|
796
|
+
label?: string | null;
|
|
797
|
+
name?: string | null;
|
|
798
|
+
value?: string | null;
|
|
799
|
+
} | null;
|
|
800
|
+
familyName?: string | null;
|
|
801
|
+
/**
|
|
802
|
+
* Deprecated: use `givenName`. Answered until 2027-01-28.
|
|
803
|
+
*
|
|
804
|
+
* @deprecated
|
|
805
|
+
*/
|
|
806
|
+
firstName?: string | null;
|
|
807
|
+
gender?: {
|
|
808
|
+
id: string;
|
|
809
|
+
label?: string | null;
|
|
810
|
+
name?: string | null;
|
|
811
|
+
value?: string | null;
|
|
812
|
+
} | null;
|
|
813
|
+
genderIdentity?: {
|
|
814
|
+
id: string;
|
|
815
|
+
label?: string | null;
|
|
816
|
+
name?: string | null;
|
|
817
|
+
value?: string | null;
|
|
818
|
+
} | null;
|
|
819
|
+
givenName?: string | null;
|
|
820
|
+
healthCompanyName?: string | null;
|
|
821
|
+
healthRegime?: {
|
|
822
|
+
id: string;
|
|
823
|
+
label?: string | null;
|
|
824
|
+
name?: string | null;
|
|
825
|
+
value?: string | null;
|
|
826
|
+
} | null;
|
|
827
|
+
householdCompositionType?: {
|
|
828
|
+
id: string;
|
|
829
|
+
label?: string | null;
|
|
830
|
+
name?: string | null;
|
|
831
|
+
value?: string | null;
|
|
832
|
+
} | null;
|
|
833
|
+
householdSize?: number | null;
|
|
834
|
+
id: string;
|
|
835
|
+
jobCompany?: string | null;
|
|
836
|
+
key?: string | null;
|
|
837
|
+
/**
|
|
838
|
+
* Deprecated: use `familyName`. Answered until 2027-01-28.
|
|
839
|
+
*
|
|
840
|
+
* @deprecated
|
|
841
|
+
*/
|
|
842
|
+
lastName?: string | null;
|
|
843
|
+
location?: string | null;
|
|
844
|
+
maritalStatus?: {
|
|
845
|
+
id: string;
|
|
846
|
+
label?: string | null;
|
|
847
|
+
name?: string | null;
|
|
848
|
+
value?: string | null;
|
|
849
|
+
} | null;
|
|
850
|
+
/**
|
|
851
|
+
* Deprecated: use `mobilePhone`. Answered until 2027-01-28.
|
|
852
|
+
*
|
|
853
|
+
* @deprecated
|
|
854
|
+
*/
|
|
855
|
+
mobile?: string | null;
|
|
856
|
+
mobilePhone?: string | null;
|
|
857
|
+
/**
|
|
858
|
+
* Deprecated: use `updatedAt`. Answered until 2027-01-28.
|
|
859
|
+
*
|
|
860
|
+
* @deprecated
|
|
861
|
+
*/
|
|
862
|
+
modificationDate?: string | null;
|
|
863
|
+
occupation?: string | null;
|
|
864
|
+
patientType?: {
|
|
865
|
+
id: string;
|
|
866
|
+
label?: string | null;
|
|
867
|
+
name?: string | null;
|
|
868
|
+
value?: string | null;
|
|
869
|
+
} | null;
|
|
870
|
+
phone?: string | null;
|
|
871
|
+
profession?: string | null;
|
|
872
|
+
properties?: {
|
|
873
|
+
[key: string]: unknown;
|
|
874
|
+
} | null;
|
|
875
|
+
referredBy?: {
|
|
876
|
+
id: string;
|
|
877
|
+
label?: string | null;
|
|
878
|
+
name?: string | null;
|
|
879
|
+
value?: string | null;
|
|
880
|
+
} | null;
|
|
881
|
+
referredByName?: string | null;
|
|
882
|
+
responsible?: string | null;
|
|
883
|
+
responsiblePhone?: string | null;
|
|
884
|
+
responsibleRelationship?: string | null;
|
|
885
|
+
socioeconomicStratum?: number | null;
|
|
886
|
+
/**
|
|
887
|
+
* Deprecated: use `status`. Answered until 2027-01-28.
|
|
888
|
+
*
|
|
889
|
+
* @deprecated
|
|
890
|
+
*/
|
|
891
|
+
state?: {
|
|
892
|
+
id: string;
|
|
893
|
+
label?: string | null;
|
|
894
|
+
name?: string | null;
|
|
895
|
+
value?: string | null;
|
|
896
|
+
} | null;
|
|
897
|
+
status?: {
|
|
898
|
+
id: string;
|
|
899
|
+
label?: string | null;
|
|
900
|
+
name?: string | null;
|
|
901
|
+
value?: string | null;
|
|
902
|
+
} | null;
|
|
903
|
+
updatedAt?: string | null;
|
|
904
|
+
}
|
|
905
|
+
/**
|
|
906
|
+
* A successful answer.
|
|
907
|
+
*/
|
|
908
|
+
export interface GmedicUpdatePatientResultResponse {
|
|
909
|
+
data: GmedicUpdatePatientResult;
|
|
910
|
+
error: null;
|
|
911
|
+
/**
|
|
912
|
+
* What every answer carries besides its data or error.
|
|
913
|
+
*/
|
|
914
|
+
metadata: ResponseMetadata;
|
|
915
|
+
success: true;
|
|
916
|
+
}
|
|
917
|
+
/**
|
|
918
|
+
* A failed answer.
|
|
919
|
+
*/
|
|
920
|
+
export interface GmedicUpdatePatientServiceUnavailableError {
|
|
921
|
+
data: null;
|
|
922
|
+
error: GmedicUpdatePatientServiceUnavailableFailure;
|
|
923
|
+
/**
|
|
924
|
+
* What every answer carries besides its data or error.
|
|
925
|
+
*/
|
|
926
|
+
metadata: ResponseMetadata;
|
|
927
|
+
success: false;
|
|
928
|
+
}
|
|
929
|
+
export type GmedicUpdatePatientServiceUnavailableFailure = UpstreamUnavailableFailure | GmedicCatalogSearchIncompleteFailure | GmedicProviderUnavailableFailure;
|