FHIR Chat · Set private resource ID system, Not incremental numeric ID · implementers

Stream: implementers

Topic: Set private resource ID system, Not incremental numeric ID


view this post on Zulip Sungjae Jung (Aug 23 2019 at 05:33):

Hello,
I want to know that how can I set my own ID system on hapi-fhir-jpaserver-starter.
In default, hapi-server seems to works like update with numeric ID in force.
I want to make the server works like this;
When I create with JSON patient resource, The server response with origin ID
Input: { resourceType: patient,
id: 'KR_ABC_001'
}
Output: { resourceType: patient,
id: 'KR_ABC_001'
}

view this post on Zulip Lloyd McKenzie (Aug 23 2019 at 11:59):

If you want the client to assign the id, then you need to use PUT, not POST.


Last updated: Apr 12 2022 at 19:14 UTC