Click or drag to resize
ehrThomas

ApiFindPatient Method

Searches the patient database for patients that have a token matching the data passed. When calling for a patient, ehrAPI will return the patient basic demographic as a set by default. The basic patient demographic includes: patientID, tokenID being used, account number, first name, middle name, last name, DOB and gender along with encounter dates and encounterIDs. A complete patient demographic information (Patient’s first name, middle name, last name, patientID, tokenID, DOB, gender, contact info, race, ethnicity, and language) will be returned with encounter CCDA object.

Namespace:  ehrApi
Assembly:  ehrApi (in ehrApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public Patient FindPatient(
	string Token,
	Nullable<DateTime> DateFrom,
	Nullable<DateTime> DateTo
)

Parameters

Token
Type: SystemString
The patient's first name
DateFrom
Type: SystemNullableDateTime
The earliest date to select encounters
DateTo
Type: SystemNullableDateTime
The latest date to select encounters

Return Value

Type: Patient
Patient
See Also