async function test() {
    const response = await checkIn();

    await discharge(response.appointment, response.encounter);
}
/**
 * Check-in and then discharge.
 */
Check-in and then discharge.
Check - in and then discharge .
async function test() {
    const response = await checkIn();
    await discharge(response.appointment, response.encounter);
}
async function test ( ) { const response = await checkIn ( ) ; await discharge ( response . appointment , response . encounter ) ; }
Check-in and then discharge.
Check - in and then discharge .