encounter transaction api - first cut