Skip to content

Commit 0a1a5c7

Browse files
committed
2. occurrenceDateTime
1 parent 669af08 commit 0a1a5c7

File tree

1 file changed

+42
-15
lines changed

1 file changed

+42
-15
lines changed

specification/immunisation-fhir-api.json

Lines changed: 42 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@
973973
"status",
974974
"vaccineCode",
975975
"patient",
976-
"occurrenceDateTime",
976+
"occurrence[X]",
977977
"recorded",
978978
"primarySource",
979979
"location",
@@ -1216,10 +1216,19 @@
12161216
}
12171217
}
12181218
},
1219-
"occurrenceDateTime": {
1220-
"description": "Date and time of immunisation.",
1221-
"type": "string",
1222-
"example": "2021-02-07T13:28:17.271000+00:00"
1219+
"occurrence[X]": {
1220+
"type": "object",
1221+
"description": "When immunizations are given a specific date and time should always be known. The string data type for this element is not supported. Only occurrenceDateTime SHALL be used.",
1222+
"properties": {
1223+
"occurrenceDateTime": {
1224+
"description": "Date and time of immunisation.",
1225+
"type": "string",
1226+
"example": "2021-02-07T13:28:17.271000+00:00"
1227+
}
1228+
},
1229+
"required": [
1230+
"occurrenceDateTime"
1231+
]
12231232
},
12241233
"recorded": {
12251234
"description": "The date the occurrence of the immunization was first captured in the record - potentially significantly after the occurrence of the event.",
@@ -1885,7 +1894,7 @@
18851894
"status",
18861895
"vaccineCode",
18871896
"patient",
1888-
"occurrenceDateTime",
1897+
"occurrence[X]",
18891898
"recorded",
18901899
"primarySource",
18911900
"location",
@@ -2128,10 +2137,19 @@
21282137
}
21292138
}
21302139
},
2131-
"occurrenceDateTime": {
2132-
"description": "Date and time of immunisation.",
2133-
"type": "string",
2134-
"example": "2021-02-07T13:28:17.271000+00:00"
2140+
"occurrence[X]": {
2141+
"type": "object",
2142+
"description": "When immunizations are given a specific date and time should always be known. The string data type for this element is not supported. Only occurrenceDateTime SHALL be used.",
2143+
"properties": {
2144+
"occurrenceDateTime": {
2145+
"description": "Date and time of immunisation.",
2146+
"type": "string",
2147+
"example": "2021-02-07T13:28:17.271000+00:00"
2148+
}
2149+
},
2150+
"required": [
2151+
"occurrenceDateTime"
2152+
]
21352153
},
21362154
"recorded": {
21372155
"description": "The date the occurrence of the immunization was first captured in the record - potentially significantly after the occurrence of the event.",
@@ -2735,7 +2753,7 @@
27352753
"status",
27362754
"vaccineCode",
27372755
"patient",
2738-
"occurrenceDateTime",
2756+
"occurrence[X]",
27392757
"recorded",
27402758
"primarySource",
27412759
"location",
@@ -3093,10 +3111,19 @@
30933111
}
30943112
}
30953113
},
3096-
"occurrenceDateTime": {
3097-
"description": "Date and time of immunisation.",
3098-
"type": "string",
3099-
"example": "2021-02-07T13:28:17.271000+00:00"
3114+
"occurrence[X]": {
3115+
"type": "object",
3116+
"description": "When immunizations are given a specific date and time should always be known. The string data type for this element is not supported. Only occurrenceDateTime SHALL be used.",
3117+
"properties": {
3118+
"occurrenceDateTime": {
3119+
"description": "Date and time of immunisation.",
3120+
"type": "string",
3121+
"example": "2021-02-07T13:28:17.271000+00:00"
3122+
}
3123+
},
3124+
"required": [
3125+
"occurrenceDateTime"
3126+
]
31003127
},
31013128
"recorded": {
31023129
"description": "The date the occurrence of the immunization was first captured in the record - potentially significantly after the occurrence of the event.",

0 commit comments

Comments
 (0)