HL7ServiceTest

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total953 of 9530%6 of 60%30302862862727
getUuidFromIdentifiers_shouldFindAUUIDInAnyPositionOfTheArray()850%n/a11252511
processHL7InQueue_shouldCreateHL7InArchiveAfterSuccessfulParsing()640%40%33151511
processHL7Message_shouldParseMessageTypeSuppliedByModule()630%20%22232311
processHL7InQueue_shouldParseOruR01MessageUsingOverriddenParserProvidedByAModule()610%n/a11191911
processHL7Message_shouldSaveHl7MessageToTheDatabase()470%n/a11131311
resolvePersonFromIdentifiers_shouldFindAPersonBasedOnAPatientIdentifier()430%n/a11111111
resolvePersonFromIdentifiers_shouldFindAPersonBasedOnAUUID()430%n/a11111111
resolvePersonFromIdentifiers_shouldFindAPersonBasedOnTheInternalPersonID()430%n/a11111111
resolvePersonFromIdentifiers_shouldReturnNullIfNoPersonIsFound()360%n/a11101011
resolveLocationId_shouldReturnInternalIdentifierOfLocationIfOnlyLocationNameIsSpecified()340%n/a11111111
resolveLocationId_shouldReturnInternalIdentifierOfLocationIfOnlyLocationIdIsSpecified()340%n/a11111111
getPersonFromNK1_shouldReturnAPatientIfValidPatientIdentifiersExist()330%n/a11101011
getPersonFromNK1_shouldReturnASavedNewPerson()320%n/a119911
resolveLocationId_shouldReturnNullIfLocationIdAndNameAreIncorrect()310%n/a11111111
getUuidFromIdentifiers_shouldReturnNullIfNoUUIDFound()290%n/a119911
getUuidFromIdentifiers_shouldNotFailIfMultipleSimilarUUIDsExistInIdentifiers()290%n/a119911
saveHL7InQueue_shouldAddGeneratedUuidIfUuidIsNull()280%n/a118811
getPersonFromNK1_shouldFailIfAPersonWithTheSameUUIDExists()280%n/a119911
getUuidFromIdentifiers_shouldFailIfMultipleDifferentUUIDsExistInIdentifiers()280%n/a119911
processHL7InQueue_shouldCreateHL7InErrorAfterFailedParsing()270%n/a117711
getUuidFromIdentifiers_shouldNotFailIfNoAssigningAuthorityIsFound()260%n/a118811
getPersonFromNK1_shouldFailIfNoBirthdateSpecified()250%n/a118811
getPersonFromNK1_shouldFailIfNoGenderSpecified()250%n/a118811
getPersonFromNK1_shouldFailOnAnInvalidGender()250%n/a118811
processHL7InQueue_shouldFailIfGivenInQueueIsAlreadyMarkedAsProcessing()180%n/a116611
parseHL7String_shouldParseTheGivenStringIntoMessage()90%n/a115511
HL7ServiceTest()70%n/a112211