Reputation: 2852
As a HISP, we will be getting patient records from different organizations but would like to key the patient records by userid of our system. We will also be exposing the records for third party app developers via APIs. App developers can query for medical records by our userid. From the spec, identifier property is used for cross referencing across different systems and cannot be used for this purpose. I'm thinking of using Id property with value something like {'ID': 'FFEBED08-29EF-E211-BECC-888C662DF58B', 'Type':'User', 'InstanceID':'56D95BB2-1CE0-4BAB-A946-19FD60C48D76' }, where 'ID' is user's ID and 'InstanceID' is unique identifier of record. Is it acceptable? Or should I use modifierextension for storing our userid?
Here is the use case:
What is the appropriate property to store our system's userId?
Upvotes: 0
Views: 503
Reputation: 3586
Given that the userId is also a patient identifier, I'd just add the user identifier to the patient resource when you make the link
Upvotes: 3