NHSDigital / integration-adaptor-nhais

Adaptors which accelerate integration with national NHS systems
Apache License 2.0
4 stars 3 forks source link

Amend patient name with invalid path in request body #171

Closed sonalnegivarma closed 4 years ago

sonalnegivarma commented 4 years ago

URL - PATCH: http://localhost/fhir/Patient/9999999999 Content -Type : Content-Type: application/json Payload - { "nhsNumber": "9999999999", "gpCode": "2750922,295", "gpTradingPartnerCode": "TES5", "healthcarePartyCode": "XX1", "patches": [ { "op": "add", "path": "/name/0/prefix/name", "value": "abc" } ] }

Expected Response - 400 Actual Response - 202

michael-kainos commented 4 years ago

story raised in backlog - https://gpitbjss.atlassian.net/browse/NIAD-311 marked as a could as this is an unrealistic scenario and is unlikely to happen Deferred