Created
January 3, 2019 19:05
-
-
Save dariocravero/ee08caf19bab3b2fd0d58bfddd373747 to your computer and use it in GitHub Desktop.
# capability: to book an appointment from any other website than ours
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# capability: to book an appointment from any other website than ours | |
Appointment widget | |
# as a patient I want to | |
Book an appointment | |
when done -> See a doctor and get medical help | |
# as a patient I want to | |
Provide patient and appointment data | |
# as a patient I want to | |
Provide appointment data | |
# as a patient I want to | |
Provide appointment type of insurance data | |
# ___Data___ | |
# Type of the insurance String fixed, one, Type 1, Type 2 | |
when provided -> Provide appointment location data | |
# as a patient I want to | |
Provide appointment location data | |
# ___Data___ | |
# Location String | |
when provided -> Provide appointment date data | |
# as a patient I want to | |
Provide appointment date data | |
# ___Data___ | |
# Date Date mm-dd-yyyy | |
when provided -> Provide appointment time data | |
# as a patient I want to | |
Provide appointment time data | |
# ___Data___ | |
# Time Time hh:mm | |
provide patient data -> Provide patient data | |
# as a patient I want to | |
Provide patient data | |
# ___Data___ | |
# First name, String, Dario, Tom | |
# Last name String Cravero Parandyk | |
# Phone number Phone 0833607506 | |
# Email Email | |
# so that I can | |
See a doctor and get medical help |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function render(model){ | |
let current_state_name = model.active_states[0].name; | |
return $("h1", | |
{style: {color: "darkBlue"}}, | |
`The current state is: ${current_state_name}`); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment