Skip to content

Commit fa60317

Browse files
committed
NPA-5064 Move additional resources to deeper location
1 parent 193ab77 commit fa60317

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
@@ -1823,14 +1823,19 @@ components:
18231823
- $ref: "#/components/schemas/ConsentBundleEntry"
18241824

18251825
RelatedPersonPatientDetailsBundleEntry:
1826-
type: object
1827-
description: A RelatedPerson bundle entry with patient name and birthDate.
1828-
$ref: "#/components/schemas/RelatedPersonBundleEntry"
1829-
properties:
1830-
name:
1831-
$ref: "#/components/schemas/PDSName"
1832-
birthDate:
1833-
$ref: "#/components/schemas/PDSBirthDate"
1826+
allOf:
1827+
- $ref: "#/components/schemas/RelatedPersonBundleEntry"
1828+
- type: object
1829+
description: A RelatedPerson bundle entry with patient name and birthDate.
1830+
properties:
1831+
resource:
1832+
$ref: "#/components/schemas/RelatedPerson"
1833+
properties:
1834+
properties:
1835+
name:
1836+
$ref: "#/components/schemas/PDSName"
1837+
birthDate:
1838+
$ref: "#/components/schemas/PDSBirthDate"
18341839

18351840
RelatedPersonBundleEntry:
18361841
type: object

0 commit comments

Comments
 (0)