This repository has been archived by the owner on Sep 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from admin-ch/feature/covaxin
Feature/covaxin
- Loading branch information
Showing
21 changed files
with
746 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
...ch-covidcertificate-backend-verifier-valuesets/src/main/resources/CH/TR-CH-0008/rule.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"AffectedFields": [ | ||
"t.0", | ||
"t.0.tr", | ||
"t.0.tt" | ||
], | ||
"CertificateType": "Test", | ||
"Country": "CH", | ||
"Description": [ | ||
{ | ||
"desc": "For serum antibody tests, the result must be positive.", | ||
"lang": "en" | ||
} | ||
], | ||
"Engine": "CERTLOGIC", | ||
"EngineVersion": "0.7.5", | ||
"Identifier": "TR-CH-0008", | ||
"Logic": { | ||
"if": [ | ||
{ | ||
"and": [ | ||
{ | ||
"var": "payload.t.0" | ||
}, | ||
{ | ||
"in": [ | ||
{ | ||
"var": "payload.t.0.tt" | ||
}, | ||
[ | ||
"94504-8" | ||
] | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"===": [ | ||
{ | ||
"var": "payload.t.0.tr" | ||
}, | ||
"260373001" | ||
] | ||
}, | ||
true | ||
] | ||
}, | ||
"SchemaVersion": "1.0.0", | ||
"Type": "Acceptance", | ||
"ValidFrom": "2021-10-18T12:00:00Z", | ||
"ValidTo": "2031-01-01T00:00:00Z", | ||
"Version": "1.0.3" | ||
} |
57 changes: 57 additions & 0 deletions
57
...ch-covidcertificate-backend-verifier-valuesets/src/main/resources/CH/TR-CH-0009/rule.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"AffectedFields": [ | ||
"t.0.tt", | ||
"t.0.sc" | ||
], | ||
"CertificateType": "Test", | ||
"Country": "CH", | ||
"Description": [ | ||
{ | ||
"desc": "If the test is a serum antibody test, then the validation date must be before the date of sample collection plus 90 days", | ||
"lang": "en" | ||
} | ||
], | ||
"Engine": "CERTLOGIC", | ||
"EngineVersion": "0.7.5", | ||
"Identifier": "TR-CH-0009", | ||
"Logic": { | ||
"if": [ | ||
{ | ||
"===": [ | ||
{ | ||
"var": "payload.t.0.tt" | ||
}, | ||
"94504-8" | ||
] | ||
}, | ||
{ | ||
"before": [ | ||
{ | ||
"plusTime": [ | ||
{ | ||
"var": "external.validationClock" | ||
}, | ||
0, | ||
"day" | ||
] | ||
}, | ||
{ | ||
"plusTime": [ | ||
{ | ||
"var": "payload.t.0.sc" | ||
}, | ||
90, | ||
"day" | ||
] | ||
} | ||
] | ||
}, | ||
true | ||
] | ||
}, | ||
"SchemaVersion": "1.0.0", | ||
"Type": "Acceptance", | ||
"ValidFrom": "2021-10-18T12:00:00Z", | ||
"ValidTo": "2031-01-01T00:00:00Z", | ||
"Version": "1.0.3" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,8 @@ | |
"EU/1/20/1525", | ||
"CoronaVac", | ||
"BBIBP-CorV", | ||
"Covishield" | ||
"Covishield", | ||
"Covaxin" | ||
] | ||
] | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,8 @@ | |
"EU/1/21/1529", | ||
"CoronaVac", | ||
"BBIBP-CorV", | ||
"Covishield" | ||
"Covishield", | ||
"Covaxin" | ||
] | ||
] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
...vidcertificate-backend-verifier-valuesets/src/main/resources/master-rules/TR-CH-0008.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"affectedFields": [ | ||
"t.0", | ||
"t.0.tr", | ||
"t.0.tt" | ||
], | ||
"certificateType": "Test", | ||
"country": "CH", | ||
"description": [ | ||
{ | ||
"desc": "For serum antibody tests, the result must be positive.", | ||
"lang": "en" | ||
} | ||
], | ||
"engine": "CertLogic", | ||
"engineVersion": "0.7.5", | ||
"identifier": "TR-CH-0008", | ||
"logic": { | ||
"if": [ | ||
{ | ||
"and": [ | ||
{ | ||
"var": "payload.t.0" | ||
}, | ||
{ | ||
"in": [ | ||
{ | ||
"var": "payload.t.0.tt" | ||
}, | ||
[ | ||
"94504-8" | ||
] | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"===": [ | ||
{ | ||
"var": "payload.t.0.tr" | ||
}, | ||
"260373001" | ||
] | ||
}, | ||
true | ||
] | ||
}, | ||
"schemaVersion": "1.0.0", | ||
"type": "Acceptance", | ||
"validFrom": "2021-10-18T12:00:00Z", | ||
"validTo": "2031-01-01T00:00:00Z", | ||
"version": "1.0.3" | ||
} |
57 changes: 57 additions & 0 deletions
57
...vidcertificate-backend-verifier-valuesets/src/main/resources/master-rules/TR-CH-0009.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"affectedFields": [ | ||
"t.0.tt", | ||
"t.0.sc" | ||
], | ||
"certificateType": "Test", | ||
"country": "CH", | ||
"description": [ | ||
{ | ||
"desc": "If the test is a serum antibody test, then the validation date must be before the date of sample collection plus 90 days", | ||
"lang": "en" | ||
} | ||
], | ||
"engine": "CertLogic", | ||
"engineVersion": "0.7.5", | ||
"identifier": "TR-CH-0009", | ||
"logic": { | ||
"if": [ | ||
{ | ||
"===": [ | ||
{ | ||
"var": "payload.t.0.tt" | ||
}, | ||
"94504-8" | ||
] | ||
}, | ||
{ | ||
"before": [ | ||
{ | ||
"plusTime": [ | ||
{ | ||
"var": "external.validationClock" | ||
}, | ||
0, | ||
"day" | ||
] | ||
}, | ||
{ | ||
"plusTime": [ | ||
{ | ||
"var": "payload.t.0.sc" | ||
}, | ||
90, | ||
"day" | ||
] | ||
} | ||
] | ||
}, | ||
true | ||
] | ||
}, | ||
"schemaVersion": "1.0.0", | ||
"type": "Acceptance", | ||
"validFrom": "2021-10-18T12:00:00Z", | ||
"validTo": "2031-01-01T00:00:00Z", | ||
"version": "1.0.3" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,8 @@ | |
"EU/1/20/1525", | ||
"CoronaVac", | ||
"BBIBP-CorV", | ||
"Covishield" | ||
"Covishield", | ||
"Covaxin" | ||
] | ||
] | ||
}, | ||
|
Oops, something went wrong.