Abnormality of acid-base homeostasis (Human Phenotype Ontology identifier HP_0004360) is an abnormality of the balance or maintenance of the balance of acids and bases in bodily fluids, resulting in an abnormal pH.