Assuming his ammonia levels are high due to cirrhosis he should really consult with his liver specialist for advice on what sleep aides to take.
Medications taken by those who's liver is not severly compromised react differently than those who have advanced liver disease and it would be in his best interest to present this to his doctor.
Trinity