POST Request Practitioner Context

41 views
Skip to first unread message

Provider

unread,
May 22, 2020, 6:34:22 AM5/22/20
to CDS Hooks
We have developed SMART app that utilizes CDS Services. Now, when performing POST CDS Service Request, we need to pass several parameters especially in "context".

"context": {
 "userId": "Practitioner/example",
 "...": "<snipped for brevity>"
 },
 "

Wanted to know what will "userId": "Practitioner/example" contain. Will that be Practitioner's FHIR ID or specially an NPI number or other type of ID ?

Thanks

Dennis Patterson

unread,
May 22, 2020, 4:39:07 PM5/22/20
to CDS Hooks
userId in a hook context such as your example is formatted as a FHIR literal reference.  It's an 'id' for that resource.  i.e. the "Practitioner/example" could be used at the FHIR endpoint to retrieve a Practitioner with an id of 'example".  It's not a FHIR 'identifier' such as NPI or other alias.

I'm interested in more about your use-case since you mention your SMART app uses CDS Services.  Is your SMART app functioning as a CDS Client and rendering card responses from CDS Services?
Reply all
Reply to author
Forward
0 new messages