There are various APIs available for building applications, with emerging standards in the space. From my experience, FHIR and EHR are popular standards with different features and trade-offs. UMAP is another standard to consider for reporting or longitudinal analysis. This provides a general setup for different needs.