Remove crazy double encoding

This commit is contained in:
Tadgh 2021-09-14 13:48:37 -04:00
parent 9771210553
commit b25bdc1169
2 changed files with 9 additions and 9 deletions

View File

@ -1824,9 +1824,9 @@ public class FhirSystemDaoR4Test extends BaseJpaR4SystemTest {
p.addIdentifier().setSystem("urn:system").setValue(methodName); p.addIdentifier().setSystem("urn:system").setValue(methodName);
request.addEntry().setResource(p).getRequest().setMethod(HTTPVerb.POST).setIfNoneExist("Patient?identifier=urn%3Asystem%7C" + methodName); request.addEntry().setResource(p).getRequest().setMethod(HTTPVerb.POST).setIfNoneExist("Patient?identifier=urn%3Asystem%7C" + methodName);
// p = new Patient(); p = new Patient();
// p.addIdentifier().setSystem("urn:system").setValue(methodName); p.addIdentifier().setSystem("urn:system").setValue(methodName);
// request.addEntry().setResource(p).getRequest().setMethod(HTTPVerb.POST); request.addEntry().setResource(p).getRequest().setMethod(HTTPVerb.POST);
try { try {
mySystemDao.transaction(mySrd, request); mySystemDao.transaction(mySrd, request);

View File

@ -44,7 +44,7 @@
}, },
"request": { "request": {
"method": "PUT", "method": "PUT",
"url": "/Practitioner?identifier=http%253A%252F%252Facme.org%252Fclinicians%257C777" "url": "/Practitioner?identifier=http%3A%2F%2Facme.org%2Fclinicians%7C777"
} }
}, },
{ {
@ -125,7 +125,7 @@
}, },
"request": { "request": {
"method": "PUT", "method": "PUT",
"url": "/Patient?identifier=http%253A%252F%252Facme.org%252Fmrns%257C7000135" "url": "/Patient?identifier=http%3A%2F%2Facme.org%2Fmrns%7C7000135"
} }
}, },
{ {
@ -203,7 +203,7 @@
}, },
"request": { "request": {
"method": "PUT", "method": "PUT",
"url": "/Encounter?identifier=http%253A%252F%252Facme.org%252FvisitNumbers%257C4736455" "url": "/Encounter?identifier=http%3A%2F%2Facme.org%2FvisitNumbers%7C4736455"
} }
}, },
{ {
@ -267,7 +267,7 @@
}, },
"request": { "request": {
"method": "PUT", "method": "PUT",
"url": "/Practitioner?identifier=http%253A%252F%252Facme.org%252Fclinicians%257C3622" "url": "/Practitioner?identifier=http%3A%2F%2Facme.org%2Fclinicians%7C3622"
} }
}, },
{ {
@ -312,7 +312,7 @@
}, },
"request": { "request": {
"method": "PUT", "method": "PUT",
"url": "/Practitioner?identifier=http%253A%252F%252Facme.org%252Fclinicians%257C7452" "url": "/Practitioner?identifier=http%3A%2F%2Facme.org%2Fclinicians%7C7452"
} }
} }
] ]