-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVR-SI-0003.json
114 lines (114 loc) · 2.64 KB
/
VR-SI-0003.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"AffectedFields": [
"dob",
"v.0",
"v.0.dn",
"v.0.sd",
"v.0.dt"
],
"CertificateType": "Vaccination",
"Country": "SI",
"Description": [
{
"desc": "For a person over 18 years of age, a vaccination cycle is finished 270 days after a finished primary vaccination 1/1, unless it's followed by booster vaccinations.",
"lang": "en"
},
{
"desc": "Za osebo, starejšo od 18 let, se cikel cepljenj zaključi 270 dni po zaključenem osnovnem cepljenju 1/1, razen če mu sledijo poživitveni odmerki.",
"lang": "si"
}
],
"Engine": "CERTLOGIC",
"EngineVersion": "0.7.5",
"Identifier": "VR-SI-0003",
"Logic": {
"if": [
{
"var": "payload.v.0"
},
{
"if": [
{
"and": [
{
"===": [
{
"var": "payload.v.0.dn"
},
1
]
},
{
"===": [
{
"var": "payload.v.0.sd"
},
1
]
},
{
"after": [
{
"plusTime": [
{
"var": "external.validationClock"
},
0,
"day"
]
},
{
"plusTime": [
{
"var": "payload.v.0.dt"
},
271,
"day"
]
}
]
}
]
},
{
"if": [
{
"var": "payload.dob"
},
{
"before": [
{
"plusTime": [
{
"var": "external.validationClock"
},
0,
"day"
]
},
{
"plusTime": [
{
"var": "payload.dob"
},
18,
"year"
]
}
]
},
false
]
},
true
]
},
true
]
},
"SchemaVersion": "1.0.0",
"Type": "Acceptance",
"ValidFrom": "2023-12-25T00:00:00Z",
"ValidTo": "2030-06-01T00:00:00Z",
"Version": "1.1.0"
}