@radocc/svc-assessment-order-contract 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +130 -0
- package/index.js +3 -0
- package/index.js.map +1 -0
- package/package.json +8 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
export interface paths {
|
|
2
|
+
"/health": {
|
|
3
|
+
get: operations["AppController_getAppHealth"];
|
|
4
|
+
};
|
|
5
|
+
"/": {
|
|
6
|
+
post: operations["AssessmentOrderController_createAssessmentOrder"];
|
|
7
|
+
};
|
|
8
|
+
"/patient/{patientId}/active": {
|
|
9
|
+
get: operations["PatientController_getActiveOrders"];
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export type webhooks = Record<string, never>;
|
|
13
|
+
export interface components {
|
|
14
|
+
schemas: {
|
|
15
|
+
AssessmentOrderRecordIdDto: {
|
|
16
|
+
id: string;
|
|
17
|
+
type: "SOURCE_SYSTEM";
|
|
18
|
+
};
|
|
19
|
+
AssessmentOrderItemCreateDto: {
|
|
20
|
+
templateId: number;
|
|
21
|
+
listItemId: number;
|
|
22
|
+
recordIds: components["schemas"]["AssessmentOrderRecordIdDto"][];
|
|
23
|
+
priority: "NORMAL" | "HIGH";
|
|
24
|
+
sortPosition?: number;
|
|
25
|
+
instructions: string;
|
|
26
|
+
comments?: string;
|
|
27
|
+
};
|
|
28
|
+
AssessmentOrderParticipationCreateDto: {
|
|
29
|
+
playerId: number;
|
|
30
|
+
roleId: number;
|
|
31
|
+
startdedOn?: string;
|
|
32
|
+
endedOn?: string;
|
|
33
|
+
comments?: string;
|
|
34
|
+
};
|
|
35
|
+
AssessmentOrderCreateDto: {
|
|
36
|
+
integrationId?: string;
|
|
37
|
+
clientKey: string;
|
|
38
|
+
patientId: number;
|
|
39
|
+
priority: "NORMAL" | "HIGH";
|
|
40
|
+
instructions?: string;
|
|
41
|
+
comments?: string;
|
|
42
|
+
orderedOn?: string;
|
|
43
|
+
expiresOn?: string;
|
|
44
|
+
clientRole: "NONE" | "ORDERER" | "EXECUTER";
|
|
45
|
+
recordIds: components["schemas"]["AssessmentOrderRecordIdDto"][];
|
|
46
|
+
items: components["schemas"]["AssessmentOrderItemCreateDto"][];
|
|
47
|
+
participations: components["schemas"]["AssessmentOrderParticipationCreateDto"][];
|
|
48
|
+
};
|
|
49
|
+
AssessmentOrderItemResponseDto: {
|
|
50
|
+
id: number;
|
|
51
|
+
templateId: number;
|
|
52
|
+
listItemId: number;
|
|
53
|
+
priority: "NORMAL" | "HIGH";
|
|
54
|
+
sortPosition?: number;
|
|
55
|
+
instructions: string;
|
|
56
|
+
comments?: string;
|
|
57
|
+
};
|
|
58
|
+
AssessmentOrderParticipationResponseDto: {
|
|
59
|
+
id: number;
|
|
60
|
+
playerId: number;
|
|
61
|
+
roleId: number;
|
|
62
|
+
startdedOn?: string;
|
|
63
|
+
endedOn?: string;
|
|
64
|
+
comments?: string;
|
|
65
|
+
};
|
|
66
|
+
AssessmentOrderResponseDto: {
|
|
67
|
+
id: number;
|
|
68
|
+
type: "CLINICAL_ANALYSIS";
|
|
69
|
+
priority: "NORMAL" | "HIGH";
|
|
70
|
+
instructions?: string;
|
|
71
|
+
comments?: string;
|
|
72
|
+
key: string;
|
|
73
|
+
integrationId?: string;
|
|
74
|
+
orderedOn?: string;
|
|
75
|
+
expiresOn?: string;
|
|
76
|
+
createdOn: string;
|
|
77
|
+
updatedOn: string;
|
|
78
|
+
deletedOn?: string;
|
|
79
|
+
inactivatedOn?: string;
|
|
80
|
+
isActive: boolean;
|
|
81
|
+
patientId: number;
|
|
82
|
+
items: components["schemas"]["AssessmentOrderItemResponseDto"][];
|
|
83
|
+
participations: components["schemas"]["AssessmentOrderParticipationResponseDto"][];
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
responses: never;
|
|
87
|
+
parameters: never;
|
|
88
|
+
requestBodies: never;
|
|
89
|
+
headers: never;
|
|
90
|
+
pathItems: never;
|
|
91
|
+
}
|
|
92
|
+
export type $defs = Record<string, never>;
|
|
93
|
+
export type external = Record<string, never>;
|
|
94
|
+
export interface operations {
|
|
95
|
+
AppController_getAppHealth: {
|
|
96
|
+
responses: {
|
|
97
|
+
200: {
|
|
98
|
+
content: never;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
AssessmentOrderController_createAssessmentOrder: {
|
|
103
|
+
requestBody: {
|
|
104
|
+
content: {
|
|
105
|
+
"application/json": components["schemas"]["AssessmentOrderCreateDto"];
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
responses: {
|
|
109
|
+
201: {
|
|
110
|
+
content: {
|
|
111
|
+
"application/json": components["schemas"]["AssessmentOrderResponseDto"];
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
PatientController_getActiveOrders: {
|
|
117
|
+
parameters: {
|
|
118
|
+
path: {
|
|
119
|
+
patientId: number;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
responses: {
|
|
123
|
+
201: {
|
|
124
|
+
content: {
|
|
125
|
+
"application/json": components["schemas"]["AssessmentOrderResponseDto"][];
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
}
|
package/index.js
ADDED
package/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/contract/index.ts"],"names":[],"mappings":""}
|