Removing a dynamic form
If no data has been entered into a dynamic form, you can remove it from the patient’s Case Book by using the RemoveNotStartedDynamicForm method on the Patient or Result object.
RemoveNotStartedDynamicForm has the following parameters:
- RefName of the visit in which to the form appears or may appear.
- RefName of the dynamic form to remove from the schedule.
- Visit Index. This is a number that specifies an index into a repeating visit. Values are:
- 0—Indicates that the visit is not repeating or, if the visit is repeating, references the current instance of the visit.
- Any number greater than 0—Explicitly indexes the specified occurrence of the visit.