Skip to content

Commit 0be34f7

Browse files
committed
NPA-5063 Move additional resources to deeper location
1 parent 1e1e4ca commit 0be34f7

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

specification/validated-relationships-service-api.yaml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1829,14 +1829,19 @@ components:
18291829
- $ref: "#/components/schemas/ConsentBundleEntry"
18301830

18311831
RelatedPersonPatientDetailsBundleEntry:
1832-
type: object
1833-
description: A RelatedPerson bundle entry with patient name and birthDate.
1834-
$ref: "#/components/schemas/RelatedPersonBundleEntry"
1835-
properties:
1836-
name:
1837-
$ref: "#/components/schemas/PDSName"
1838-
birthDate:
1839-
$ref: "#/components/schemas/PDSBirthDate"
1832+
allOf:
1833+
- $ref: "#/components/schemas/RelatedPersonBundleEntry"
1834+
- type: object
1835+
description: A RelatedPerson bundle entry with patient name and birthDate.
1836+
properties:
1837+
resource:
1838+
$ref: "#/components/schemas/RelatedPerson"
1839+
properties:
1840+
properties:
1841+
name:
1842+
$ref: "#/components/schemas/PDSName"
1843+
birthDate:
1844+
$ref: "#/components/schemas/PDSBirthDate"
18401845

18411846
RelatedPersonBundleEntry:
18421847
type: object

0 commit comments

Comments
 (0)