View Single Post
  #4 (permalink)  
Old June 3rd, 2008, 11:26 AM
Navy1991_1 Navy1991_1 is offline
Authorized User
Points: 168, Level: 3
Points: 168, Level: 3 Points: 168, Level: 3 Points: 168, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2008
Location: New Market, Maryland, USA.
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My apologizes. Thank you for the reply.

xsl:stylesheet version="1.0"
xml version="1.0"

The OID is an object identifier to identify a section within an XML healthcare document. This specific root OID is a Healthcare OID that specifies a patient's "Problem List". There are multiple OIDs listed throughout the XML document that could reference different items within the document.

I am wanting the XSLT to go through the XML document find this specific OID and return all selected values listed under the OID.

XML data (Portion of the data)
<component>
        <section>

          <templateId root="2.16.840.1.113883.10.20.1.11" />
          <code code="11450-4" displayName="Problem list" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" />
          <title>Problems</title>
          <text />

          <entry typeCode="DRIV">

            <act classCode="ACT" moodCode="EVN">

              <templateId root="2.16.840.1.113883.10.20.1.27" />
              <templateId root="2.16.840.1.113883.3.88.11.32.7." />
              <id root="ec8a6ff8-ed4b-4f7e-82c3-e98e58b45de7" />
              <code nullFlavor="NA" />
              <entryRelationship typeCode="SUBJ">
                <observation classCode="OBS" moodCode="EVN">

                  <templateId root="2.16.840.1.113883.10.20.1.28" />
                  <id root="ab1791b0-5c71-11db-b0de-0800200c9a66" />

                  <effectiveTime>
                    <low value="20070509" />
                  </effectiveTime>

                  <code code="55607006" displayName="Problem" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" />
                  <statusCode code="completed" />
                  <text>
                    <reference value="#prob1" />
                  </text>

                  <value xsi:type="CD" code="251166008" displayName="AV Nodal Reentry Tachycardia" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />

                  <entryRelationship typeCode="REFR">
                    <observation classCode="OBS" moodCode="EVN">

                      <templateId root="2.16.840.1.113883.10.20.1.50"></templateId>
                      <templateId root="2.16.840.1.113883.10.20.1.57" />
                      <code code="33999-4" displayName="Status" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" />
                      <statusCode code="completed" />

                      <value xsi:type="CE" code="413322009" displayName="Resolved" codeSystem="2.16.840.1.113883.1.11.20.13" codeSystemName="ProblemStatusCode" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
                    </observation>
                  </entryRelationship>
                </observation>
              </entryRelationship>
            </act>

Reply With Quote