Skip to end of metadata
Go to start of metadata

The Find Health Professional by Elements (Query Health Professional In) enterprise service helps find a health professional.

Technical Details from the ES Workplace

ES Workplace Requirements: Internet Explorer 5.0 or higher (PC); SDN username and password

View this enterprise service in the ES Workplace (WSDL is coming soon)

Want to learn more about WSDL?

Enterprise Service Interface

Query Health Professional (view this enterprise service interface in the ES Workplace)

Process Component

Business Partner Data Management (CHN) (view model for this process component in the ES Workplace) (Diagram Legend)

Business Object

Business Partner (CHN)

Applicable ES Bundles

Usage Notes

  • Add usage notes here

Examples

  • Example #1: call the service in a C# application, Visual Studio 2003

 //This console application lists the first health professional, starting his family name with "E...", using the service
//http://uscicw2.wdf.sap.corp:50076/sap/bc/srt/wsdl/bndg_47A1CF676B104CC3E10000000A4248E2/wsdl11/allinone/ws_policy/document?sap-client=001 

//author: Gert Schneider, 2008-02-21 (Gert.Schneider@sap.com)

//create the callable service function itself
corp.sap.wdf.uscicw2.HlthProflByElmntsQR srvHlthProflByElmntsQR = new corp.sap.wdf.uscicw2.HlthProflByElmntsQR();
//create all classes necessary to set query parameters
corp.sap.wdf.uscicw2.HealthProfessionalCHNByElementsQueryMessage_sync
query = new corp.sap.wdf.uscicw2.HealthProfessionalCHNByElementsQueryMessage_sync();
query.MessageHeader = new corp.sap.wdf.uscicw2.BusinessDocumentMessageHeader();
query.MessageHeader.ID = new corp.sap.wdf.uscicw2.BusinessDocumentMessageID();
query.MessageHeader.SenderParty = new corp.sap.wdf.uscicw2.BusinessDocumentMessageHeaderParty();
query.MessageHeader.SenderParty.InternalID = new corp.sap.wdf.uscicw2.PartyInternalID();
query.MessageHeader.SenderParty.ContactPerson = new corp.sap.wdf.uscicw2.BusinessDocumentMessageHeaderPartyContactPerson();
query.MessageHeader.SenderParty.ContactPerson.InternalID = new corp.sap.wdf.uscicw2.ContactPersonInternalID();
query.MessageHeader.RecipientParty = new corp.sap.wdf.uscicw2.BusinessDocumentMessageHeaderParty[1];
query.MessageHeader.RecipientParty[0] = new corp.sap.wdf.uscicw2.BusinessDocumentMessageHeaderParty();
query.MessageHeader.RecipientParty[0].InternalID = new corp.sap.wdf.uscicw2.PartyInternalID();
query.MessageHeader.BusinessScope = new corp.sap.wdf.uscicw2.BusinessScope[1];
query.MessageHeader.BusinessScope[0] = new corp.sap.wdf.uscicw2.BusinessScope();
query.MessageHeader.BusinessScope[0].TypeCode = new corp.sap.wdf.uscicw2.BusinessScopeTypeCode();
query.MessageHeader.BusinessScope[0].InstanceID = new corp.sap.wdf.uscicw2.BusinessScopeInstanceID();
query.ProcessingConditions = new corp.sap.wdf.uscicw2.HealthProfessionalCHNByElementsQueryMessage_syncProcessingConditions();
query.HealthProfessionalSelectionByElements = new corp.sap.wdf.uscicw2.HealthProfessionalCHNByElementsQueryMessage_syncHealthProfessionalSelectionByElements();
query.HealthProfessionalSelectionByElements.SelectionByName = new corp.sap.wdf.uscicw2.HealthProfessionalCHNByElementsQueryMessage_syncHealthProfessionalSelectionByElementsSelectionByName();
query.HealthProfessionalSelectionByElements.SelectionByName.SelectionByFamilyName = new corp.sap.wdf.uscicw2.HealthProfessionalCHNByElementsQueryMessage_syncHealthProfessionalSelectionByElementsSelectionByNameSelectionByFamilyName();
//define response class
corp.sap.wdf.uscicw2.HealthProfessionalCHNByElementsResponseMessage_sync response;
//define username and password for CW2 system//substitute username and password by your credentials in the next line
srvHlthProflByElmntsQR.Credentials = new System.Net.NetworkCredential("username","password");
//define all necessary parameters for successful call
query.MessageHeader.ID.Value = "LOCAL_ID";
query.MessageHeader.CreationDateTime = DateTime.Now;
query.MessageHeader.SenderParty.InternalID.schemeID = "1.2.276.0.76.3.1.999.9.2.1";
query.MessageHeader.SenderParty.ContactPerson.InternalID.schemeID = "1.2.276.0.76.3.1.999.9.2.1";
query.MessageHeader.SenderParty.ContactPerson.InternalID.Value = "CHN_ALL_01";
query.MessageHeader.RecipientParty[0].InternalID.schemeID = "1.2.276.0.76.3.1.999.9";
query.MessageHeader.RecipientParty[0].InternalID.Value = ".2.1";
query.MessageHeader.BusinessScope[0].TypeCode.Value = "1";
query.MessageHeader.BusinessScope[0].InstanceID.Value = "ID_TRANSACTION";
query.ProcessingConditions.QueryHitsMaximumNumberValue = "1";
query.ProcessingConditions.UnlimitedQueryHitsIndicator = false;
query.ProcessingConditions.SearchMethodCode = "F";
query.HealthProfessionalSelectionByElements.SelectionByName.SelectionByFamilyName.InclusionExclusionCode = "I";
query.HealthProfessionalSelectionByElements.SelectionByName.SelectionByFamilyName.IntervalBoundaryTypeCode = "1";
query.HealthProfessionalSelectionByElements.SelectionByName.SelectionByFamilyName.LowerBoundaryFamilyName = "E*";
//call the service
response = srvHlthProflByElmntsQR.HealthProfessionalCHNByElementsQueryResponse_In(query);
//list the health professional family names
Console.WriteLine("Demonstration of CHN web service call");
Console.WriteLine("Author: Gert Schneider (Gert.Schneider@sap.com)");
Console.WriteLine("List of Health Professionals:");
for (int i = 0; i < response.BusinessPartner.Length; i++)

Unknown macro: { Console.WriteLine("HP family's name}

Console.ReadLine();