question

MuruganRamakrishnan-8776 avatar image
0 Votes"
MuruganRamakrishnan-8776 asked OuryBa-MSFT answered

FHIR Patient version ID getting increase on every PUT operation without any request change.

Whenever we try to send the same patient details again without any modification with json request , the version Id will get increase in the response.

Request:

{"resourceType":"Patient","extension":[{"valueCoding":{"system":"http://hl7.org/fhir/StructureDefinition/RACE_HI","code":"2076-8","display":"Hispanic Or Latino"}}],"identifier":[{"use":"official","type":{"coding":[{"system":"http://abbott.com/fhirmapping/Identifier#patientIdentifier","code":"MRN","display":"63740269927200-Clinical"}]},"system":"http://abbott.com/fhirmapping/Identifier#patientIdentifier","value":"63740269927200-Clinical"},{"use":"official","type":{"coding":[{"system":"http://abbott.com/fhirmapping/Identifier#age","code":"AGE","display":"45-Clinical"}]},"system":"http://abbott.com/fhirmapping/Identifier#age","value":"45-Clinical"},{"use":"official","value":"Clinical"}],"gender":"female"}

Response:

{"resourceType":"Patient","id":"aaf0f475-15f5-4a5b-8403-dbf2a2aad635","meta":{"versionId":"9","lastUpdated":"2022-01-31T08:19:35.681+00:00"},"extension":[{"valueCoding":{"system":"http://hl7.org/fhir/StructureDefinition/RACE_HI","code":"2076-8","display":"Hispanic Or Latino"}}],"identifier":[{"use":"official","type":{"coding":[{"system":"http://abbott.com/fhirmapping/Identifier#patientIdentifier","code":"MRN","display":"63740269927200-Clinical"}]},"system":"http://abbott.com/fhirmapping/Identifier#patientIdentifier","value":"63740269927200-Clinical"},{"use":"official","type":{"coding":[{"system":"http://abbott.com/fhirmapping/Identifier#age","code":"AGE","display":"45-Clinical"}]},"system":"http://abbott.com/fhirmapping/Identifier#age","value":"45-Clinical"},{"use":"official","value":"Clinical"}],"gender":"female"}

azure-api-fhir
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

OuryBa-MSFT avatar image
0 Votes"
OuryBa-MSFT answered

Hi @MuruganRamakrishnan-8776 Thank you for posting your question on Microsoft Q&A and for using Azure services.

It is my understanding that you are experiencing issue after sending the same patient details, the FHIR version ID got increase on every PUT operation.

This is the expected behavior of our service currently. Any PUT to a resource will produce a new version, even if it is identical outside of metadata.

Regards,
Oury

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.