| saveVisit_shouldSaveNewVisitWithEncountersSuccessfully() |  | 0% | | n/a | 1 | 1 | 18 | 18 | 1 | 1 |
| saveVisit_shouldVoidAnAttributeIfMaxOccursIs1AndSameAttributeTypeAlreadyExists() |  | 0% | | n/a | 1 | 1 | 13 | 13 | 1 | 1 |
| saveVisit_shouldAssociateEncounterWithVisitOnSaveEncounter() |  | 0% | | n/a | 1 | 1 | 15 | 15 | 1 | 1 |
| saveVisit_shouldPersistNewEncounter() |  | 0% | | n/a | 1 | 1 | 15 | 15 | 1 | 1 |
| unvoidVisit_shouldUnvoidEncountersVoidedWithVisit() |  | 0% | | n/a | 1 | 1 | 13 | 13 | 1 | 1 |
| getVisitTypes_shouldGetCorrentVisitTypes() |  | 0% | | n/a | 1 | 1 | 13 | 13 | 1 | 1 |
| stopVisits_shouldCloseAllUnvoidedActiveVisitMatchingTheSpecifiedVisitTypes() |  | 0% |  | 0% | 3 | 3 | 11 | 11 | 1 | 1 |
| getVisits_shouldGetVisitsThatAreStillOpenEvenIfMinStartDatetimeIsSpecified() |  | 0% | | n/a | 1 | 1 | 10 | 10 | 1 | 1 |
| saveVisit_shouldAddANewVisitToTheDatabase() |  | 0% | | n/a | 1 | 1 | 10 | 10 | 1 | 1 |
| getVisits_shouldGetAllVisitsWithGivenAttributeValues() |  | 0% | | n/a | 1 | 1 | 7 | 7 | 1 | 1 |
| shouldVoidASimpleAttribute() |  | 0% |  | 0% | 2 | 2 | 11 | 11 | 1 | 1 |
| purgeVisit_shouldEraseTheVisitFromTheDatabase() |  | 0% | | n/a | 1 | 1 | 6 | 6 | 1 | 1 |
| getVisits_shouldGetVisitsEndedBetweenTheGivenEndDates() |  | 0% | | n/a | 1 | 1 | 9 | 9 | 1 | 1 |
| getVisits_shouldGetVisitsStartedBetweenTheGivenStartDates() |  | 0% | | n/a | 1 | 1 | 9 | 9 | 1 | 1 |
| saveVisit_shouldBeAbleToAddAnAttributeToAVisit() |  | 0% | | n/a | 1 | 1 | 10 | 10 | 1 | 1 |
| saveVisitType_shouldSaveEditedVisitType() |  | 0% | | n/a | 1 | 1 | 12 | 12 | 1 | 1 |
| getVisitType_shouldGetCorrectVisitType() |  | 0% | | n/a | 1 | 1 | 12 | 12 | 1 | 1 |
| unretireVisitAttributeType_shouldUnretireARetiredVisitAttributeType() |  | 0% | | n/a | 1 | 1 | 12 | 12 | 1 | 1 |
| getVisits_shouldNotFindAnyVisitsIfNoneHaveGivenAttributeValues() |  | 0% | | n/a | 1 | 1 | 6 | 6 | 1 | 1 |
| retireVisitType_shouldRetireGivenVisitType() |  | 0% | | n/a | 1 | 1 | 11 | 11 | 1 | 1 |
| voidVisit_shouldVoidEncountersWithVisit() |  | 0% | | n/a | 1 | 1 | 10 | 10 | 1 | 1 |
| retireVisitAttributeType_shouldRetireAVisitAttributeType() |  | 0% | | n/a | 1 | 1 | 10 | 10 | 1 | 1 |
| unretireVisitType_shouldUnretireGivenVisitType() |  | 0% | | n/a | 1 | 1 | 11 | 11 | 1 | 1 |
| voidVisit_shouldVoidTheVisitAndSetTheVoidReason() |  | 0% | | n/a | 1 | 1 | 11 | 11 | 1 | 1 |
| saveVisit_shouldUpdateAnExistingVisitInTheDatabase() |  | 0% | | n/a | 1 | 1 | 11 | 11 | 1 | 1 |
| saveVisitAttributeType_shouldEditAnExistingVisitAttributeType() |  | 0% | | n/a | 1 | 1 | 8 | 8 | 1 | 1 |
| getVisitTypeByUuid_shouldGetCorrentVisitType() |  | 0% | | n/a | 1 | 1 | 12 | 12 | 1 | 1 |
| saveVisit_shouldSaveAVisitThoughChangedByAndDateCreatedAreNotSetForVisitAttributeExplictly() |  | 0% | | n/a | 1 | 1 | 8 | 8 | 1 | 1 |
| unvoidVisit_shouldUnvoidTheVisitAndUnsetAllTheVoidRelatedFields() |  | 0% | | n/a | 1 | 1 | 11 | 11 | 1 | 1 |
| saveVisitAttributeType_shouldCreateANewVisitAttributeType() |  | 0% | | n/a | 1 | 1 | 9 | 9 | 1 | 1 |
| saveVisitType_shouldSaveNewVisitType() |  | 0% | | n/a | 1 | 1 | 8 | 8 | 1 | 1 |
| purgeVisit_shouldFailIfTheVisitHasEncountersAssociatedToIt() |  | 0% |  | 0% | 2 | 2 | 7 | 7 | 1 | 1 |
| getVisits_shouldGetVisitsByLocations() |  | 0% | | n/a | 1 | 1 | 5 | 5 | 1 | 1 |
| getVisits_shouldGetVisitsByVisitType() |  | 0% | | n/a | 1 | 1 | 5 | 5 | 1 | 1 |
| saveVisit_shouldPassIfNoValidationErrorsAreFound() |  | 0% | | n/a | 1 | 1 | 7 | 7 | 1 | 1 |
| purgeVisitAttributeType_shouldCompletelyRemoveAVisitAttributeType() |  | 0% | | n/a | 1 | 1 | 5 | 5 | 1 | 1 |
| endVisit_shouldFailIfValidationErrorsAreFound() |  | 0% | | n/a | 1 | 1 | 7 | 7 | 1 | 1 |
| purgeVisitType_shouldDeleteGivenVisitType() |  | 0% | | n/a | 1 | 1 | 7 | 7 | 1 | 1 |
| createVisitAttributeWithoutCreatorAndDateCreated() |  | 0% | | n/a | 1 | 1 | 6 | 6 | 1 | 1 |
| getVisits_shouldGetVisitsByIndications() |  | 0% | | n/a | 1 | 1 | 3 | 3 | 1 | 1 |
| saveVisit_shouldFailIfValidationErrorsAreFound() |  | 0% | | n/a | 1 | 1 | 6 | 6 | 1 | 1 |
| getAllVisitTypes_shouldGetAllVisitTypesBasedOnIncludeRetiredFlag() |  | 0% | | n/a | 1 | 1 | 6 | 6 | 1 | 1 |
| createVisitAttribute(Object) |  | 0% | | n/a | 1 | 1 | 6 | 6 | 1 | 1 |
| endVisit_shouldSetStopDateTimeAsCurrentDateIfStopDateIsNull() |  | 0% | | n/a | 1 | 1 | 6 | 6 | 1 | 1 |
| getVisits_shouldReturnAllVisitsIfIncludeVoidedIsSetToTrue() |  | 0% | | n/a | 1 | 1 | 3 | 3 | 1 | 1 |
| getActiveVisitsByPatient_shouldReturnAllActiveVisitsForTheSpecifiedPatient() |  | 0% | | n/a | 1 | 1 | 3 | 3 | 1 | 1 |
| getActiveVisitsByPatient_shouldReturnAllUnvoidedVisitsForTheSpecifiedPatient() |  | 0% | | n/a | 1 | 1 | 3 | 3 | 1 | 1 |
| endVisit_shouldNotFailIfNoValidationErrorsAreFound() |  | 0% | | n/a | 1 | 1 | 4 | 4 | 1 | 1 |
| getActiveVisitsByPatient_shouldReturnAllUnvoidedActiveVisitsForTheSpecifiedPatient() |  | 0% | | n/a | 1 | 1 | 3 | 3 | 1 | 1 |
| getVisitByUuid_shouldReturnAVisitMatchingTheSpecifiedUuid() |  | 0% | | n/a | 1 | 1 | 4 | 4 | 1 | 1 |
| getVisitAttributeType_shouldReturnTheVisitAttributeTypeWithTheGivenId() |  | 0% | | n/a | 1 | 1 | 3 | 3 | 1 | 1 |
| getVisitsByPatient_shouldReturnAllUnvoidedVisitsForTheSpecifiedPatient() |  | 0% | | n/a | 1 | 1 | 2 | 2 | 1 | 1 |
| saveVisitType_shouldThrowErrorWhenNameIsEmptyString() |  | 0% | | n/a | 1 | 1 | 3 | 3 | 1 | 1 |
| getVisitAttributeTypeByUuid_shouldReturnTheVisitAttributeTypeWithTheGivenUuid() |  | 0% | | n/a | 1 | 1 | 3 | 3 | 1 | 1 |
| getVisitAttributeByUuid_shouldGetTheVisitAttributeWithTheGivenUuid() |  | 0% | | n/a | 1 | 1 | 4 | 4 | 1 | 1 |
| getAllVisitAttributeTypes_shouldReturnAllVisitAttributeTypesIncludingRetiredOnes() |  | 0% | | n/a | 1 | 1 | 3 | 3 | 1 | 1 |
| getVisitAttributeType_shouldReturnNullIfNoVisitAttributeTypeExistsWithTheGivenId() |  | 0% | | n/a | 1 | 1 | 3 | 3 | 1 | 1 |
| getVisitAttributeTypeByUuid_shouldReturnNullIfNoVisitAttributeTypeExistsWithTheGivenUuid() |  | 0% | | n/a | 1 | 1 | 3 | 3 | 1 | 1 |
| getVisitAttributeByUuid_shouldReturnNullIfNoVisitAttributeHasTheGivenUuid() |  | 0% | | n/a | 1 | 1 | 3 | 3 | 1 | 1 |
| getAllVisitTypes_shouldGetAllVisitTypes() |  | 0% | | n/a | 1 | 1 | 3 | 3 | 1 | 1 |
| saveVisitType_shouldThrowErrorWhenNameIsNull() |  | 0% | | n/a | 1 | 1 | 2 | 2 | 1 | 1 |
| getAllVisits_shouldReturnAllUnvoidedVisits() |  | 0% | | n/a | 1 | 1 | 2 | 2 | 1 | 1 |
| before() |  | 0% | | n/a | 1 | 1 | 2 | 2 | 1 | 1 |
| VisitServiceTest() |  | 0% | | n/a | 1 | 1 | 1 | 1 | 1 | 1 |