@icure/be-fhc-api 0.4.29 → 0.4.30
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/fhcRecipeApi.d.ts +11 -10
- package/api/fhcRecipeApi.js +12 -11
- package/api/fhcTarificationApi.d.ts +3 -1
- package/api/fhcTarificationApi.js +6 -2
- package/model/InvoiceItem.d.ts +1 -0
- package/model/ListPrescriptionsResult.d.ts +19 -0
- package/model/ListPrescriptionsResult.js +9 -0
- package/model/Partial.d.ts +18 -0
- package/model/Partial.js +9 -0
- package/model/Prescription.d.ts +3 -1
- package/model/PrescriptionFullWithFeedback.d.ts +4 -0
- package/model/Telecom.d.ts +3 -1
- package/model/Telecom.js +3 -1
- package/model/models.d.ts +2 -0
- package/model/models.js +2 -0
- package/package.json +1 -1
package/api/fhcRecipeApi.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import { XHR } from "./XHR";
|
|
|
13
13
|
import { Code } from "../model/Code";
|
|
14
14
|
import { Feedback } from "../model/Feedback";
|
|
15
15
|
import { GetPrescriptionStatusResult } from "../model/GetPrescriptionStatusResult";
|
|
16
|
+
import { ListPrescriptionsResult } from "../model/ListPrescriptionsResult";
|
|
16
17
|
import { Prescription } from "../model/Prescription";
|
|
17
18
|
import { PrescriptionFullWithFeedback } from "../model/PrescriptionFullWithFeedback";
|
|
18
19
|
import { PrescriptionRequest } from "../model/PrescriptionRequest";
|
|
@@ -120,20 +121,20 @@ export declare class fhcRecipeApi {
|
|
|
120
121
|
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
121
122
|
* @param hcpNihii hcpNihii
|
|
122
123
|
* @param patientId patientId
|
|
123
|
-
* @param prescriberId
|
|
124
|
-
* @param from
|
|
125
|
-
* @param toInclusive
|
|
126
|
-
* @param statuses
|
|
127
|
-
* @param expiringFrom
|
|
128
|
-
* @param expiringToInclusive
|
|
129
|
-
* @param pageYear
|
|
130
|
-
* @param pageMonth
|
|
131
|
-
* @param pageNumber
|
|
124
|
+
* @param prescriberId prescriberId
|
|
125
|
+
* @param from from
|
|
126
|
+
* @param toInclusive toInclusive
|
|
127
|
+
* @param statuses statuses
|
|
128
|
+
* @param expiringFrom expiringFrom
|
|
129
|
+
* @param expiringToInclusive expiringToInclusive
|
|
130
|
+
* @param pageYear pageYear
|
|
131
|
+
* @param pageMonth pageMonth
|
|
132
|
+
* @param pageNumber pageNumber
|
|
132
133
|
* @param hcpQuality hcpQuality
|
|
133
134
|
* @param hcpSsin hcpSsin
|
|
134
135
|
* @param hcpName hcpName
|
|
135
136
|
*/
|
|
136
|
-
listPrescriptionsByPatientUsingGET(xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpNihii: string, patientId: string, prescriberId?: string, from?: number, toInclusive?: number, statuses?: string, expiringFrom?: number, expiringToInclusive?: number, pageYear?: number, pageMonth?: number, pageNumber?: number, hcpQuality?: string, hcpSsin?: string, hcpName?: string): Promise<
|
|
137
|
+
listPrescriptionsByPatientUsingGET(xFHCKeystoreId: string, xFHCTokenId: string, xFHCPassPhrase: string, hcpNihii: string, patientId: string, prescriberId?: string, from?: number, toInclusive?: number, statuses?: string, expiringFrom?: number, expiringToInclusive?: number, pageYear?: number, pageMonth?: number, pageNumber?: number, hcpQuality?: string, hcpSsin?: string, hcpName?: string): Promise<ListPrescriptionsResult>;
|
|
137
138
|
/**
|
|
138
139
|
*
|
|
139
140
|
* @summary revokePrescription
|
package/api/fhcRecipeApi.js
CHANGED
|
@@ -16,6 +16,7 @@ const XHR_1 = require("./XHR");
|
|
|
16
16
|
const Code_1 = require("../model/Code");
|
|
17
17
|
const Feedback_1 = require("../model/Feedback");
|
|
18
18
|
const GetPrescriptionStatusResult_1 = require("../model/GetPrescriptionStatusResult");
|
|
19
|
+
const ListPrescriptionsResult_1 = require("../model/ListPrescriptionsResult");
|
|
19
20
|
const Prescription_1 = require("../model/Prescription");
|
|
20
21
|
const PrescriptionFullWithFeedback_1 = require("../model/PrescriptionFullWithFeedback");
|
|
21
22
|
const PutVisionResult_1 = require("../model/PutVisionResult");
|
|
@@ -249,15 +250,15 @@ class fhcRecipeApi {
|
|
|
249
250
|
* @param xFHCPassPhrase X-FHC-passPhrase
|
|
250
251
|
* @param hcpNihii hcpNihii
|
|
251
252
|
* @param patientId patientId
|
|
252
|
-
* @param prescriberId
|
|
253
|
-
* @param from
|
|
254
|
-
* @param toInclusive
|
|
255
|
-
* @param statuses
|
|
256
|
-
* @param expiringFrom
|
|
257
|
-
* @param expiringToInclusive
|
|
258
|
-
* @param pageYear
|
|
259
|
-
* @param pageMonth
|
|
260
|
-
* @param pageNumber
|
|
253
|
+
* @param prescriberId prescriberId
|
|
254
|
+
* @param from from
|
|
255
|
+
* @param toInclusive toInclusive
|
|
256
|
+
* @param statuses statuses
|
|
257
|
+
* @param expiringFrom expiringFrom
|
|
258
|
+
* @param expiringToInclusive expiringToInclusive
|
|
259
|
+
* @param pageYear pageYear
|
|
260
|
+
* @param pageMonth pageMonth
|
|
261
|
+
* @param pageNumber pageNumber
|
|
261
262
|
* @param hcpQuality hcpQuality
|
|
262
263
|
* @param hcpSsin hcpSsin
|
|
263
264
|
* @param hcpName hcpName
|
|
@@ -289,7 +290,7 @@ class fhcRecipeApi {
|
|
|
289
290
|
xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
|
|
290
291
|
xFHCPassPhrase && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-passPhrase", xFHCPassPhrase)));
|
|
291
292
|
return XHR_1.XHR.sendCommand("GET", _url, headers, _body, this.fetchImpl)
|
|
292
|
-
.then(doc =>
|
|
293
|
+
.then(doc => new ListPrescriptionsResult_1.ListPrescriptionsResult(doc.body))
|
|
293
294
|
.catch(err => this.handleError(err));
|
|
294
295
|
}
|
|
295
296
|
/**
|
|
@@ -377,7 +378,7 @@ class fhcRecipeApi {
|
|
|
377
378
|
"?ts=" +
|
|
378
379
|
new Date().getTime() +
|
|
379
380
|
(vision ? "&vision=" + encodeURIComponent(String(vision)) : "") +
|
|
380
|
-
(
|
|
381
|
+
(visionOthers ? "&visionOthers=" + encodeURIComponent(String(visionOthers)) : "");
|
|
381
382
|
let headers = this.headers;
|
|
382
383
|
xFHCKeystoreId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-keystoreId", xFHCKeystoreId)));
|
|
383
384
|
xFHCTokenId && (headers = headers.concat(new XHR_1.XHR.Header("X-FHC-tokenId", xFHCTokenId)));
|
|
@@ -39,6 +39,8 @@ export declare class fhcTarificationApi {
|
|
|
39
39
|
* @param traineeSupervisorLastName traineeSupervisorLastName
|
|
40
40
|
* @param guardPostNihii guardPostNihii
|
|
41
41
|
* @param guardPostSsin guardPostSsin
|
|
42
|
+
* @param anatomy anatomy
|
|
43
|
+
* @param relatedService relatedService
|
|
42
44
|
*/
|
|
43
|
-
consultTarificationUsingPOST(ssin: string, xFHCTokenId: string, xFHCKeystoreId: string, xFHCPassPhrase: string, hcpFirstName: string, hcpLastName: string, hcpNihii: string, hcpSsin: string, date?: number, gmdNihii?: string, justification?: string, traineeSupervisorSsin?: string, traineeSupervisorNihii?: string, traineeSupervisorFirstName?: string, traineeSupervisorLastName?: string, guardPostNihii?: string, guardPostSsin?: string, body?: Array<string>): Promise<TarificationConsultationResult>;
|
|
45
|
+
consultTarificationUsingPOST(ssin: string, xFHCTokenId: string, xFHCKeystoreId: string, xFHCPassPhrase: string, hcpFirstName: string, hcpLastName: string, hcpNihii: string, hcpSsin: string, date?: number, gmdNihii?: string, justification?: string, traineeSupervisorSsin?: string, traineeSupervisorNihii?: string, traineeSupervisorFirstName?: string, traineeSupervisorLastName?: string, guardPostNihii?: string, guardPostSsin?: string, anatomy?: string, relatedService?: string, body?: Array<string>): Promise<TarificationConsultationResult>;
|
|
44
46
|
}
|
|
@@ -47,8 +47,10 @@ class fhcTarificationApi {
|
|
|
47
47
|
* @param traineeSupervisorLastName traineeSupervisorLastName
|
|
48
48
|
* @param guardPostNihii guardPostNihii
|
|
49
49
|
* @param guardPostSsin guardPostSsin
|
|
50
|
+
* @param anatomy anatomy
|
|
51
|
+
* @param relatedService relatedService
|
|
50
52
|
*/
|
|
51
|
-
consultTarificationUsingPOST(ssin, xFHCTokenId, xFHCKeystoreId, xFHCPassPhrase, hcpFirstName, hcpLastName, hcpNihii, hcpSsin, date, gmdNihii, justification, traineeSupervisorSsin, traineeSupervisorNihii, traineeSupervisorFirstName, traineeSupervisorLastName, guardPostNihii, guardPostSsin, body) {
|
|
53
|
+
consultTarificationUsingPOST(ssin, xFHCTokenId, xFHCKeystoreId, xFHCPassPhrase, hcpFirstName, hcpLastName, hcpNihii, hcpSsin, date, gmdNihii, justification, traineeSupervisorSsin, traineeSupervisorNihii, traineeSupervisorFirstName, traineeSupervisorLastName, guardPostNihii, guardPostSsin, anatomy, relatedService, body) {
|
|
52
54
|
let _body = null;
|
|
53
55
|
_body = body;
|
|
54
56
|
const _url = this.host +
|
|
@@ -75,7 +77,9 @@ class fhcTarificationApi {
|
|
|
75
77
|
? "&traineeSupervisorLastName=" + encodeURIComponent(String(traineeSupervisorLastName))
|
|
76
78
|
: "") +
|
|
77
79
|
(guardPostNihii ? "&guardPostNihii=" + encodeURIComponent(String(guardPostNihii)) : "") +
|
|
78
|
-
(guardPostSsin ? "&guardPostSsin=" + encodeURIComponent(String(guardPostSsin)) : "")
|
|
80
|
+
(guardPostSsin ? "&guardPostSsin=" + encodeURIComponent(String(guardPostSsin)) : "") +
|
|
81
|
+
(anatomy ? "&anatomy=" + encodeURIComponent(String(anatomy)) : "") +
|
|
82
|
+
(relatedService ? "&relatedService=" + encodeURIComponent(String(relatedService)) : "");
|
|
79
83
|
let headers = this.headers;
|
|
80
84
|
headers = headers
|
|
81
85
|
.filter(h => h.header !== "Content-Type")
|
package/model/InvoiceItem.d.ts
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Api Documentation
|
|
3
|
+
* Api Documentation
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { Partial } from "./Partial";
|
|
13
|
+
import { StatusType } from "./StatusType";
|
|
14
|
+
export declare class ListPrescriptionsResult {
|
|
15
|
+
constructor(json: JSON | any);
|
|
16
|
+
id?: string;
|
|
17
|
+
partial?: Partial;
|
|
18
|
+
status?: StatusType;
|
|
19
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListPrescriptionsResult = void 0;
|
|
4
|
+
class ListPrescriptionsResult {
|
|
5
|
+
constructor(json) {
|
|
6
|
+
Object.assign(this, json);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
exports.ListPrescriptionsResult = ListPrescriptionsResult;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Api Documentation
|
|
3
|
+
* Api Documentation
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { Prescription } from "./Prescription";
|
|
13
|
+
export declare class Partial {
|
|
14
|
+
constructor(json: JSON | any);
|
|
15
|
+
hasHidden?: boolean;
|
|
16
|
+
hasMoreResults?: boolean;
|
|
17
|
+
prescriptions?: Array<Prescription>;
|
|
18
|
+
}
|
package/model/Partial.js
ADDED
package/model/Prescription.d.ts
CHANGED
|
@@ -17,7 +17,9 @@ export declare class Prescription {
|
|
|
17
17
|
notificationWasSent?: boolean;
|
|
18
18
|
patientId?: string;
|
|
19
19
|
prescriberId?: string;
|
|
20
|
-
visionByOthers?: string;
|
|
21
20
|
requestXml?: string;
|
|
22
21
|
rid?: string;
|
|
22
|
+
status?: string;
|
|
23
|
+
validUntil?: number;
|
|
24
|
+
visionByOthers?: string;
|
|
23
25
|
}
|
|
@@ -24,6 +24,10 @@ export declare class PrescriptionFullWithFeedback {
|
|
|
24
24
|
notificationWasSent?: boolean;
|
|
25
25
|
patientId?: string;
|
|
26
26
|
patientName?: string;
|
|
27
|
+
prescriberId?: string;
|
|
27
28
|
requestXml?: string;
|
|
28
29
|
rid?: string;
|
|
30
|
+
status?: string;
|
|
31
|
+
validUntil?: Date;
|
|
32
|
+
visionByOthers?: string;
|
|
29
33
|
}
|
package/model/Telecom.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export declare class Telecom {
|
|
|
15
15
|
telecomNumber?: string;
|
|
16
16
|
}
|
|
17
17
|
export declare namespace Telecom {
|
|
18
|
-
type TelecomTypeEnum = "mobile" | "phone" | "email" | "fax" | "skype" | "im" | "medibridge" | "ehealthbox" | "apicrypt" | "web" | "print" | "disk";
|
|
18
|
+
type TelecomTypeEnum = "mobile" | "phone" | "email" | "fax" | "skype" | "im" | "medibridge" | "ehealthbox" | "apicrypt" | "web" | "print" | "disk" | "other" | "pager";
|
|
19
19
|
const TelecomTypeEnum: {
|
|
20
20
|
Mobile: TelecomTypeEnum;
|
|
21
21
|
Phone: TelecomTypeEnum;
|
|
@@ -29,5 +29,7 @@ export declare namespace Telecom {
|
|
|
29
29
|
Web: TelecomTypeEnum;
|
|
30
30
|
Print: TelecomTypeEnum;
|
|
31
31
|
Disk: TelecomTypeEnum;
|
|
32
|
+
Other: TelecomTypeEnum;
|
|
33
|
+
Pager: TelecomTypeEnum;
|
|
32
34
|
};
|
|
33
35
|
}
|
package/model/Telecom.js
CHANGED
package/model/models.d.ts
CHANGED
|
@@ -253,6 +253,7 @@ export * from "./LOCAL";
|
|
|
253
253
|
export * from "./LegalCohabitationBaseType";
|
|
254
254
|
export * from "./LegalCohabitationRegistrationType";
|
|
255
255
|
export * from "./LifecycleType";
|
|
256
|
+
export * from "./ListPrescriptionsResult";
|
|
256
257
|
export * from "./LnkType";
|
|
257
258
|
export * from "./LocalisedString";
|
|
258
259
|
export * from "./LocalitemattributeType";
|
|
@@ -318,6 +319,7 @@ export * from "./Paginationrequestinfo";
|
|
|
318
319
|
export * from "./Paginationresponseinfo";
|
|
319
320
|
export * from "./ParagraphInfos";
|
|
320
321
|
export * from "./ParagraphPreview";
|
|
322
|
+
export * from "./Partial";
|
|
321
323
|
export * from "./PartnerType";
|
|
322
324
|
export * from "./Patient";
|
|
323
325
|
export * from "./PatientId";
|
package/model/models.js
CHANGED
|
@@ -265,6 +265,7 @@ __exportStar(require("./LOCAL"), exports);
|
|
|
265
265
|
__exportStar(require("./LegalCohabitationBaseType"), exports);
|
|
266
266
|
__exportStar(require("./LegalCohabitationRegistrationType"), exports);
|
|
267
267
|
__exportStar(require("./LifecycleType"), exports);
|
|
268
|
+
__exportStar(require("./ListPrescriptionsResult"), exports);
|
|
268
269
|
__exportStar(require("./LnkType"), exports);
|
|
269
270
|
__exportStar(require("./LocalisedString"), exports);
|
|
270
271
|
__exportStar(require("./LocalitemattributeType"), exports);
|
|
@@ -330,6 +331,7 @@ __exportStar(require("./Paginationrequestinfo"), exports);
|
|
|
330
331
|
__exportStar(require("./Paginationresponseinfo"), exports);
|
|
331
332
|
__exportStar(require("./ParagraphInfos"), exports);
|
|
332
333
|
__exportStar(require("./ParagraphPreview"), exports);
|
|
334
|
+
__exportStar(require("./Partial"), exports);
|
|
333
335
|
__exportStar(require("./PartnerType"), exports);
|
|
334
336
|
__exportStar(require("./Patient"), exports);
|
|
335
337
|
__exportStar(require("./PatientId"), exports);
|