Skip to content

Commit 9744b86

Browse files
Adding WireMock request for Investigations
1 parent 253fdb0 commit 9744b86

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"priority": 2,
3+
"scenarioName": "migrateStructuredRecord",
4+
"requiredScenarioState": "Investigations",
5+
"request": {
6+
"method": "POST",
7+
"urlPattern": "/.*/STU3/1/gpconnect/fhir/Patient/[$]gpc[.]migratestructuredrecord"
8+
},
9+
"response": {
10+
"status": 200,
11+
"bodyFileName": "correctPatientInvestigationsStructuredRecordResponse.json",
12+
"headers": {
13+
"Server": "nginx",
14+
"Date": "{{now format='E, d MMM y HH:mm:ss z'}}",
15+
"Content-Type": "application/fhir+json;charset=UTF-8",
16+
"Transfer-Encoding": "chunked",
17+
"Connection": "keep-alive",
18+
"Cache-Control": "no-store",
19+
"X-Powered-By": "HAPI FHIR 3.0.0 REST Server (FHIR Server; FHIR 3.0.1/DSTU3)",
20+
"Strict-Transport-Security":"max-age=31536000"
21+
}
22+
}
23+
}

0 commit comments

Comments
 (0)