EPIC PFT Report how to retrieve using a API

Hi Team,

I want to retrieve whether the patient has been smoking or not using the Pulmonary Function Testing(PFT) API.
Can someone provide me the API to get the search result?

Searching against Observation is your best bet. In most countries, you’d use LOINC code, thought that’s not a given everywhere.