nhsconnect / integration-adaptors

Adaptors which accelerate integration with national NHS systems
Apache License 2.0
18 stars 7 forks source link

Amend patient name with passing invalid residential code value type accepting integer value instead of string value #278

Closed ghost closed 4 years ago

ghost commented 4 years ago

Amend patient name with passing invalid residential code value type accepting integer value instead of string value

{ "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/0", "value": { "url": "https://fhir.nhs.uk/R4/StructureDefinition/Extension-UKCore-NHAIS-ResidentialInstituteCode", "valueString": 123 } } ] }

ghost commented 4 years ago

Sorry,i have created in wrong place, this issue have been placed in integration-adapter-nhais

Hence we closed this ticket here