The Resource
entity define an id
attribute as "Logical id of this artifact". Meanwhile for resources like MedicationRequest
also define an attribute named identifier
. The description is "External identifier" or "Business identifier".
I'm wondering what's the difference between these two attributes? From the RESTful API definition like update
, the id
can be used to uniquely locate the resource, like POST [base]/[resource]/[id]
. After POST
another GET
should be able to retrieve that resource using GET [base]/[resource]/[id]
. It's more like something similar to a storage identifier. Then how about that identifier
?