Stav dette: Ontology to identify pregnant women in electronic health records: primary care sentinel network database study