Skip to content

Commit 004d1a2

Browse files
committed
remove redundant file
1 parent e6f1934 commit 004d1a2

File tree

3 files changed

+13
-18
lines changed

3 files changed

+13
-18
lines changed

lambdas/shared/src/common/validator/constants/enums.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ class ErrorLevels(IntEnum):
1010

1111

1212
MESSAGES = {
13-
ErrorLevels.CRITICAL_ERROR: "Critical Validation Error [%s]: %s",
14-
ErrorLevels.WARNING: "Non-Critical Validation Error [%s]: %s",
15-
ErrorLevels.NOTIFICATION: "Quality Issue Found [%s]: %s",
13+
ErrorLevels.CRITICAL_ERROR: "Critical Validation Error",
14+
ErrorLevels.WARNING: "Non-Critical Validation Error",
15+
ErrorLevels.NOTIFICATION: "Quality Issue Found",
1616
}
1717

1818

lambdas/shared/src/common/validator/constants/error_levels.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

lambdas/shared/tests/test_common/validator/test_schemas/test_schema.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@
321321
"expressionId": "01K8S2AS6TD0146EZN8ZDM9AGD",
322322
"fieldNameFHIR": "site|coding|#:http://snomed.info/sct|code",
323323
"fieldNameFlat": "SITE_OF_VACCINATION_CODE",
324+
"fieldNumber": 25,
324325
"errorLevel": 0,
325326
"expression": {
326327
"expressionName": "Site of Vaccination Code Not Empty Check",
@@ -333,6 +334,7 @@
333334
"expressionId": "01K8S2AZQ7XXTTF2AF7ZMM609C",
334335
"fieldNameFHIR": "site|coding|#:http://snomed.info/sct|display",
335336
"fieldNameFlat": "SITE_OF_VACCINATION_TERM",
337+
"fieldNumber": 26,
336338
"errorLevel": 1,
337339
"expression": {
338340
"expressionName": "Site of Vaccination Term Lookup Check",
@@ -345,6 +347,7 @@
345347
"expressionId": "01K8S2B78X58EB9XAZYX3M4VPP",
346348
"fieldNameFHIR": "route|coding|#:http://snomed.info/sct|code",
347349
"fieldNameFlat": "ROUTE_OF_VACCINATION_CODE",
350+
"fieldNumber": 27,
348351
"errorLevel": 0,
349352
"expression": {
350353
"expressionName": "Route of Vaccination Code Not Empty Check",
@@ -357,6 +360,7 @@
357360
"expressionId": "01K8S2BEP9C9KHNJTKPP6SH1G0",
358361
"fieldNameFHIR": "route|coding|#:http://snomed.info/sct|display",
359362
"fieldNameFlat": "ROUTE_OF_VACCINATION_TERM",
363+
"fieldNumber": 28,
360364
"errorLevel": 1,
361365
"expression": {
362366
"expressionName": "Route of Vaccination Term Lookup Check",
@@ -369,6 +373,7 @@
369373
"expressionId": "01K8S2BNT5MET8E29GBT83AP0P",
370374
"fieldNameFHIR": "doseQuantity|value",
371375
"fieldNameFlat": "DOSE_AMOUNT",
376+
"fieldNumber": 29,
372377
"errorLevel": 1,
373378
"expression": {
374379
"expressionName": "Dose Amount Default Check",
@@ -381,6 +386,7 @@
381386
"expressionId": "01K8S2BY1S0TXETJY78H418XQG",
382387
"fieldNameFHIR": "doseQuantity|code",
383388
"fieldNameFlat": "DOSE_UNIT_CODE",
389+
"fieldNumber": 30,
384390
"errorLevel": 1,
385391
"expression": {
386392
"expressionName": "Dose Unit Only If System Check",
@@ -393,6 +399,7 @@
393399
"expressionId": "01K8S2C3XTDW9RK9Y2FQ9YM5WJ",
394400
"fieldNameFHIR": "doseQuantity|unit",
395401
"fieldNameFlat": "DOSE_UNIT_TERM",
402+
"fieldNumber": 31,
396403
"errorLevel": 0,
397404
"expression": {
398405
"expressionName": "Dose Unit Term Not Empty Check",
@@ -405,6 +412,7 @@
405412
"expressionId": "01K8S2CANK2PFNDANX3D04W2NR",
406413
"fieldNameFHIR": "reasonCode|#:http://snomed.info/sct|coding|#:http://snomed.info/sct|code",
407414
"fieldNameFlat": "INDICATION_CODE",
415+
"fieldNumber": 32,
408416
"errorLevel": 0,
409417
"expression": {
410418
"expressionName": "Indication Code Not Empty Check",
@@ -417,6 +425,7 @@
417425
"expressionId": "01K8S2CKK8FCVJ6049EW5G563P",
418426
"fieldNameFHIR": "location|identifier|value",
419427
"fieldNameFlat": "LOCATION_CODE",
428+
"fieldNumber": 33,
420429
"errorLevel": 1,
421430
"expression": {
422431
"expressionName": "Location Code Default Check",
@@ -429,6 +438,7 @@
429438
"expressionId": "01K8S2CSWYXJ5WDS7K59A045JR",
430439
"fieldNameFHIR": "location|identifier|system",
431440
"fieldNameFlat": "LOCATION_CODE_TYPE_URI",
441+
"fieldNumber": 34,
432442
"errorLevel": 1,
433443
"expression": {
434444
"expressionName": "Location Code Type URI Default Check",

0 commit comments

Comments
 (0)