|
From: David F. <dw...@la...> - 2004-07-07 17:06:55
|
When you successfully connect to a PIDS server with the IDViewer (click on = select source button and select as in the other PIDS client), you should see a list of supported Tra= its in the right top panel and a list of sources in the upper left panel. You can have multiple PIDS= servers with IDViewer. = Open one of the sources and you should see a list of traits that you can sp= ecify. Thus if you see HL7/PatientName, you should see the various components of this trait below = it, such as Family Name, Given Name, Middle Name, Suffix and Prefix. Click on the folder below the = Family Name, say and you can type in a value. Enter the family name you a= re looking for (or any portion thereof) and click on find. You then should= see search results in the panel below in a tree structure. The upper righ= t panel is to select which traits you want to be filled in. The idea for I= DViewer is to enable one to see much more complex traits that PIDS supports= by displaying them in an tree structure. How it handles some of these tr= aits is constrained by some XML files in the client directory. For example= HL7Types.xml has the following: <?xml version=3D"1.0"?> <!DOCTYPE PIDS SYSTEM 'XMLtypes.dtd'> <PIDS> <Trait name=3D"HL7/PatientName" T=3D"XPN" sep=3D"^"> <item DISPLAY=3D"1" T=3D"ST">Family Name</item> <item DISPLAY=3D"1" T=3D"ST">Given Name</item> <item DISPLAY=3D"1" T=3D"ST">Middle Name </item> <item DISPLAY=3D"0" T=3D"ST">Suffix </item> <item DISPLAY=3D"1" T=3D"ST">Prefix</item> <item DISPLAY=3D"0" T=3D"ST">Degree</item> <!-- <item DISPLAY=3D"0" T=3D"ST">Name Type Code</item> <item DISPLAY=3D"0" T=3D"ST">Name Representation Code</item> --> </Trait> The DISPLAY attribute says to display the trait, the T attribute is the HL7= data type, the value of the item is the string to display for the type. = The commented out field is the difference between HL72.3 and HL72.4, I beli= eve. The display of the data is constrolled by the idviewer.xsl stylesheet that = is applied to the DOM tree. = This client was worked on several years ago to demonstrate how one could ha= ndle arbitrary traits rather than the constrained ones in the simple PIDS d= emo client. It could use a little more work to improve its flexibility an= d streamline the code considerably. But it should get the point across o= f the flexibility and power of PIDS. I need to get some more documentation on IDViewer into the repository. I hope this helps, Dave > ------------Original Message------------ > From: Joncheng Kuo <ck...@sy...> > To: ope...@li... > Cc: "David Forslund" <dw...@la...> > Date: Wed, Jun-23-2004 10:45 AM > Subject: Specify search criteria with PIDS idviewer > = > I'm trying out the PIDS examples. The idviewer asked me to specify a = > search criteria, but I couldn't figure out how to do that. Can anyone = > help me with that? Thank you. > = > Joncheng > = > = > = > = |