def positive_after_one_dose(tx):
    """
         Method that queries the database for collecting all people that result positive after a dose of vaccine
         :param tx: session
         :return nodes of person
     """
    query = (
        "MATCH(t:Test)<-[m:MAKE_TEST{result: \"Positive\"}]-(p:Person)-[g: GET_VACCINE]->(v:Vaccine) "
        "WHERE NOT (()<-[:GET_VACCINE]-(p)-[:GET_VACCINE]->()) AND m.date > g.date "
        "RETURN p , ID(p)"
    )
    result = tx.run(query).data()
    return result