From 652660d3016f114e795a4f9d2ce6e195f3a12871 Mon Sep 17 00:00:00 2001 From: WEN SHUFA Date: Thu, 31 Oct 2019 22:26:11 +0800 Subject: [PATCH 1/2] edits addappt command --- docs/UserGuide.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/UserGuide.adoc b/docs/UserGuide.adoc index cbea77f6b43..5aff176e7d1 100644 --- a/docs/UserGuide.adoc +++ b/docs/UserGuide.adoc @@ -40,7 +40,7 @@ e.g. typing *`help`* and pressing kbd:[Enter] will open the help window. Alterna * `register -id 001A -name John Doe -phone 98765432 -email johnd@example.com -address John street, block 123, #01-01` : registers a patient named `John Doe`. -* `enqueue 001A` : enqueues patient with reference id `001A` into the queue. +* `enqueue 001A` : enqueues patient with reference id `001A` into the queue. The patient `001A` must be registered. * *`exit`* : exits the app. . Refer to <> for details of each command. @@ -151,7 +151,7 @@ Format: `offduty ` ==== Adds an appointment: `addappt` ==== -Adds a new appointment for a patient + +Adds a new appointment for a existing patient. Timing must be valid and not conflict with doctors' duty roster. If no optional fields `[-rec REPEATEDLY]` and `[-num RECURSIVE_TIMES]` are present, only one event will be added. Otherwise repeated appointments will be added. + From da766d3231a289e133d96df359e7b68923fc7052 Mon Sep 17 00:00:00 2001 From: WEN SHUFA Date: Thu, 31 Oct 2019 23:55:08 +0800 Subject: [PATCH 2/2] removes extra space --- docs/UserGuide.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/UserGuide.adoc b/docs/UserGuide.adoc index 5aff176e7d1..631186b0fdd 100644 --- a/docs/UserGuide.adoc +++ b/docs/UserGuide.adoc @@ -129,13 +129,13 @@ Format: `doctors []` Registers a new doctor. + If the staff reference identifier is not specified, a unique identifier will be assigned by the system. -Format: `newdoctor -name [-id ] [-phone ] [-email ] [-address
]-num ` +Format: `newdoctor -name [-id ] [-phone ] [-email ] [-address
]-num` ==== Updates a doctor's profile: `updatedoctor` ==== If user is in the doctors listing screen, updates any change for doctor’s profiles. + Format: `updatedoctor [-name ] -[-id ] [-phone ] [-email ] [-address
]-num ` +[-id ] [-phone ] [-email ] [-address
]-num` ==== Marks the doctor as on-duty: `onduty` ==== @@ -288,9 +288,9 @@ Format: `redo` * *On-Duty Doctors Management* + ** doctors: `doctors []` -** newdoctor: `newdoctor -name [-id ] [-phone ] [-email ] [-address
]-num ` +** newdoctor: `newdoctor -name [-id ] [-phone ] [-email ] [-address
]-num` ** updatedoctor: `updatedoctor [-name ] -[-id ] [-phone ] [-email ] [-address
]-num ` +[-id ] [-phone ] [-email ] [-address
]-num` ** resigndoctor: `resigndoctor ` ** onduty: `onduty ` ** offduty: `offduty `