android-fhir icon indicating copy to clipboard operation
android-fhir copied to clipboard

Unneeded Resource Id Cast To Long

Open rmayore opened this issue 10 months ago • 1 comments

Describe the bug java.lang.NumberFormatException: Caused by the Knowledge Manager trying to parse all IDs to Long, when according to the api and fhir the ID is expected to be a String

Component Knowledge

Would you like to work on the issue? I wont mind working on the issue.

rmayore avatar Feb 24 '25 11:02 rmayore

@rmayore thanks for reporting this.

I guess the id can be provided in format <ResourceType>/<Long-Id> also. So you could extract the long part of it. I have assigned you this task.

MJ1998 avatar Mar 03 '25 09:03 MJ1998