Use Case Scenario Template

Example Use-case scenario definition Post-Partum Care Program (Apointment booking)

ID

PPCP_Scheduler_UC_01

Logical process step 

Consultation Appointment: Post-Partum Care Programhttps://github.com/GovStackWorkingGroup/BuildingBlockAPI/projects/1

Scenario

Health worker assisted appointment management for consultation

Description

 

Brief description of the scenario in which this service of the building block is consumed by another BB or Application, by giving specific inputs and return of specific outputs. Note the same service could have multiple modalities depending on infra maturity, each becomes a separate scenario, although service may be same. For example payments through mobile money or through banks create two alternative scenarios for the payment BB.

Trigger

PPCP App sends request to scheduler BB to create/cancel consultation event.

Preconditions

Entities that provide consultation services are registered under the PPCP program ….

Data inputs

Query parameters to find free slots 2…

Actor

mother, Doctor, Health Worker

Normal Course

Appointment booking:

Organizer(Health worker) captures subscriber’s (Patient) preferences (such as doctor, dates, time-zones, entities, etc.) in PPCP App and submits appointment request for a consultation session …..

Appointment Cancellation:

Organizer(Health worker) submits appointment ID and request for cancellation of booked session through PPCP_app to Scheduler[planner]….

Alternative Course (Scenario 2)

In an alternative scenario, patients may themselves login to the PPCP_App application and book appointments without support of Health worker. This is a subset of the workflow mentioned above.

Data output

List of available free slots

Event related alert Messages……..

Post-Conditions

Appointment booking: Specific session of event plan is updated with either completed or no show status

Reporting: Relevant datasets are returned as JSON formatted string…..

Exceptions

PPCP_App prompts Organizer(Health worker) to request new appointment if confirmation is not received from Scheduler within a predefined timeout  period …..

Related BBs

Service ordering, Registration, workflow, Information mediator, Messaging, PPCP App

Remarks

This use case model can be used for other types of consultations such as legal/financial/etc. between subscribers (plaintiff/investor/etc.) and consultants (lawyer/auditor/etc), organized by respective assistants.

Workflows

Link internal workflow diagrams here for various micro services used: e.g booking/cancellation/tracking and alerting/status reporting of appointments

https://govstack.gitbook.io/bb-scheduler/9-workflows#_heading-h.41mghml

 

Cross building block interaction diagram

Highlights the interactions between people and functional components, e.g.:

 

See the editable version here.

Original user journey

Links and references to where the use case was derived, e.g. https://www.gov.za/covid-19/individuals-and-households/social-grants-coronavirus-covid-19