Skip to content

Commit 29a0a4e

Browse files
committed
occurrence[X]
1 parent 531797d commit 29a0a4e

File tree

1 file changed

+26
-64
lines changed

1 file changed

+26
-64
lines changed

specification/immunisation-fhir-api.yaml

Lines changed: 26 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ paths:
451451
- status
452452
- vaccineCode
453453
- patient
454-
- "occurrence[X]"
454+
- occurrenceDateTime
455455
- recorded
456456
- primarySource
457457
- location
@@ -818,23 +818,14 @@ paths:
818818
description: Reference of patient from contained section
819819
type: string
820820
example: "#Pat1"
821-
"occurrence[X]":
822-
type: object
821+
occurrenceDateTime:
823822
description: >-
824-
When immunizations are given a specific date and time should
825-
always be known. The string data type for this element is
826-
not supported. Only occurrenceDateTime SHALL be used.
827-
properties:
828-
occurrenceDateTime:
829-
description: >-
830-
A dateTime format SHALL be provided. It SHOULD be to the
831-
level of precision as recorded within the source system,
832-
subject to the FHIR rules for dateTime.
833-
Only positive timezone offsets of '+00:00' (GMT) and '+01:00' (BST) are allowed. Where time zone information is required but is not available in the source system the time zone element can be a hardcoded static value of `+00:00`.
834-
type: string
835-
example: "2021-02-07T13:28:17.271000+00:00"
836-
required:
837-
- occurrenceDateTime
823+
A dateTime format SHALL be provided. It SHOULD be to the
824+
level of precision as recorded within the source system,
825+
subject to the FHIR rules for dateTime.
826+
Only positive timezone offsets of '+00:00' (GMT) and '+01:00' (BST) are allowed. Where time zone information is required but is not available in the source system the time zone element can be a hardcoded static value of `+00:00`.
827+
type: string
828+
example: "2021-02-07T13:28:17.271000+00:00"
838829
recorded:
839830
description: >-
840831
The date the occurrence of the immunization was first
@@ -1475,7 +1466,7 @@ paths:
14751466
- status
14761467
- vaccineCode
14771468
- patient
1478-
- "occurrence[X]"
1469+
- occurrenceDateTime
14791470
- recorded
14801471
- primarySource
14811472
- location
@@ -1716,20 +1707,10 @@ paths:
17161707
linked patient.
17171708
type: string
17181709
example: "9000000009"
1719-
"occurrence[X]":
1720-
type: object
1721-
description: >-
1722-
When immunizations are given a specific date
1723-
and time should always be known. The string
1724-
data type for this element is not supported.
1725-
Only occurrenceDateTime SHALL be used.
1726-
properties:
1727-
occurrenceDateTime:
1728-
description: Date and time of immunisation.
1729-
type: string
1730-
example: "2021-02-07T13:28:17.271000+00:00"
1731-
required:
1732-
- occurrenceDateTime
1710+
occurrenceDateTime:
1711+
description: Date and time of immunisation.
1712+
type: string
1713+
example: "2021-02-07T13:28:17.271000+00:00"
17331714
recorded:
17341715
description: >-
17351716
The date the occurrence of the immunization
@@ -2277,7 +2258,7 @@ paths:
22772258
- status
22782259
- vaccineCode
22792260
- patient
2280-
- "occurrence[X]"
2261+
- occurrenceDateTime
22812262
- recorded
22822263
- primarySource
22832264
- location
@@ -2580,20 +2561,10 @@ paths:
25802561
description: Reference of patient from contained section
25812562
type: string
25822563
example: "#Pat1"
2583-
"occurrence[X]":
2584-
type: object
2585-
description: >-
2586-
When immunizations are given a specific date and time
2587-
should always be known. The string data type for this
2588-
element is not supported. Only occurrenceDateTime SHALL be
2589-
used.
2590-
properties:
2591-
occurrenceDateTime:
2592-
description: Date and time of immunisation.
2593-
type: string
2594-
example: "2021-02-07T13:28:17.271000+00:00"
2595-
required:
2596-
- occurrenceDateTime
2564+
occurrenceDateTime:
2565+
description: Date and time of immunisation.
2566+
type: string
2567+
example: "2021-02-07T13:28:17.271000+00:00"
25972568
recorded:
25982569
description: >-
25992570
The date the occurrence of the immunization was first
@@ -3046,7 +3017,7 @@ paths:
30463017
- status
30473018
- vaccineCode
30483019
- patient
3049-
- "occurrence[X]"
3020+
- occurrenceDateTime
30503021
- recorded
30513022
- primarySource
30523023
- location
@@ -3416,23 +3387,14 @@ paths:
34163387
description: Reference of patient from contained section
34173388
type: string
34183389
example: "#Pat1"
3419-
"occurrence[X]":
3420-
type: object
3390+
occurrenceDateTime:
34213391
description: >-
3422-
When immunizations are given a specific date and time should
3423-
always be known. The string data type for this element is
3424-
not supported. Only occurrenceDateTime SHALL be used.
3425-
properties:
3426-
occurrenceDateTime:
3427-
description: >-
3428-
A dateTime format SHALL be provided. It SHOULD be to the
3429-
level of precision as recorded within the source system,
3430-
subject to the FHIR rules for dateTime.
3431-
Only positive timezone offsets of '+00:00' (GMT) and '+01:00' (BST) are allowed. Where time zone information is required but is not available in the source system the time zone element can be a hardcoded static value of `+00:00`.
3432-
type: string
3433-
example: "2021-02-07T13:28:17.271000+00:00"
3434-
required:
3435-
- occurrenceDateTime
3392+
A dateTime format SHALL be provided. It SHOULD be to the
3393+
level of precision as recorded within the source system,
3394+
subject to the FHIR rules for dateTime.
3395+
Only positive timezone offsets of '+00:00' (GMT) and '+01:00' (BST) are allowed. Where time zone information is required but is not available in the source system the time zone element can be a hardcoded static value of `+00:00`.
3396+
type: string
3397+
example: "2021-02-07T13:28:17.271000+00:00"
34363398
recorded:
34373399
description: >-
34383400
The date the occurrence of the immunization was first

0 commit comments

Comments
 (0)