-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1068 from NHSDigital/SPINEDEM-3403-remove-statefu…
…l-behaviour-karate-sandbox SPINEDEM-3403 - Removed stateful behaviour of Karate sandbox
- Loading branch information
Showing
6 changed files
with
178 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
87 changes: 87 additions & 0 deletions
87
karate-tests/src/test/java/mocks/stubs/patientResponses/patient_9733162051.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
{ | ||
"address": [ | ||
{ | ||
"id": "OVvLE", | ||
"line": [ | ||
"2 DALE FARM COTTAGE", | ||
"RACE LANE", | ||
"WOOTTON", | ||
"ULCEBY", | ||
"S HUMBERSIDE" | ||
], | ||
"period": { | ||
"start": "2016-01-31" | ||
}, | ||
"postalCode": "DN39 6RF", | ||
"use": "home" | ||
} | ||
], | ||
"birthDate": "1939-10-21", | ||
"gender": "male", | ||
"generalPractitioner": [ | ||
{ | ||
"id": "KsFNC", | ||
"identifier": { | ||
"period": { | ||
"start": "2004-12-20" | ||
}, | ||
"system": "https://fhir.nhs.uk/Id/ods-organization-code", | ||
"value": "A20047" | ||
}, | ||
"type": "Organization" | ||
} | ||
], | ||
"id": "9733162051", | ||
"identifier": [ | ||
{ | ||
"extension": [ | ||
{ | ||
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus", | ||
"valueCodeableConcept": { | ||
"coding": [ | ||
{ | ||
"code": "01", | ||
"display": "Number present and verified", | ||
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatus", | ||
"version": "1.0.0" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"system": "https://fhir.nhs.uk/Id/nhs-number", | ||
"value": "9733162051" | ||
} | ||
], | ||
"meta": { | ||
"security": [ | ||
{ | ||
"code": "U", | ||
"display": "unrestricted", | ||
"system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" | ||
} | ||
], | ||
"versionId": "4" | ||
}, | ||
"name": [ | ||
{ | ||
"family": "FRAZER", | ||
"given": [ | ||
"Nigel" | ||
], | ||
"id": "vfynR", | ||
"period": { | ||
"start": "1983-10-04" | ||
}, | ||
"prefix": [ | ||
"MR" | ||
], | ||
"suffix": [ | ||
"PhD", | ||
"MBBS" | ||
], | ||
"use": "usual" | ||
} | ||
], | ||
"resourceType": "Patient" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters