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"}