Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Commit

Permalink
Merge pull request #68 from admin-ch/feature/covaxin
Browse files Browse the repository at this point in the history
Feature/covaxin
  • Loading branch information
martinalig authored Nov 4, 2021
2 parents b79bfa7 + 00d2d11 commit 217cb5b
Show file tree
Hide file tree
Showing 21 changed files with 746 additions and 76 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"AffectedFields": [
"t.0",
"t.0.tr"
"t.0.tr",
"t.0.tt"
],
"CertificateType": "Test",
"Country": "CH",
"Description": [
{
"desc": "Test result must be negative (\"not detected\").",
"desc": "For rapid or PCR test, the result must be negative (\"not detected\").",
"lang": "en"
}
],
Expand All @@ -17,7 +18,22 @@
"Logic": {
"if": [
{
"var": "payload.t.0"
"and": [
{
"var": "payload.t.0"
},
{
"in": [
{
"var": "payload.t.0.tt"
},
[
"LP217198-3",
"LP6464-4"
]
]
}
]
},
{
"===": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"Country": "CH",
"Description": [
{
"desc": "The test type must be one of the value set list (RAT OR NAA).",
"desc": "The test type must be one of the value set list (RAT OR NAA or serum antibody).",
"lang": "en"
}
],
Expand Down
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"
}
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"
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"EU/1/20/1525",
"CoronaVac",
"BBIBP-CorV",
"Covishield"
"Covishield",
"Covaxin"
]
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@
[
"EU/1/20/1528",
"EU/1/20/1507",
"EU/1/21/1529"
"EU/1/21/1529",
"CoronaVac",
"BBIBP-CorV",
"Covishield",
"Covaxin"
]
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"Country": "CH",
"Description": [
{
"desc": "If the vaccine requires one dose, and only one dose was administered, it is valid after 21 days and until 387 days later",
"desc": "If the vaccine requires one dose, and only one dose was administered, it becomes valid after 21 days and stays valid until 21+365=386 days",
"lang": "en"
}
],
Expand Down Expand Up @@ -85,7 +85,7 @@
{
"var": "payload.v.0.dt"
},
387,
386,
"day"
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"EU/1/21/1529",
"CoronaVac",
"BBIBP-CorV",
"Covishield"
"Covishield",
"Covaxin"
]
]
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"affectedFields": [
"t.0",
"t.0.tr"
"t.0.tr",
"t.0.tt"
],
"certificateType": "Test",
"country": "CH",
"description": [
{
"desc": "Test result must be negative (\"not detected\").",
"desc": "For rapid or PCR test, the result must be negative (\"not detected\").",
"lang": "en"
}
],
Expand All @@ -17,7 +18,22 @@
"logic": {
"if": [
{
"var": "payload.t.0"
"and": [
{
"var": "payload.t.0"
},
{
"in": [
{
"var": "payload.t.0.tt"
},
[
"LP217198-3",
"LP6464-4"
]
]
}
]
},
{
"===": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"country": "CH",
"description": [
{
"desc": "The test type must be one of the value set list (RAT OR NAA).",
"desc": "The test type must be one of the value set list (RAT OR NAA or serum antibody).",
"lang": "en"
}
],
Expand Down
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"
}
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"
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"EU/1/20/1525",
"CoronaVac",
"BBIBP-CorV",
"Covishield"
"Covishield",
"Covaxin"
]
]
},
Expand Down
Loading

0 comments on commit 217cb5b

Please sign in to comment.