Add an endpoint in the mediator to create practitioners
Opened this issue · 4 comments
Hi, I don't understand where a practitioner comes in the flow. Can you please explain it? Is it possible to have a session?
Good question. The practitioner resource is listed here as medium priority for resources required to support interoperability. In our specific use case the CHW is the practitioner and can be included in the encounter resource that is created once the task that is sent for follow up is completed.
Okay, are we to create a practitioner before creating a task? Or when creating the task? It also seems like the practitioner is attached to a task, are we to take note of the practitioner upon creation of the task? Or when the task is completed?
The creation of the practitioner can happen when a new user (CHW) is added to the CHT similar how we are creating patients from the CHT now. The practitioner will be attached to the encounter that is created when the follow up task is completed.