Open joyce-x-chen opened 1 year ago
More details: https://docs.google.com/document/d/10prv9DrMBy7ydNmWJxtPBm5c_qBFO6BFLGjwqVIOIq8/edit
Tasks:
use:
endpoint: POST https://keycloak-stage.smartregister.org/auth/admin/realms/<realm>/users
payload:
ref:
fhir-core-app-id: https://github.com/opensrp/web/issues/1147
The web gets the keycloak-id in the response to the post request.
{"firstName":
prerequisite:
use:
endpoint: PUT https://keycloak-stage.smartregister.org/auth/admin/realms/<realm>/users/<user-id>/groups/<group-id>
payload: ref:
prerequisite:
use:
endpoint: PUT: https://fhir.labs.smartregister.org/fhir/Practitioner/<guid>
payload:
ref:
https://hl7.org/fhir/r4b/practitione.html#resource
const payload: IPractitioner = {
resourceType: practitionerResourceType,
id:
prerequisite:
use:
endpoint: PUT: https://fhir.labs.smartregister.org/fhir/PractitionerRole/<guid>
payload:
ref:
https://github.com/opensrp/web/issues/1095#issuecomment-1306884156
const payload: IPractitionerRole = {
resourceType: "PractitionerRole",
id: Practitioner/${practitionerID}
,
display:
prerequisite:
use:
endpoint: PUT: https://fhir.labs.smartregister.org/fhir/Group/<guid>
payload:
ref:
https://github.com/opensrp/web/issues/1094#issuecomment-1263316788
const payload: IGroup = {
resourceType: "Group",
id: Practitioner/${practitionerID}
,
display:
Initial PR with MVP https://github.com/onaio/fhircore-tooling/pull/3
Hey @dubdabasoduba, couple of questions for you here
official identifier
should I generate a new uuid for this or is it pulled from somewhere?"type":[{"coding":[{"code":"team","system":"http://terminology.hl7.org/CodeSystem/organization-type"}]}]
- but then I've noticed that this is not in all organizations. Can you confirm if I should include it or not?@Wambere
official identifier
is an auto-generated UUID. "type":[{"coding":[{"code":"team","system":"http://terminology.hl7.org/CodeSystem/organization-type"}]}]
should be added. The organisation resource can represent different things. The above code type helps us identify the Organization resource representing teams.
Feature Use Case
Users of OpenSRP/FHIR Web (e.g. program administrators, project managers, and/or technical partners) need to do the following at scale:
The current solution of creating the location hierarchy, user accounts, and teams manually, and making assignments manually for each user, is not feasible at scale.
Acceptance criteria
There is demand for a tool that allows bulk import of location hierarchies, user accounts, team names, and corresponding assignments using a simple format (e.g. CSV) that does not require programming skills. The tool would ideally also validate the data and generate an error message for missing, invalid, or inconsistent assignments. Potential outputs include:
Project Contact
All digital health PMs
Relevant Information
This has been requested by many internal and external stakeholders for a number of digital health projects. The current method of creating user accounts and location hierarchies manually, and making those assignments manually, is time-consuming and error prone. A substantial amount of time in the post-deployment phase is spent troubleshooting and supporting partners with user account, location hierarchy, and assignment errors.