Skip to content

Commit 680aa73

Browse files
committed
enum on resourceType, to distinguish the schemas
1 parent 3d75e49 commit 680aa73

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

specification/immunisation-fhir-api.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3274,7 +3274,8 @@ components:
32743274
resourceType:
32753275
description: FHIR resource type. Always `Immunization`.
32763276
type: string
3277-
example: Immunization
3277+
enum:
3278+
- Immunization
32783279
id:
32793280
description: Immunization record Id.
32803281
type: string
@@ -3833,7 +3834,8 @@ components:
38333834
resourceType:
38343835
description: FHIR resource type. Always `Patient`.
38353836
type: string
3836-
example: Patient
3837+
enum:
3838+
- Patient
38373839
id:
38383840
description: Patient ID (NHS Number)
38393841
type: string

0 commit comments

Comments
 (0)