santoshsb commented on issue #5452: URL: https://github.com/apache/hudi/issues/5452#issuecomment-1112964120
We further took out the coding type from our JSON string one after the other the update worked for 2 elements (identifier and maritalstatus), it the coding type in the element "communication" which is breaking. So when we use this JSON string `{ "resourceType": "Patient", "id": "596c7a94-bada-4303-85d4-7067c586999e", "lastUpdated": "2022-04-20T15:18:18.90836+05:30", "source": "4a0701fe-5c3b-482b-895d-875fcbd2148a", "meta": { "extension": [ { "url": "http://navify.com/fhir/StructureDefinition/createdBy", "valueString": "00u4o6bbvAeNZkXKL296" }, { "url": "http://navify.com/fhir/StructureDefinition/modifiedBy", "valueString": "00u4o6bbvAeNZkXKL296" } ], "versionId": "9", "lastUpdated": "2022-04-20T15:18:18.90836+05:30", "source": "4a0701fe-5c3b-482b-895d-875fcbd2148a" }, "text": { "status": "generated", "div": "<divxmlns=\"http://www.w3.org/1999/xhtml\">Generatedby<ahref=\"https://github.com/synthetichealth/synthea\">Synthea</a>.Versionidentifier:v2.4.0-483-gad18e5f2\n.Personseed:8166940888549305472Populationseed:1648664610882</div>" }, "extension": [ { "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", "extension": [ { "url": "ombCategory", "valueCoding": { "system": "urn:oid:2.16.840.1.113883.6.238", "code": "2106-3", "display": "White" } }, { "url": "text", "valueString": "White" } ] }, { "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", "extension": [ { "url": "ombCategory", "valueCoding": { "system": "urn:oid:2.16.840.1.113883.6.238", "code": "2186-5", "display": "NotHispanicorLatino" } }, { "url": "text", "valueString": "NotHispanicorLatino" } ] }, { "url": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName", "valueString": "Deloise241Orn563" }, { "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", "valueCode": "F" }, { "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", "valueAddress": { "city": "Westwood", "state": "Massachusetts", "country": "US" } }, { "url": "http://synthetichealth.github.io/synthea/disability-adjusted-life-years", "valueDecimal": 0.03310522209092858 }, { "url": "http://synthetichealth.github.io/synthea/quality-adjusted-life-years", "valueDecimal": 15.966894777909072 } ], "name": [ { "use": "official", "family": "Haley279", "given": [ "Vinita997" ] } ], "telecom": [ { "system": "phone", "value": "555-213-3658", "use": "home" } ], "gender": "female", "birthDate": "2005-08-30", "address": [ { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/geolocation", "extension": [ { "url": "latitude", "valueDecimal": 42.09490663875005 }, { "url": "longitude", "valueDecimal": -70.82289517957093 } ] } ], "line": [ "691RunolfsdottirParadeApt5" ], "city": "Hanson", "state": "Massachusetts", "country": "US" } ], "multipleBirthBoolean": false, "communication": [ { "language": { "coding": [ { "system": "urn:ietf:bcp:47", "code": "en-US", "display": "English" } ], "text": "English" } } ], "managingOrganization": { "reference": "7b3f7052-123b-46b7-a8b6-a0e87daaea03", "type": "Organization" } }` Insert the single record and than update the same record we see the error. Thanks, Santosh -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org