@nyrra/prismantix-oac-pharma 0.0.1
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 +30 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.mjs +1 -0
- package/dist/lib/prismantix/externalObjects.d.mts +3 -0
- package/dist/lib/prismantix/externalObjects.mjs +16 -0
- package/dist/lib/prismantix/index.d.mts +20 -0
- package/dist/lib/prismantix/index.mjs +29 -0
- package/dist/lib/prismantix/links.d.mts +27 -0
- package/dist/lib/prismantix/links.mjs +456 -0
- package/dist/lib/prismantix/objects/index.d.mts +2 -0
- package/dist/lib/prismantix/objects/index.mjs +2 -0
- package/dist/lib/prismantix/objects/masterData/Batch.d.mts +1 -0
- package/dist/lib/prismantix/objects/masterData/Batch.mjs +263 -0
- package/dist/lib/prismantix/objects/masterData/Equipment.d.mts +1 -0
- package/dist/lib/prismantix/objects/masterData/Equipment.mjs +126 -0
- package/dist/lib/prismantix/objects/masterData/Product.d.mts +1 -0
- package/dist/lib/prismantix/objects/masterData/Product.mjs +155 -0
- package/dist/lib/prismantix/objects/masterData/Site.d.mts +1 -0
- package/dist/lib/prismantix/objects/masterData/Site.mjs +182 -0
- package/dist/lib/prismantix/objects/masterData/Supplier.d.mts +1 -0
- package/dist/lib/prismantix/objects/masterData/Supplier.mjs +202 -0
- package/dist/lib/prismantix/objects/masterData/index.d.mts +6 -0
- package/dist/lib/prismantix/objects/masterData/index.mjs +17 -0
- package/dist/lib/prismantix/objects/quality/ActionItem.d.mts +1 -0
- package/dist/lib/prismantix/objects/quality/ActionItem.mjs +144 -0
- package/dist/lib/prismantix/objects/quality/Capa.d.mts +1 -0
- package/dist/lib/prismantix/objects/quality/Capa.mjs +286 -0
- package/dist/lib/prismantix/objects/quality/ChangeControl.d.mts +1 -0
- package/dist/lib/prismantix/objects/quality/ChangeControl.mjs +212 -0
- package/dist/lib/prismantix/objects/quality/ChangeControlApproval.d.mts +1 -0
- package/dist/lib/prismantix/objects/quality/ChangeControlApproval.mjs +122 -0
- package/dist/lib/prismantix/objects/quality/ChangeControlEffectiveness.d.mts +1 -0
- package/dist/lib/prismantix/objects/quality/ChangeControlEffectiveness.mjs +130 -0
- package/dist/lib/prismantix/objects/quality/ChangeControlImpact.d.mts +1 -0
- package/dist/lib/prismantix/objects/quality/ChangeControlImpact.mjs +150 -0
- package/dist/lib/prismantix/objects/quality/Complaint.d.mts +1 -0
- package/dist/lib/prismantix/objects/quality/Complaint.mjs +206 -0
- package/dist/lib/prismantix/objects/quality/Deviation.d.mts +1 -0
- package/dist/lib/prismantix/objects/quality/Deviation.mjs +212 -0
- package/dist/lib/prismantix/objects/quality/Investigation.d.mts +1 -0
- package/dist/lib/prismantix/objects/quality/Investigation.mjs +235 -0
- package/dist/lib/prismantix/objects/quality/RcaFactor.d.mts +1 -0
- package/dist/lib/prismantix/objects/quality/RcaFactor.mjs +89 -0
- package/dist/lib/prismantix/objects/quality/index.d.mts +11 -0
- package/dist/lib/prismantix/objects/quality/index.mjs +32 -0
- package/dist/lib/prismantix/valueTypes.d.mts +46 -0
- package/dist/lib/prismantix/valueTypes.mjs +586 -0
- package/package.json +49 -0
|
@@ -0,0 +1,586 @@
|
|
|
1
|
+
import { defineValueType } from "@nyrra/maker";
|
|
2
|
+
export const EpochMillisValueType = defineValueType({
|
|
3
|
+
apiName: "EpochMillis",
|
|
4
|
+
description: "Unix epoch timestamp in milliseconds.",
|
|
5
|
+
displayName: "Epoch Milliseconds",
|
|
6
|
+
exampleValues: [1707436800000],
|
|
7
|
+
type: {
|
|
8
|
+
type: "integer",
|
|
9
|
+
},
|
|
10
|
+
});
|
|
11
|
+
export const IsoTimestampStringValueType = defineValueType({
|
|
12
|
+
apiName: "IsoTimestampString",
|
|
13
|
+
description: "ISO 8601 timestamp string.",
|
|
14
|
+
displayName: "ISO Timestamp String",
|
|
15
|
+
exampleValues: ["2025-03-15T00:00:00Z"],
|
|
16
|
+
type: {
|
|
17
|
+
type: "string",
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
export const SiteRegionValueType = defineValueType({
|
|
21
|
+
apiName: "SiteRegion",
|
|
22
|
+
description: "Geographic region for global pharmaceutical presence",
|
|
23
|
+
displayName: "Region",
|
|
24
|
+
exampleValues: ["North America", "Europe", "Asia Pacific"],
|
|
25
|
+
type: {
|
|
26
|
+
type: "enum",
|
|
27
|
+
values: [
|
|
28
|
+
"North America",
|
|
29
|
+
"Europe",
|
|
30
|
+
"Asia Pacific",
|
|
31
|
+
"Latin America",
|
|
32
|
+
"Middle East & Africa",
|
|
33
|
+
],
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
export const SiteSiteTypeValueType = defineValueType({
|
|
37
|
+
apiName: "SiteSiteType",
|
|
38
|
+
description: "Type of pharmaceutical facility operations",
|
|
39
|
+
displayName: "Site Type",
|
|
40
|
+
exampleValues: ["Manufacturing", "R&D"],
|
|
41
|
+
type: {
|
|
42
|
+
type: "enum",
|
|
43
|
+
values: ["Manufacturing", "Packaging", "R&D", "Distribution"],
|
|
44
|
+
},
|
|
45
|
+
});
|
|
46
|
+
export const SiteStatusValueType = defineValueType({
|
|
47
|
+
apiName: "SiteStatus",
|
|
48
|
+
description: "Operational status of the facility",
|
|
49
|
+
displayName: "Status",
|
|
50
|
+
exampleValues: ["Active"],
|
|
51
|
+
type: {
|
|
52
|
+
type: "enum",
|
|
53
|
+
values: ["Active", "Inactive"],
|
|
54
|
+
},
|
|
55
|
+
});
|
|
56
|
+
export const SiteValidationStatusValueType = defineValueType({
|
|
57
|
+
apiName: "SiteValidationStatus",
|
|
58
|
+
description: "Regulatory validation status",
|
|
59
|
+
displayName: "Validation Status",
|
|
60
|
+
exampleValues: ["Validated", "In Progress"],
|
|
61
|
+
type: {
|
|
62
|
+
type: "enum",
|
|
63
|
+
values: ["Validated", "In Progress", "Pending"],
|
|
64
|
+
},
|
|
65
|
+
});
|
|
66
|
+
export const ProductDevelopmentStageValueType = defineValueType({
|
|
67
|
+
apiName: "ProductDevelopmentStage",
|
|
68
|
+
description: "Current development/lifecycle stage",
|
|
69
|
+
displayName: "Development Stage",
|
|
70
|
+
exampleValues: ["Commercial"],
|
|
71
|
+
type: {
|
|
72
|
+
type: "enum",
|
|
73
|
+
values: ["Commercial", "Phase III", "Phase II", "Phase I", "Preclinical"],
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
export const ProductDosageFormValueType = defineValueType({
|
|
77
|
+
apiName: "ProductDosageForm",
|
|
78
|
+
description: "Pharmaceutical dosage form that matches the product type",
|
|
79
|
+
displayName: "Dosage Form",
|
|
80
|
+
exampleValues: ["Pre-filled Pen", "Tablet"],
|
|
81
|
+
type: {
|
|
82
|
+
type: "enum",
|
|
83
|
+
values: [
|
|
84
|
+
"Tablet",
|
|
85
|
+
"Capsule",
|
|
86
|
+
"Injection",
|
|
87
|
+
"Pre-filled Pen",
|
|
88
|
+
"Vial",
|
|
89
|
+
"Inhaler",
|
|
90
|
+
"Cream",
|
|
91
|
+
"Ointment",
|
|
92
|
+
"Solution",
|
|
93
|
+
"Suspension",
|
|
94
|
+
"Patch",
|
|
95
|
+
"Suppository",
|
|
96
|
+
],
|
|
97
|
+
},
|
|
98
|
+
});
|
|
99
|
+
export const ProductProductTypeValueType = defineValueType({
|
|
100
|
+
apiName: "ProductProductType",
|
|
101
|
+
description: "Product classification type",
|
|
102
|
+
displayName: "Product Type",
|
|
103
|
+
exampleValues: ["Branded"],
|
|
104
|
+
type: {
|
|
105
|
+
type: "enum",
|
|
106
|
+
values: ["Branded", "Generic", "Biosimilar", "OTC"],
|
|
107
|
+
},
|
|
108
|
+
});
|
|
109
|
+
export const ProductRegulatoryStatusValueType = defineValueType({
|
|
110
|
+
apiName: "ProductRegulatoryStatus",
|
|
111
|
+
description: "Current regulatory status",
|
|
112
|
+
displayName: "Regulatory Status",
|
|
113
|
+
exampleValues: ["Active"],
|
|
114
|
+
type: {
|
|
115
|
+
type: "enum",
|
|
116
|
+
values: [
|
|
117
|
+
"Active",
|
|
118
|
+
"Discontinued",
|
|
119
|
+
"Under Review",
|
|
120
|
+
"Pending Approval",
|
|
121
|
+
"Withdrawn",
|
|
122
|
+
],
|
|
123
|
+
},
|
|
124
|
+
});
|
|
125
|
+
export const ProductTherapeuticAreaValueType = defineValueType({
|
|
126
|
+
apiName: "ProductTherapeuticArea",
|
|
127
|
+
description: "Primary therapeutic area that matches the product's indication",
|
|
128
|
+
displayName: "Therapeutic Area",
|
|
129
|
+
exampleValues: ["Diabetes Care", "Oncology"],
|
|
130
|
+
type: {
|
|
131
|
+
type: "enum",
|
|
132
|
+
values: [
|
|
133
|
+
"Diabetes Care",
|
|
134
|
+
"Oncology",
|
|
135
|
+
"Immunology",
|
|
136
|
+
"Neuroscience",
|
|
137
|
+
"Cardiovascular",
|
|
138
|
+
"Respiratory",
|
|
139
|
+
"Anti-infectives",
|
|
140
|
+
"Gastroenterology",
|
|
141
|
+
"Dermatology",
|
|
142
|
+
"Rare Diseases",
|
|
143
|
+
],
|
|
144
|
+
},
|
|
145
|
+
});
|
|
146
|
+
export const EquipmentStatusValueType = defineValueType({
|
|
147
|
+
apiName: "EquipmentStatus",
|
|
148
|
+
description: "Operational status",
|
|
149
|
+
displayName: "Status",
|
|
150
|
+
exampleValues: ["Active", "UnderMaintenance", "CalDue"],
|
|
151
|
+
type: {
|
|
152
|
+
type: "enum",
|
|
153
|
+
values: ["Active", "Inactive", "UnderMaintenance", "CalDue"],
|
|
154
|
+
},
|
|
155
|
+
});
|
|
156
|
+
export const SupplierCategoryValueType = defineValueType({
|
|
157
|
+
apiName: "SupplierCategory",
|
|
158
|
+
description: "Criticality classification based on impact to pharmaceutical operations",
|
|
159
|
+
displayName: "Category",
|
|
160
|
+
exampleValues: ["Critical", "Major"],
|
|
161
|
+
type: {
|
|
162
|
+
type: "enum",
|
|
163
|
+
values: ["Critical", "Major", "Minor"],
|
|
164
|
+
},
|
|
165
|
+
});
|
|
166
|
+
export const SupplierCertificationStatusValueType = defineValueType({
|
|
167
|
+
apiName: "SupplierCertificationStatus",
|
|
168
|
+
description: "Current pharmaceutical quality certification status",
|
|
169
|
+
displayName: "Certification Status",
|
|
170
|
+
exampleValues: ["Certified", "Pending"],
|
|
171
|
+
type: {
|
|
172
|
+
type: "enum",
|
|
173
|
+
values: ["Certified", "Pending", "Expired", "Suspended"],
|
|
174
|
+
},
|
|
175
|
+
});
|
|
176
|
+
export const SupplierStatusValueType = defineValueType({
|
|
177
|
+
apiName: "SupplierStatus",
|
|
178
|
+
description: "Current business relationship status",
|
|
179
|
+
displayName: "Status",
|
|
180
|
+
exampleValues: ["Active"],
|
|
181
|
+
type: {
|
|
182
|
+
type: "enum",
|
|
183
|
+
values: ["Active", "Inactive"],
|
|
184
|
+
},
|
|
185
|
+
});
|
|
186
|
+
export const SupplierSupplierTypeValueType = defineValueType({
|
|
187
|
+
apiName: "SupplierSupplierType",
|
|
188
|
+
description: "Primary type of materials or services provided to pharmaceutical manufacturers",
|
|
189
|
+
displayName: "Supplier Type",
|
|
190
|
+
exampleValues: ["Services", "API", "Excipient", "Packaging", "Equipment"],
|
|
191
|
+
type: {
|
|
192
|
+
type: "enum",
|
|
193
|
+
values: ["API", "Excipient", "Packaging", "Equipment", "Services"],
|
|
194
|
+
},
|
|
195
|
+
});
|
|
196
|
+
export const BatchBatchSizeUnitValueType = defineValueType({
|
|
197
|
+
apiName: "BatchBatchSizeUnit",
|
|
198
|
+
description: "Unit of measurement for batch size",
|
|
199
|
+
displayName: "Batch Size Unit",
|
|
200
|
+
exampleValues: ["tablets", "kg", "vials"],
|
|
201
|
+
type: {
|
|
202
|
+
type: "enum",
|
|
203
|
+
values: ["tablets", "capsules", "vials", "kg", "L", "units"],
|
|
204
|
+
},
|
|
205
|
+
});
|
|
206
|
+
export const BatchReleaseStatusValueType = defineValueType({
|
|
207
|
+
apiName: "BatchReleaseStatus",
|
|
208
|
+
description: "Quality release status for the batch",
|
|
209
|
+
displayName: "Release Status",
|
|
210
|
+
exampleValues: ["Approved", "On Hold", "Pending"],
|
|
211
|
+
type: {
|
|
212
|
+
type: "enum",
|
|
213
|
+
values: ["Pending", "Approved", "Rejected", "On Hold"],
|
|
214
|
+
},
|
|
215
|
+
});
|
|
216
|
+
export const BatchStatusValueType = defineValueType({
|
|
217
|
+
apiName: "BatchStatus",
|
|
218
|
+
description: "Current batch status in quality control workflow",
|
|
219
|
+
displayName: "Status",
|
|
220
|
+
exampleValues: ["Released", "Quarantined", "In Testing"],
|
|
221
|
+
type: {
|
|
222
|
+
type: "enum",
|
|
223
|
+
values: [
|
|
224
|
+
"In Process",
|
|
225
|
+
"In Testing",
|
|
226
|
+
"Quarantined",
|
|
227
|
+
"Released",
|
|
228
|
+
"Rejected",
|
|
229
|
+
"Expired",
|
|
230
|
+
],
|
|
231
|
+
},
|
|
232
|
+
});
|
|
233
|
+
export const DeviationCategoryValueType = defineValueType({
|
|
234
|
+
apiName: "DeviationCategory",
|
|
235
|
+
description: "Classification category of the deviation",
|
|
236
|
+
displayName: "Category",
|
|
237
|
+
exampleValues: ["Environmental", "Process", "Equipment"],
|
|
238
|
+
type: {
|
|
239
|
+
type: "enum",
|
|
240
|
+
values: [
|
|
241
|
+
"Process",
|
|
242
|
+
"Equipment",
|
|
243
|
+
"Documentation",
|
|
244
|
+
"Material",
|
|
245
|
+
"Environmental",
|
|
246
|
+
"Other",
|
|
247
|
+
],
|
|
248
|
+
},
|
|
249
|
+
});
|
|
250
|
+
export const DeviationSeverityValueType = defineValueType({
|
|
251
|
+
apiName: "DeviationSeverity",
|
|
252
|
+
description: "Severity level based on potential impact to product quality and patient safety",
|
|
253
|
+
displayName: "Severity",
|
|
254
|
+
exampleValues: ["Major", "Critical"],
|
|
255
|
+
type: {
|
|
256
|
+
type: "enum",
|
|
257
|
+
values: ["Critical", "Major", "Minor"],
|
|
258
|
+
},
|
|
259
|
+
});
|
|
260
|
+
export const DeviationStatusValueType = defineValueType({
|
|
261
|
+
apiName: "DeviationStatus",
|
|
262
|
+
description: "Current status in the deviation management workflow",
|
|
263
|
+
displayName: "Status",
|
|
264
|
+
exampleValues: ["Under Investigation", "CAPA Required", "Closed"],
|
|
265
|
+
type: {
|
|
266
|
+
type: "enum",
|
|
267
|
+
values: ["Open", "Under Investigation", "CAPA Required", "Closed"],
|
|
268
|
+
},
|
|
269
|
+
});
|
|
270
|
+
export const ComplaintComplaintTypeValueType = defineValueType({
|
|
271
|
+
apiName: "ComplaintComplaintType",
|
|
272
|
+
description: "Primary classification of the complaint type",
|
|
273
|
+
displayName: "Complaint Type",
|
|
274
|
+
exampleValues: ["Product Quality", "Adverse Event", "Packaging", "Efficacy"],
|
|
275
|
+
type: {
|
|
276
|
+
type: "enum",
|
|
277
|
+
values: [
|
|
278
|
+
"Product Quality",
|
|
279
|
+
"Adverse Event",
|
|
280
|
+
"Packaging",
|
|
281
|
+
"Labeling",
|
|
282
|
+
"Efficacy",
|
|
283
|
+
],
|
|
284
|
+
},
|
|
285
|
+
});
|
|
286
|
+
export const ComplaintReporterTypeValueType = defineValueType({
|
|
287
|
+
apiName: "ComplaintReporterType",
|
|
288
|
+
description: "Type of person or entity reporting the complaint",
|
|
289
|
+
displayName: "Reporter Type",
|
|
290
|
+
exampleValues: ["Patient", "Healthcare Professional", "Distributor"],
|
|
291
|
+
type: {
|
|
292
|
+
type: "enum",
|
|
293
|
+
values: ["Healthcare Professional", "Patient", "Distributor", "Regulatory"],
|
|
294
|
+
},
|
|
295
|
+
});
|
|
296
|
+
export const ComplaintSeverityValueType = defineValueType({
|
|
297
|
+
apiName: "ComplaintSeverity",
|
|
298
|
+
description: "Severity assessment based on potential patient impact",
|
|
299
|
+
displayName: "Severity",
|
|
300
|
+
exampleValues: ["Minor", "Major", "Critical"],
|
|
301
|
+
type: {
|
|
302
|
+
type: "enum",
|
|
303
|
+
values: ["Critical", "Major", "Minor"],
|
|
304
|
+
},
|
|
305
|
+
});
|
|
306
|
+
export const ComplaintStatusValueType = defineValueType({
|
|
307
|
+
apiName: "ComplaintStatus",
|
|
308
|
+
description: "Current status in complaint management workflow",
|
|
309
|
+
displayName: "Status",
|
|
310
|
+
exampleValues: ["Closed", "Investigation", "Under Review"],
|
|
311
|
+
type: {
|
|
312
|
+
type: "enum",
|
|
313
|
+
values: ["New", "Under Review", "Investigation", "Closed"],
|
|
314
|
+
},
|
|
315
|
+
});
|
|
316
|
+
export const InvestigationPriorityValueType = defineValueType({
|
|
317
|
+
apiName: "InvestigationPriority",
|
|
318
|
+
description: "Investigation priority based on potential impact and urgency",
|
|
319
|
+
displayName: "Priority",
|
|
320
|
+
exampleValues: ["High", "Medium"],
|
|
321
|
+
type: {
|
|
322
|
+
type: "enum",
|
|
323
|
+
values: ["High", "Medium", "Low"],
|
|
324
|
+
},
|
|
325
|
+
});
|
|
326
|
+
export const InvestigationStatusValueType = defineValueType({
|
|
327
|
+
apiName: "InvestigationStatus",
|
|
328
|
+
description: "Current status in investigation lifecycle",
|
|
329
|
+
displayName: "Status",
|
|
330
|
+
exampleValues: ["In Progress", "Completed", "Closed"],
|
|
331
|
+
type: {
|
|
332
|
+
type: "enum",
|
|
333
|
+
values: ["Planned", "In Progress", "Completed", "Closed"],
|
|
334
|
+
},
|
|
335
|
+
});
|
|
336
|
+
export const InvestigationTypeValueType = defineValueType({
|
|
337
|
+
apiName: "InvestigationType",
|
|
338
|
+
description: "Type of event or finding that triggered the investigation",
|
|
339
|
+
displayName: "Type",
|
|
340
|
+
exampleValues: ["Deviation", "OOS", "Complaint"],
|
|
341
|
+
type: {
|
|
342
|
+
type: "enum",
|
|
343
|
+
values: ["Deviation", "Complaint", "OOS", "Audit Finding"],
|
|
344
|
+
},
|
|
345
|
+
});
|
|
346
|
+
export const CapaCategoryValueType = defineValueType({
|
|
347
|
+
apiName: "CapaCategory",
|
|
348
|
+
description: "Primary category of the CAPA actions",
|
|
349
|
+
displayName: "Category",
|
|
350
|
+
exampleValues: ["System", "Process", "Equipment"],
|
|
351
|
+
type: {
|
|
352
|
+
type: "enum",
|
|
353
|
+
values: ["Process", "System", "Documentation", "Training", "Equipment"],
|
|
354
|
+
},
|
|
355
|
+
});
|
|
356
|
+
export const CapaPriorityValueType = defineValueType({
|
|
357
|
+
apiName: "CapaPriority",
|
|
358
|
+
description: "Priority level based on risk assessment and business impact",
|
|
359
|
+
displayName: "Priority",
|
|
360
|
+
exampleValues: ["High", "Critical", "Medium"],
|
|
361
|
+
type: {
|
|
362
|
+
type: "enum",
|
|
363
|
+
values: ["Critical", "High", "Medium", "Low"],
|
|
364
|
+
},
|
|
365
|
+
});
|
|
366
|
+
export const CapaSourceTypeValueType = defineValueType({
|
|
367
|
+
apiName: "CapaSourceType",
|
|
368
|
+
description: "Type of quality event that triggered the CAPA",
|
|
369
|
+
displayName: "Source Type",
|
|
370
|
+
exampleValues: ["Deviation", "Complaint"],
|
|
371
|
+
type: {
|
|
372
|
+
type: "enum",
|
|
373
|
+
values: ["Deviation", "Complaint", "Audit", "Management Review"],
|
|
374
|
+
},
|
|
375
|
+
});
|
|
376
|
+
export const CapaStatusValueType = defineValueType({
|
|
377
|
+
apiName: "CapaStatus",
|
|
378
|
+
description: "Current status in CAPA lifecycle management",
|
|
379
|
+
displayName: "Status",
|
|
380
|
+
exampleValues: ["In Progress", "Verification", "Closed", "Open"],
|
|
381
|
+
type: {
|
|
382
|
+
type: "enum",
|
|
383
|
+
values: ["Draft", "Open", "In Progress", "Verification", "Closed"],
|
|
384
|
+
},
|
|
385
|
+
});
|
|
386
|
+
export const CapaTypeValueType = defineValueType({
|
|
387
|
+
apiName: "CapaType",
|
|
388
|
+
description: 'Classification of action type (most should be "Both" for comprehensive approach)',
|
|
389
|
+
displayName: "Type",
|
|
390
|
+
exampleValues: ["Both"],
|
|
391
|
+
type: {
|
|
392
|
+
type: "enum",
|
|
393
|
+
values: ["Corrective", "Preventive", "Both"],
|
|
394
|
+
},
|
|
395
|
+
});
|
|
396
|
+
export const ActionItemStatusValueType = defineValueType({
|
|
397
|
+
apiName: "ActionItemStatus",
|
|
398
|
+
description: "Current status of the action item (use 'Late' for past due items)",
|
|
399
|
+
displayName: "Status",
|
|
400
|
+
exampleValues: ["Open", "InProgress"],
|
|
401
|
+
type: {
|
|
402
|
+
type: "enum",
|
|
403
|
+
values: ["Open", "InProgress", "Done", "Late"],
|
|
404
|
+
},
|
|
405
|
+
});
|
|
406
|
+
export const ChangeControlChangeCategoryValueType = defineValueType({
|
|
407
|
+
apiName: "ChangeControlChangeCategory",
|
|
408
|
+
description: "Primary category of the change",
|
|
409
|
+
displayName: "Change Category",
|
|
410
|
+
exampleValues: ["Document", "Equipment"],
|
|
411
|
+
type: {
|
|
412
|
+
type: "enum",
|
|
413
|
+
values: [
|
|
414
|
+
"Document",
|
|
415
|
+
"Process",
|
|
416
|
+
"Equipment",
|
|
417
|
+
"Supplier",
|
|
418
|
+
"ComputerSystem",
|
|
419
|
+
"Packaging",
|
|
420
|
+
"Other",
|
|
421
|
+
],
|
|
422
|
+
},
|
|
423
|
+
});
|
|
424
|
+
export const ChangeControlGxPImpactValueType = defineValueType({
|
|
425
|
+
apiName: "ChangeControlGxPImpact",
|
|
426
|
+
description: "Whether this is GxP impacting",
|
|
427
|
+
displayName: "GxP Impact",
|
|
428
|
+
exampleValues: ["GxP"],
|
|
429
|
+
type: {
|
|
430
|
+
type: "enum",
|
|
431
|
+
values: ["GxP", "Non-GxP"],
|
|
432
|
+
},
|
|
433
|
+
});
|
|
434
|
+
export const ChangeControlRiskAfterValueType = defineValueType({
|
|
435
|
+
apiName: "ChangeControlRiskAfter",
|
|
436
|
+
description: "Risk After for change control.",
|
|
437
|
+
displayName: "Risk After",
|
|
438
|
+
type: {
|
|
439
|
+
type: "enum",
|
|
440
|
+
values: ["Low", "Medium", "High"],
|
|
441
|
+
},
|
|
442
|
+
});
|
|
443
|
+
export const ChangeControlRiskBeforeValueType = defineValueType({
|
|
444
|
+
apiName: "ChangeControlRiskBefore",
|
|
445
|
+
description: "Risk level prior to change",
|
|
446
|
+
displayName: "Risk Before",
|
|
447
|
+
exampleValues: ["Medium", "High"],
|
|
448
|
+
type: {
|
|
449
|
+
type: "enum",
|
|
450
|
+
values: ["Low", "Medium", "High"],
|
|
451
|
+
},
|
|
452
|
+
});
|
|
453
|
+
export const ChangeControlStatusValueType = defineValueType({
|
|
454
|
+
apiName: "ChangeControlStatus",
|
|
455
|
+
description: "Current lifecycle status",
|
|
456
|
+
displayName: "Status",
|
|
457
|
+
exampleValues: ["ImpactAssessment", "ApprovalPending"],
|
|
458
|
+
type: {
|
|
459
|
+
type: "enum",
|
|
460
|
+
values: [
|
|
461
|
+
"Draft",
|
|
462
|
+
"ImpactAssessment",
|
|
463
|
+
"ApprovalPending",
|
|
464
|
+
"Approved",
|
|
465
|
+
"Implementation",
|
|
466
|
+
"Verification",
|
|
467
|
+
"Closed",
|
|
468
|
+
"Rejected",
|
|
469
|
+
],
|
|
470
|
+
},
|
|
471
|
+
});
|
|
472
|
+
export const ChangeControlImpactImpactAreaValueType = defineValueType({
|
|
473
|
+
apiName: "ChangeControlImpactImpactArea",
|
|
474
|
+
description: "Area impacted by the change",
|
|
475
|
+
displayName: "Impact Area",
|
|
476
|
+
exampleValues: ["Equipment", "Document"],
|
|
477
|
+
type: {
|
|
478
|
+
type: "enum",
|
|
479
|
+
values: [
|
|
480
|
+
"Product",
|
|
481
|
+
"Process",
|
|
482
|
+
"Equipment",
|
|
483
|
+
"Document",
|
|
484
|
+
"ComputerSystem",
|
|
485
|
+
"Supplier",
|
|
486
|
+
"Training",
|
|
487
|
+
"Validation",
|
|
488
|
+
"Other",
|
|
489
|
+
],
|
|
490
|
+
},
|
|
491
|
+
});
|
|
492
|
+
export const ChangeControlImpactImpactSeverityValueType = defineValueType({
|
|
493
|
+
apiName: "ChangeControlImpactImpactSeverity",
|
|
494
|
+
description: "Severity of the impact",
|
|
495
|
+
displayName: "Impact Severity",
|
|
496
|
+
exampleValues: ["High", "Medium"],
|
|
497
|
+
type: {
|
|
498
|
+
type: "enum",
|
|
499
|
+
values: ["Low", "Medium", "High"],
|
|
500
|
+
},
|
|
501
|
+
});
|
|
502
|
+
export const ChangeControlApprovalDecisionValueType = defineValueType({
|
|
503
|
+
apiName: "ChangeControlApprovalDecision",
|
|
504
|
+
description: "Approval decision",
|
|
505
|
+
displayName: "Decision",
|
|
506
|
+
exampleValues: ["Pending", "Approved", "Rejected"],
|
|
507
|
+
type: {
|
|
508
|
+
type: "enum",
|
|
509
|
+
values: ["Pending", "Approved", "Rejected"],
|
|
510
|
+
},
|
|
511
|
+
});
|
|
512
|
+
export const ChangeControlApprovalRoleValueType = defineValueType({
|
|
513
|
+
apiName: "ChangeControlApprovalRole",
|
|
514
|
+
description: "Approver role",
|
|
515
|
+
displayName: "Role",
|
|
516
|
+
exampleValues: ["QA", "Validation", "Regulatory"],
|
|
517
|
+
type: {
|
|
518
|
+
type: "enum",
|
|
519
|
+
values: [
|
|
520
|
+
"QA",
|
|
521
|
+
"Manufacturing",
|
|
522
|
+
"IT",
|
|
523
|
+
"Validation",
|
|
524
|
+
"SupplyChain",
|
|
525
|
+
"Regulatory",
|
|
526
|
+
"Other",
|
|
527
|
+
],
|
|
528
|
+
},
|
|
529
|
+
});
|
|
530
|
+
export const ChangeControlEffectivenessStatusValueType = defineValueType({
|
|
531
|
+
apiName: "ChangeControlEffectivenessStatus",
|
|
532
|
+
description: "Current status of effectiveness check",
|
|
533
|
+
displayName: "Status",
|
|
534
|
+
exampleValues: ["Scheduled"],
|
|
535
|
+
type: {
|
|
536
|
+
type: "enum",
|
|
537
|
+
values: ["Scheduled", "InProgress", "Completed", "NotEffective"],
|
|
538
|
+
},
|
|
539
|
+
});
|
|
540
|
+
export const PRISMANTIX_OAC_VALUE_TYPES = [
|
|
541
|
+
EpochMillisValueType,
|
|
542
|
+
IsoTimestampStringValueType,
|
|
543
|
+
SiteRegionValueType,
|
|
544
|
+
SiteSiteTypeValueType,
|
|
545
|
+
SiteStatusValueType,
|
|
546
|
+
SiteValidationStatusValueType,
|
|
547
|
+
ProductDevelopmentStageValueType,
|
|
548
|
+
ProductDosageFormValueType,
|
|
549
|
+
ProductProductTypeValueType,
|
|
550
|
+
ProductRegulatoryStatusValueType,
|
|
551
|
+
ProductTherapeuticAreaValueType,
|
|
552
|
+
EquipmentStatusValueType,
|
|
553
|
+
SupplierCategoryValueType,
|
|
554
|
+
SupplierCertificationStatusValueType,
|
|
555
|
+
SupplierStatusValueType,
|
|
556
|
+
SupplierSupplierTypeValueType,
|
|
557
|
+
BatchBatchSizeUnitValueType,
|
|
558
|
+
BatchReleaseStatusValueType,
|
|
559
|
+
BatchStatusValueType,
|
|
560
|
+
DeviationCategoryValueType,
|
|
561
|
+
DeviationSeverityValueType,
|
|
562
|
+
DeviationStatusValueType,
|
|
563
|
+
ComplaintComplaintTypeValueType,
|
|
564
|
+
ComplaintReporterTypeValueType,
|
|
565
|
+
ComplaintSeverityValueType,
|
|
566
|
+
ComplaintStatusValueType,
|
|
567
|
+
InvestigationPriorityValueType,
|
|
568
|
+
InvestigationStatusValueType,
|
|
569
|
+
InvestigationTypeValueType,
|
|
570
|
+
CapaCategoryValueType,
|
|
571
|
+
CapaPriorityValueType,
|
|
572
|
+
CapaSourceTypeValueType,
|
|
573
|
+
CapaStatusValueType,
|
|
574
|
+
CapaTypeValueType,
|
|
575
|
+
ActionItemStatusValueType,
|
|
576
|
+
ChangeControlChangeCategoryValueType,
|
|
577
|
+
ChangeControlGxPImpactValueType,
|
|
578
|
+
ChangeControlRiskAfterValueType,
|
|
579
|
+
ChangeControlRiskBeforeValueType,
|
|
580
|
+
ChangeControlStatusValueType,
|
|
581
|
+
ChangeControlImpactImpactAreaValueType,
|
|
582
|
+
ChangeControlImpactImpactSeverityValueType,
|
|
583
|
+
ChangeControlApprovalDecisionValueType,
|
|
584
|
+
ChangeControlApprovalRoleValueType,
|
|
585
|
+
ChangeControlEffectivenessStatusValueType,
|
|
586
|
+
];
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nyrra/prismantix-oac-pharma",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Authored Prismantix ontology-as-code source of truth built on @nyrra/maker.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/nyrra-labs/prismantix.git"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/nyrra-labs/prismantix#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/nyrra-labs/prismantix/issues"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"ontology",
|
|
17
|
+
"ontology-as-code",
|
|
18
|
+
"oac",
|
|
19
|
+
"pharma",
|
|
20
|
+
"prismantix"
|
|
21
|
+
],
|
|
22
|
+
"main": "./dist/index.mjs",
|
|
23
|
+
"module": "./dist/index.mjs",
|
|
24
|
+
"types": "./dist/index.d.mts",
|
|
25
|
+
"exports": {
|
|
26
|
+
"./package.json": "./package.json",
|
|
27
|
+
".": {
|
|
28
|
+
"@prismantix/source": "./src/index.mts",
|
|
29
|
+
"types": "./dist/index.d.mts",
|
|
30
|
+
"import": "./dist/index.mjs",
|
|
31
|
+
"default": "./dist/index.mjs"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"files": [
|
|
35
|
+
"dist",
|
|
36
|
+
"!dist/**/*.map",
|
|
37
|
+
"!**/*.tsbuildinfo"
|
|
38
|
+
],
|
|
39
|
+
"nx": {
|
|
40
|
+
"name": "prismantix-oac-pharma"
|
|
41
|
+
},
|
|
42
|
+
"publishConfig": {
|
|
43
|
+
"access": "public"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@nyrra/maker": "workspace:*",
|
|
47
|
+
"tslib": "^2.3.0"
|
|
48
|
+
}
|
|
49
|
+
}
|