Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/openapi-validate.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: Open API Validate
"on":
name: OpenAPI Validate Examples

on:
pull_request:
branches: [master]

permissions:
contents: read

jobs:
ExamplesSchemasChecks:
name: Examples Schemas Checks
name: Check ${{ matrix.endpoint.name }} Examples
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ ListRelationship9000000017:
- fullUrl: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742
resource:
id: BE974742
birthDate: '2017-09-23'
identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000017'
Expand All @@ -18,6 +19,16 @@ ListRelationship9000000017:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000009'
type: Patient
name:
- family: MOGAJI
given:
- GADIL
id: BLnbA
period:
start: '2021-07-08'
prefix:
- MR
use: usual
relationship:
- coding:
- code: MTH
Expand All @@ -29,6 +40,7 @@ ListRelationship9000000017:
- fullUrl: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/A3CC67E2
resource:
id: A3CC67E2
birthDate: '2018-04-27'
identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000017'
Expand All @@ -37,6 +49,16 @@ ListRelationship9000000017:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000025'
type: Patient
name:
- family: FEARON
given:
- Daren
id: vitjN
period:
start: '2018-09-21'
prefix:
- MR
use: usual
relationship:
- coding:
- code: MTH
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ ListRelationship9000000017Include:
- fullUrl: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742
resource:
id: BE974742
birthDate: '2017-09-23'
identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000017'
Expand All @@ -39,6 +40,16 @@ ListRelationship9000000017Include:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000009'
type: Patient
name:
- family: MOGAJI
given:
- GADIL
id: BLnbA
period:
start: '2021-07-08'
prefix:
- MR
use: usual
relationship:
- coding:
- code: MTH
Expand Down Expand Up @@ -70,6 +81,7 @@ ListRelationship9000000017Include:
- fullUrl: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/A3CC67E2
resource:
id: A3CC67E2
birthDate: '2018-04-27'
identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000017'
Expand All @@ -78,6 +90,16 @@ ListRelationship9000000017Include:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000025'
type: Patient
name:
- family: FEARON
given:
- Daren
id: vitjN
period:
start: '2018-09-21'
prefix:
- MR
use: usual
relationship:
- coding:
- code: MTH
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,30 @@ VerifyRelationship9000000009:
- fullUrl: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742
resource:
id: BE974742
birthDate: '2017-09-23'
identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000017'
- system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000009'
patient:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000009'
value: '9000000017'
type: Patient
name:
- family: MOGAJI
given:
- GADIL
id: BLnbA
period:
start: '2021-07-08'
prefix:
- MR
use: usual
relationship:
- coding:
- code: MTH
display: mother
system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
- coding:
- code: MTH
display: mother
system: http://terminology.hl7.org/CodeSystem/v3-RoleCode
resourceType: RelatedPerson
search:
mode: match
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,25 @@ VerifyRelationship9000000009Include:
- fullUrl: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/BE974742
resource:
id: BE974742
birthDate: '2017-09-23'
identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000017'
value: '9000000009'
patient:
identifier:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000009'
value: '9000000017'
type: Patient
name:
- family: MOGAJI
given:
- GADIL
id: BLnbA
period:
start: '2021-07-08'
prefix:
- MR
use: usual
relationship:
- coding:
- code: MTH
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ VerifyRelationship9000000025:
- fullUrl: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/A3CC67E2
resource:
id: A3CC67E2
birthDate: '2018-04-27'
identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000017'
Expand All @@ -18,6 +19,16 @@ VerifyRelationship9000000025:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000025'
type: Patient
name:
- family: FEARON
given:
- Daren
id: vitjN
period:
start: '2018-09-21'
prefix:
- MR
use: usual
relationship:
- coding:
- code: MTH
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ VerifyRelationship9000000025Include:
- fullUrl: https://sandbox.api.service.nhs.uk/validated-relationships/FHIR/R4/RelatedPerson/A3CC67E2
resource:
id: A3CC67E2
birthDate: '2018-04-27'
identifier:
- system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000017'
Expand All @@ -39,6 +40,16 @@ VerifyRelationship9000000025Include:
system: https://fhir.nhs.uk/Id/nhs-number
value: '9000000025'
type: Patient
name:
- family: FEARON
given:
- Daren
id: vitjN
period:
start: '2018-09-21'
prefix:
- MR
use: usual
relationship:
- coding:
- code: MTH
Expand Down
Loading