@icure/be-fhc-api 0.4.24 → 0.4.25
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/fhcEattestV3Api.d.ts +4 -2
- package/api/fhcEattestV3Api.js +6 -2
- package/model/Invoice.d.ts +3 -3
- package/package.json +1 -1
package/api/fhcEattestV3Api.d.ts
CHANGED
|
@@ -38,12 +38,13 @@ export declare class fhcEattestV3Api {
|
|
|
38
38
|
* @param eAttestRef eAttestRef
|
|
39
39
|
* @param reason reason
|
|
40
40
|
* @param date date
|
|
41
|
+
* @param attemptNbr attemptNbr
|
|
41
42
|
* @param traineeSupervisorSsin traineeSupervisorSsin
|
|
42
43
|
* @param traineeSupervisorNihii traineeSupervisorNihii
|
|
43
44
|
* @param traineeSupervisorFirstName traineeSupervisorFirstName
|
|
44
45
|
* @param traineeSupervisorLastName traineeSupervisorLastName
|
|
45
46
|
*/
|
|
46
|
-
cancelAttestUsingDELETE1(patientSsin: string, xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpNihii: string, hcpSsin: string, hcpFirstName: string, hcpLastName: string, hcpCbe: string, patientFirstName: string, patientLastName: string, patientGender: string, eAttestRef: string, reason: string, date?: number, traineeSupervisorSsin?: string, traineeSupervisorNihii?: string, traineeSupervisorFirstName?: string, traineeSupervisorLastName?: string): Promise<SendAttestResult>;
|
|
47
|
+
cancelAttestUsingDELETE1(patientSsin: string, xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpNihii: string, hcpSsin: string, hcpFirstName: string, hcpLastName: string, hcpCbe: string, patientFirstName: string, patientLastName: string, patientGender: string, eAttestRef: string, reason: string, date?: number, attemptNbr?: number, traineeSupervisorSsin?: string, traineeSupervisorNihii?: string, traineeSupervisorFirstName?: string, traineeSupervisorLastName?: string): Promise<SendAttestResult>;
|
|
47
48
|
/**
|
|
48
49
|
*
|
|
49
50
|
* @summary cancelAttestWithResponse
|
|
@@ -62,12 +63,13 @@ export declare class fhcEattestV3Api {
|
|
|
62
63
|
* @param eAttestRef eAttestRef
|
|
63
64
|
* @param reason reason
|
|
64
65
|
* @param date date
|
|
66
|
+
* @param attemptNbr attemptNbr
|
|
65
67
|
* @param traineeSupervisorSsin traineeSupervisorSsin
|
|
66
68
|
* @param traineeSupervisorNihii traineeSupervisorNihii
|
|
67
69
|
* @param traineeSupervisorFirstName traineeSupervisorFirstName
|
|
68
70
|
* @param traineeSupervisorLastName traineeSupervisorLastName
|
|
69
71
|
*/
|
|
70
|
-
cancelAttestWithResponseUsingDELETE1(patientSsin: string, xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpNihii: string, hcpSsin: string, hcpFirstName: string, hcpLastName: string, hcpCbe: string, patientFirstName: string, patientLastName: string, patientGender: string, eAttestRef: string, reason: string, date?: number, traineeSupervisorSsin?: string, traineeSupervisorNihii?: string, traineeSupervisorFirstName?: string, traineeSupervisorLastName?: string): Promise<SendAttestResultWithResponse>;
|
|
72
|
+
cancelAttestWithResponseUsingDELETE1(patientSsin: string, xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpNihii: string, hcpSsin: string, hcpFirstName: string, hcpLastName: string, hcpCbe: string, patientFirstName: string, patientLastName: string, patientGender: string, eAttestRef: string, reason: string, date?: number, attemptNbr?: number, traineeSupervisorSsin?: string, traineeSupervisorNihii?: string, traineeSupervisorFirstName?: string, traineeSupervisorLastName?: string): Promise<SendAttestResultWithResponse>;
|
|
71
73
|
/**
|
|
72
74
|
*
|
|
73
75
|
* @summary sendAttest
|
package/api/fhcEattestV3Api.js
CHANGED
|
@@ -45,12 +45,13 @@ class fhcEattestV3Api {
|
|
|
45
45
|
* @param eAttestRef eAttestRef
|
|
46
46
|
* @param reason reason
|
|
47
47
|
* @param date date
|
|
48
|
+
* @param attemptNbr attemptNbr
|
|
48
49
|
* @param traineeSupervisorSsin traineeSupervisorSsin
|
|
49
50
|
* @param traineeSupervisorNihii traineeSupervisorNihii
|
|
50
51
|
* @param traineeSupervisorFirstName traineeSupervisorFirstName
|
|
51
52
|
* @param traineeSupervisorLastName traineeSupervisorLastName
|
|
52
53
|
*/
|
|
53
|
-
cancelAttestUsingDELETE1(patientSsin, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpNihii, hcpSsin, hcpFirstName, hcpLastName, hcpCbe, patientFirstName, patientLastName, patientGender, eAttestRef, reason, date, traineeSupervisorSsin, traineeSupervisorNihii, traineeSupervisorFirstName, traineeSupervisorLastName) {
|
|
54
|
+
cancelAttestUsingDELETE1(patientSsin, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpNihii, hcpSsin, hcpFirstName, hcpLastName, hcpCbe, patientFirstName, patientLastName, patientGender, eAttestRef, reason, date, attemptNbr, traineeSupervisorSsin, traineeSupervisorNihii, traineeSupervisorFirstName, traineeSupervisorLastName) {
|
|
54
55
|
let _body = null;
|
|
55
56
|
const _url = this.host +
|
|
56
57
|
`/eattestv3/send/${encodeURIComponent(String(patientSsin))}` +
|
|
@@ -69,6 +70,7 @@ class fhcEattestV3Api {
|
|
|
69
70
|
(eAttestRef ? "&eAttestRef=" + encodeURIComponent(String(eAttestRef)) : "") +
|
|
70
71
|
(reason ? "&reason=" + encodeURIComponent(String(reason)) : "") +
|
|
71
72
|
(date ? "&date=" + encodeURIComponent(String(date)) : "") +
|
|
73
|
+
(attemptNbr ? "&attemptNbr=" + encodeURIComponent(String(attemptNbr)) : "") +
|
|
72
74
|
(traineeSupervisorSsin
|
|
73
75
|
? "&traineeSupervisorSsin=" + encodeURIComponent(String(traineeSupervisorSsin))
|
|
74
76
|
: "") +
|
|
@@ -107,12 +109,13 @@ class fhcEattestV3Api {
|
|
|
107
109
|
* @param eAttestRef eAttestRef
|
|
108
110
|
* @param reason reason
|
|
109
111
|
* @param date date
|
|
112
|
+
* @param attemptNbr attemptNbr
|
|
110
113
|
* @param traineeSupervisorSsin traineeSupervisorSsin
|
|
111
114
|
* @param traineeSupervisorNihii traineeSupervisorNihii
|
|
112
115
|
* @param traineeSupervisorFirstName traineeSupervisorFirstName
|
|
113
116
|
* @param traineeSupervisorLastName traineeSupervisorLastName
|
|
114
117
|
*/
|
|
115
|
-
cancelAttestWithResponseUsingDELETE1(patientSsin, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpNihii, hcpSsin, hcpFirstName, hcpLastName, hcpCbe, patientFirstName, patientLastName, patientGender, eAttestRef, reason, date, traineeSupervisorSsin, traineeSupervisorNihii, traineeSupervisorFirstName, traineeSupervisorLastName) {
|
|
118
|
+
cancelAttestWithResponseUsingDELETE1(patientSsin, xFHCKeystoreId, xFHCTokenId, xFHCPassPhrase, hcpNihii, hcpSsin, hcpFirstName, hcpLastName, hcpCbe, patientFirstName, patientLastName, patientGender, eAttestRef, reason, date, attemptNbr, traineeSupervisorSsin, traineeSupervisorNihii, traineeSupervisorFirstName, traineeSupervisorLastName) {
|
|
116
119
|
let _body = null;
|
|
117
120
|
const _url = this.host +
|
|
118
121
|
`/eattestv3/send/${encodeURIComponent(String(patientSsin))}/verbose` +
|
|
@@ -131,6 +134,7 @@ class fhcEattestV3Api {
|
|
|
131
134
|
(eAttestRef ? "&eAttestRef=" + encodeURIComponent(String(eAttestRef)) : "") +
|
|
132
135
|
(reason ? "&reason=" + encodeURIComponent(String(reason)) : "") +
|
|
133
136
|
(date ? "&date=" + encodeURIComponent(String(date)) : "") +
|
|
137
|
+
(attemptNbr ? "&attemptNbr=" + encodeURIComponent(String(attemptNbr)) : "") +
|
|
134
138
|
(traineeSupervisorSsin
|
|
135
139
|
? "&traineeSupervisorSsin=" + encodeURIComponent(String(traineeSupervisorSsin))
|
|
136
140
|
: "") +
|
package/model/Invoice.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import { InvoiceItem } from "./InvoiceItem";
|
|
|
13
13
|
import { Patient } from "./Patient";
|
|
14
14
|
export declare class Invoice {
|
|
15
15
|
constructor(json: JSON | any);
|
|
16
|
+
admissionDate?: number;
|
|
16
17
|
creditNote?: boolean;
|
|
17
18
|
gnotionNihii?: string;
|
|
18
19
|
hospitalisedPatient?: boolean;
|
|
@@ -22,6 +23,8 @@ export declare class Invoice {
|
|
|
22
23
|
invoiceRef?: string;
|
|
23
24
|
ioCode?: string;
|
|
24
25
|
items?: Array<InvoiceItem>;
|
|
26
|
+
locationNihii?: string;
|
|
27
|
+
locationService?: number;
|
|
25
28
|
patient?: Patient;
|
|
26
29
|
reason?: Invoice.ReasonEnum;
|
|
27
30
|
relatedBatchSendNumber?: number;
|
|
@@ -29,9 +32,6 @@ export declare class Invoice {
|
|
|
29
32
|
relatedInvoiceIoCode?: string;
|
|
30
33
|
relatedInvoiceNumber?: number;
|
|
31
34
|
startOfCoveragePeriod?: number;
|
|
32
|
-
admissionDate?: number;
|
|
33
|
-
locationNihii?: string;
|
|
34
|
-
locationService?: number;
|
|
35
35
|
}
|
|
36
36
|
export declare namespace Invoice {
|
|
37
37
|
type ReasonEnum = "Chimiotherapy" | "ProfessionalDisease" | "WorkAccident" | "Accident" | "Other";
|