Professional Documents
Culture Documents
Foreknowledge
In order to successfully utilize the web service you will need to know the following information.
1. ProgramID the ID that identifies your company or the association you are representing. Please
contact NetHealth for that information.
2. Username the active users PQRSPRO username or account id (email). If this is a new account,
you can create this information. Alternatively, see item #4.
3. Password the active users PQRSPRO password. If this is a new account, you can create this
information. Alternatively, see item #4.
4. ParticipantID the PQRSPRO user account ID should be stored with the 3rd Party so as to
alleviate unnecessary function calls. See Code Samples and Usage Cases for more
information.
Contents
Foreknowledge ............................................................................................................................................. 1
WS Location .................................................................................................................................................. 2
Service Methods ........................................................................................................................................... 2
How this Web Service is designed to be used. ............................................................................................. 4
Code Sample (XML): .................................................................................................................................. 4
Code Sample (String): ............................................................................................................................... 4
Data Schema: ................................................................................................................................................ 5
Data Sample .................................................................................................................................................. 6
Usage Cases................................................................................................................................................... 7
User does not yet a PQRSPRO account ..................................................................................................... 7
User has a PQRSPRO account ................................................................................................................... 7
WS Location
http://dev.pqrspro.com/system/services/Service1.svc
Service Methods
Primary Methods
Int32 IdentifyUser(string email, string first_name, string last_name);
This method gets the ParticipantID of existing accounts by contact information.
Int32 AddUser(
int program_id, = Values:Any Integer (Your account ID)
int GroupID, = Values:0, 48-72 (User CMS Group ID, use 0 if unknown)
string MeasureType, = Values: MeasureSet/MeasureGroup (MeasureSet if GroupID=0)
int SubmissionYear, = Values: 2014 (Filing Year)
string first_name, = Values: Any String (50 maxlength)
string last_name, = Values: Any String (50 maxlength)
string account_id, = Values: Any String (User EMAIL, 50 maxlength)
string user_id, = Values: Any String (User UserName, 50 maxlength)
string password, = Values: Any String (50 maxlength)
string source); = Values: Any String (Vendor Name, 50 maxlength)
void AddChartDetails(
int program_id, int participant_id, int visit_id, string[] codes);
void AddChartDetail(
int program_id, int participant_id, int visit_id, string code, string modifier);
// Create Service
client.Close();
// Dispose Service
client.Close();
Data Schema:
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="cptcode">
<xs:complexType>
<xs:sequence>
<xs:element name="ProgramID" type="xs:int"/>
<xs:element name="ParticipantID" type="xs:int"/>
<xs:element name="SubmissionYear" type="xs:int"/>
<xs:element name="PatientID" type="xs:string"/>
<xs:element name="VisitDate" type="xs:string"/>
<xs:element name="IsMedicare" type="xs:boolean"/>
<xs:element name="Age" type="xs:string"/>
<xs:element name="Gender" type="xs:string"/>
<xs:element name="CPTCode" type="xs:string"/>
<xs:element name="Modifier" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="visit">
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:element ref="cptcode"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Data Sample
<?xml version="1.0" encoding="UTF-8"?>
<visit>
<cptcode>
<ProgramID>1</ ProgramID >
<ParticipantID>12345</ ParticipantID>
<SubmissionYear>2014</SubmissionYear>
<PatientID>P34X001</PatientID>
<VisitDate>03/04/2014</VisitDate>
<IsMedicare>1</IsMedicare>
<Age>56</Age>
<Gender>M</Gender>
<CPT>33405</CPT>
<Modifier />
</cptcode>
<cptcode>
<ProgramID>1</ ProgramID >
<ParticipantID>12345</ ParticipantID>
<SubmissionYear>2014</SubmissionYear>
<PatientID>P34X001</PatientID>
<VisitDate>03/04/2014</VisitDate>
<IsMedicare>1</IsMedicare>
<Age>56</Age>
<Gender>M</Gender>
<CPT>G8702</CPT>
<Modifier></Modifier>
</cptcode>
<cptcode>
<ProgramID>1</ ProgramID >
<ParticipantID>12345</ ParticipantID>
<SubmissionYear>2014</SubmissionYear>
<PatientID>P34X001</PatientID>
<VisitDate>03/04/2014</VisitDate>
<IsMedicare>1</IsMedicare>
<Age>56</Age>
<Gender>M</Gender>
<CPT>4110F</CPT>
<Modifier>8P</Modifier>
</cptcode>
</visit>
Usage Cases
The following usage cases provides step-by-step instructions for how to establish an integrated
relationship between a 3rd Party vendor/partner and the PQRSPRO.com registry.