Adding "Locked" Status for Appointment

We would like to introduce a new Appointment Status - Locked. It would help when trying to make an online payment for the appointments so that before a payment is attempted we could create an appointment with “Status” locked so that the service and the time slot that is selected is locked. Once the payment is successful, we would mark the Appointment as “Scheduled”

cc @shilpa @sthote @gsluthra

Ideally we would like to add status from FHIR. You can look at the following:

  1. Valueset-appointmentstatus - FHIR v5.0.0
  2. Valueset-slotstatus - FHIR v6.0.0-cibuild

Also, once you add this “Status”, is there some lock & check status you want to put in Appointment modue, or just introduce this status? As per PR I only see the status: Adding locked status for appointment by kushboojain-iplit · Pull Request #139 · Bahmni/openmrs-module-appointments · GitHub

cc: @angshuonline