C# Class gov.va.medora.mdo.dao.sql.npt.NptPatientDao

Inheritance: IPatientDao
Exibir arquivo Open project: OSEHRA/mdo Class Usage Examples

Public Methods

Method Description
NptPatientDao ( AbstractConnection cxn ) : System
addHomeData ( Patient patient ) : void
getAllProviders ( string pid ) : gov.va.medora.mdo.User[]
getConfidentiality ( ) : string>.KeyValuePair
getDemographics ( ) : DemographicSet
getInpatientProviders ( string pid ) : gov.va.medora.mdo.User[]
getLocalPid ( string mpiPID ) : string
getMOSReport ( Patient patient ) : TextReport
getOefOif ( ) : gov.va.medora.mdo.OEF_OIF[]
getPatient ( Patient p ) : gov.va.medora.mdo.Patient[]

Match a patient on Name, SSN and DOB

getPatient ( string ssn ) : gov.va.medora.mdo.Patient[]

Query NPT database for all patients with a given SSN

getPatientAssociates ( string pid ) : gov.va.medora.mdo.PatientAssociate[]
getPatientTypes ( ) : System.Collections.Specialized.StringDictionary
getPatientsByClinic ( string clinicId ) : gov.va.medora.mdo.Patient[]
getPatientsByClinic ( string clinicId, string fromDate, string toDate ) : gov.va.medora.mdo.Patient[]
getPatientsByProvider ( string providerId ) : gov.va.medora.mdo.Patient[]
getPatientsBySpecialty ( string specialtyId ) : gov.va.medora.mdo.Patient[]
getPatientsByTeam ( string teamId ) : gov.va.medora.mdo.Patient[]
getPatientsByWard ( string wardId ) : gov.va.medora.mdo.Patient[]
getPcpForPatient ( string dfn ) : string>.KeyValuePair
getRatedDisabilities ( ) : gov.va.medora.mdo.RatedDisability[]
getRatedDisabilities ( string pid ) : gov.va.medora.mdo.RatedDisability[]
getRemoteSiteIds ( string pid ) : System.Collections.Specialized.StringDictionary
getRemoteSites ( string pid ) : gov.va.medora.mdo.Site[]
getTreatingFacilityIds ( string pid ) : string>.Dictionary
isTestPatient ( ) : bool
issueConfidentialityBulletin ( ) : string
match ( string target ) : gov.va.medora.mdo.Patient[]

Match a patient by SSN

matchByNameCityState ( string name, string city, string stateAbbr ) : gov.va.medora.mdo.Patient[]
patientInquiry ( string pid ) : string
select ( ) : Patient
select ( string pid ) : Patient
selectBySSN ( string ssn ) : Patient

Private Methods

Method Description
getNextPatient ( System.Data.SqlClient.SqlDataReader reader ) : Patient
getPatientsFromDataReader ( System.Data.SqlClient.SqlDataReader reader ) : IList

Method Details

NptPatientDao() public method

public NptPatientDao ( AbstractConnection cxn ) : System
cxn AbstractConnection
return System

addHomeData() public method

public addHomeData ( Patient patient ) : void
patient gov.va.medora.mdo.Patient
return void

getAllProviders() public method

public getAllProviders ( string pid ) : gov.va.medora.mdo.User[]
pid string
return gov.va.medora.mdo.User[]

getConfidentiality() public method

public getConfidentiality ( ) : string>.KeyValuePair
return string>.KeyValuePair

getDemographics() public method

public getDemographics ( ) : DemographicSet
return gov.va.medora.mdo.DemographicSet

getInpatientProviders() public method

public getInpatientProviders ( string pid ) : gov.va.medora.mdo.User[]
pid string
return gov.va.medora.mdo.User[]

getLocalPid() public method

public getLocalPid ( string mpiPID ) : string
mpiPID string
return string

getMOSReport() public method

public getMOSReport ( Patient patient ) : TextReport
patient gov.va.medora.mdo.Patient
return gov.va.medora.mdo.TextReport

getOefOif() public method

public getOefOif ( ) : gov.va.medora.mdo.OEF_OIF[]
return gov.va.medora.mdo.OEF_OIF[]

