NHSDigital / integration-adaptor-nhais

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

Amend patient passing boolean value for Residential Institute Code #186

Closed sonalnegivarma closed 4 years ago

sonalnegivarma commented 4 years ago

{ "nhsNumber": "9999999999", "gpCode": "2750922,295", "gpTradingPartnerCode": "TES5", "healthcarePartyCode": "XX1", "freeText": "NOW AT THE ARTHUR ANDREWS CENTRE", "patches": [ { "op": "replace", "path": "/name/0/family", "value": "ROBINSON-PATTERSON" }, { "op": "add", "path": "/name/1/family", "value": "PATTERSON" }, { "op": "replace", "path": "/name/0/given/0", "value": "SALLY" }, { "op": "add", "path": "/name/0/given/1", "value": "JANE" }, { "op": "replace", "path": "/name/0/given/2", "value": "MARY KIMBERLY" }, { "op": "add", "path": "/name/0/prefix/0", "value": "MRS" }, { "op": "replace", "path": "/gender", "value": "unknown" }, { "op": "add", "path": "/birthDate", "value": "1980-05-23" }, { "op": "replace", "path": "/address/0/line/0", "value": "HOLLY COTTAGE" }, { "op": "add", "path": "/address/0/line/1", "value": "12 LONG LANE" }, { "op": "replace", "path": "/address/0/line/2", "value": "LITTLE HAMLET" }, { "op": "add", "path": "/address/0/line/3", "value": "BROMLEY" }, { "op": "replace", "path": "/address/0/line/4", "value": "KENT" }, { "op": "add", "path": "/address/0/postalCode", "value": "BR5 4ER" }, { "op": "replace", "path": "/extension/0", "value": { "url": "https://fhir.nhs.uk/R4/StructureDefinition/Extension-UKCore-NHAIS-DrugsDispensedMarker", "valueBoolean": true } }, { "op": "add", "path": "/extension/1", "value": { "url": "https://fhir.nhs.uk/R4/StructureDefinition/Extension-UKCore-NHAIS-ResidentialInstituteCode", "valueString": false } } ] }

Expected Result - 400 Actual Result - 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