Skip to content

Commit d838323

Browse files
Matched file with mapping file
1 parent ce78f1e commit d838323

File tree

1 file changed

+27
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)