getPatient() public method

Match a patient on Name, SSN and DOB
public getPatient ( Patient p ) : gov.va.medora.mdo.Patient[]
p gov.va.medora.mdo.Patient The patient to match
return gov.va.medora.mdo.Patient[]

getPatient() public method

Query NPT database for all patients with a given SSN
public getPatient ( string ssn ) : gov.va.medora.mdo.Patient[]
ssn string SSN (Social Security Number)
return gov.va.medora.mdo.Patient[]

getPatientAssociates() public method

public getPatientAssociates ( string pid ) : gov.va.medora.mdo.PatientAssociate[]
pid string
return gov.va.medora.mdo.PatientAssociate[]

getPatientTypes() public method

public getPatientTypes ( ) : System.Collections.Specialized.StringDictionary
return System.Collections.Specialized.StringDictionary

getPatientsByClinic() public method

public getPatientsByClinic ( string clinicId ) : gov.va.medora.mdo.Patient[]
clinicId string
return gov.va.medora.mdo.Patient[]

getPatientsByClinic() public method

public getPatientsByClinic ( string clinicId, string fromDate, string toDate ) : gov.va.medora.mdo.Patient[]
clinicId string
fromDate string
toDate string
return gov.va.medora.mdo.Patient[]

getPatientsByProvider() public method

public getPatientsByProvider ( string providerId ) : gov.va.medora.mdo.Patient[]
providerId string
return gov.va.medora.mdo.Patient[]

getPatientsBySpecialty() public method

public getPatientsBySpecialty ( string specialtyId ) : gov.va.medora.mdo.Patient[]
specialtyId string
return gov.va.medora.mdo.Patient[]

getPatientsByTeam() public method

public getPatientsByTeam ( string teamId ) : gov.va.medora.mdo.Patient[]
teamId string
return gov.va.medora.mdo.Patient[]

getPatientsByWard() public method

public getPatientsByWard ( string wardId ) : gov.va.medora.mdo.Patient[]
wardId string
return gov.va.medora.mdo.Patient[]

getPcpForPatient() public method

public getPcpForPatient ( string dfn ) : string>.KeyValuePair
dfn string
return string>.KeyValuePair

getRatedDisabilities() public method

public getRatedDisabilities ( ) : gov.va.medora.mdo.RatedDisability[]
return gov.va.medora.mdo.RatedDisability[]

getRatedDisabilities() public method

public getRatedDisabilities ( string pid ) : gov.va.medora.mdo.RatedDisability[]
pid string
return gov.va.medora.mdo.RatedDisability[]

getRemoteSiteIds() public method

public getRemoteSiteIds ( string pid ) : System.Collections.Specialized.StringDictionary
pid string
return System.Collections.Specialized.StringDictionary

getRemoteSites() public method

public getRemoteSites ( string pid ) : gov.va.medora.mdo.Site[]
pid string
return gov.va.medora.mdo.Site[]

getTreatingFacilityIds() public method

public getTreatingFacilityIds ( string pid ) : string>.Dictionary
pid string
return string>.Dictionary

isTestPatient() public method

public isTestPatient ( ) : bool
return bool

issueConfidentialityBulletin() public method

public issueConfidentialityBulletin ( ) : string
return string

match() public method

Match a patient by SSN
public match ( string target ) : gov.va.medora.mdo.Patient[]
target string Social Security Number (SSN)
return gov.va.medora.mdo.Patient[]

matchByNameCityState() public method

public matchByNameCityState ( string name, string city, string stateAbbr ) : gov.va.medora.mdo.Patient[]
name string
city string
stateAbbr string
return gov.va.medora.mdo.Patient[]

patientInquiry() public method

public patientInquiry ( string pid ) : string
pid string
return string

select() public method

public select ( ) : Patient
return gov.va.medora.mdo.Patient

select() public method

public select ( string pid ) : Patient
pid string
return gov.va.medora.mdo.Patient

selectBySSN() public method

public selectBySSN ( string ssn ) : Patient
ssn string
return gov.va.medora.mdo.Patient