amida-tech/blue-button

Should performers be parsed in vitals, results, and plan_of_care?

Opened this issue · 0 comments

In bluebutton-01-original.xml, vital signs do not have performers elements in top level sections such as vitals, results, and plan of care. In a sample such as dataport_ambulatory.xml(allscripts) from the jamndel samples, results, vitals, and plan_of_care have performer elements. I'm not sure if they need to be parsed...

Below is an entry from all_script_dataport_ambulatory.xml. Haven't checked al

<entry>
                            <organizer classCode="CLUSTER" moodCode="EVN">
                                <templateId root="2.16.840.1.113883.10.20.22.4.26" />
                                <id extension="1006275" root="1.3.6.1.4.1.22812.4.111.0.4.6" />
                                <code code="46680005" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Vital signs" />
                                <statusCode code="completed" />
                                <effectiveTime value="20130530172240-0400" />
                                <performer typeCode="PRF">
                                    <assignedEntity>
                                        <id extension="5860476014" root="2.16.840.1.113883.4.6" />
                                        <addr>
                                            <streetAddressLine>5555 Waverly Way</streetAddressLine>
                                            <city>Cary</city>
                                            <state>NC</state>
                                            <postalCode>27511</postalCode>
                                            <country>US</country>
                                        </addr>
                                        <telecom value="tel:+1-(555)123-4567" use="WP" />
                                        <assignedPerson>
                                            <name>
                                                <family>Manning</family>
                                                <given>Terry</given>
                                                <given>A</given>
                                                <suffix>MD</suffix>
                                            </name>
                                        </assignedPerson>
                                    </assignedEntity>
                                </performer>
                                <author>
                                    <time value="20130530172240-0400" />
                                    <assignedAuthor>
                                        <id extension="5860476014" root="2.16.840.1.113883.4.6" />
                                        <addr>
                                            <streetAddressLine>5555 Waverly Way</streetAddressLine>
                                            <city>Cary</city>
                                            <state>NC</state>
                                            <postalCode>27511</postalCode>
                                            <country>US</country>
                                        </addr>
                                        <telecom value="tel:+1-(555)123-4567" use="WP" />
                                        <assignedPerson>
                                            <name>
                                                <family>Manning</family>
                                                <given>Terry</given>
                                                <given>A</given>
                                                <suffix>MD</suffix>
                                            </name>
                                        </assignedPerson>
                                    </assignedAuthor>
                                </author>
                                <component>
                                    <observation classCode="OBS" moodCode="EVN">
                                        <templateId root="2.16.840.1.113883.10.20.22.4.27" />
                                        <id extension="10062755" root="1.3.6.1.4.1.22812.4.111.0.4.6" />
                                        <code codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" code="8480-6" displayName="BP Systolic" />
                                        <text>
                                            <reference value="#ID0EHCLABA" />
                                        </text>
                                        <statusCode code="completed" />
                                        <effectiveTime value="20130530172240-0400" />
                                        <value xsi:type="PQ" value="120" unit="mm[Hg]" />
                                        <entryRelationship typeCode="SUBJ" inversionInd="true">
                                            <act classCode="ACT" moodCode="EVN">
                                                <templateId root="2.16.840.1.113883.10.20.22.4.64" />
                                                <code code="48767-8" displayName="Annotation Comment" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" />
                                                <text>
                                                    <reference value="#ID0EEHCLABA" />
                                                </text>
                                                <statusCode code="completed" />
                                            </act>
                                        </entryRelationship>
                                    </observation>
                                </component>
                                <component>
                                    <observation classCode="OBS" moodCode="EVN">
                                        <templateId root="2.16.840.1.113883.10.20.22.4.27" />
                                        <id extension="10062756" root="1.3.6.1.4.1.22812.4.111.0.4.6" />
                                        <code codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" code="8462-4" displayName="BP Diastolic" />
                                        <text>
                                            <reference value="#ID0EGCLABA" />
                                        </text>
                                        <statusCode code="completed" />
                                        <effectiveTime value="20130530172240-0400" />
                                        <value xsi:type="PQ" value="80" unit="mm[Hg]" />
                                        <entryRelationship typeCode="SUBJ" inversionInd="true">
                                            <act classCode="ACT" moodCode="EVN">
                                                <templateId root="2.16.840.1.113883.10.20.22.4.64" />
                                                <code code="48767-8" displayName="Annotation Comment" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" />
                                                <text>
                                                    <reference value="#ID0EEGCLABA" />
                                                </text>
                                                <statusCode code="completed" />
                                            </act>
                                        </entryRelationship>
                                    </observation>
                                </component>
                                <component>
                                    <observation classCode="OBS" moodCode="EVN">
                                        <templateId root="2.16.840.1.113883.10.20.22.4.27" />
                                        <id extension="100627511" root="1.3.6.1.4.1.22812.4.111.0.4.6" />
                                        <code codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" code="3141-9" displayName="Weight" />
                                        <text>
                                            <reference value="#ID0EFCLABA" />
                                        </text>
                                        <statusCode code="completed" />
                                        <effectiveTime value="20130530172240-0400" />
                                        <value xsi:type="PQ" value="162" unit="[lb_av]" />
                                    </observation>
                                </component>
                                <component>
                                    <observation classCode="OBS" moodCode="EVN">
                                        <templateId root="2.16.840.1.113883.10.20.22.4.27" />
                                        <id extension="10062758" root="1.3.6.1.4.1.22812.4.111.0.4.6" />
                                        <code codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" code="8302-2" displayName="Height" />
                                        <text>
                                            <reference value="#ID0EECLABA" />
                                        </text>
                                        <statusCode code="completed" />
                                        <effectiveTime value="20130530172240-0400" />
                                        <value xsi:type="PQ" value="64" unit="[in_us]" />
                                    </observation>
                                </component>
                                <component>
                                    <observation classCode="OBS" moodCode="EVN">
                                        <templateId root="2.16.840.1.113883.10.20.22.4.27" />
                                        <id extension="100627513" root="1.3.6.1.4.1.22812.4.111.0.4.6" />
                                        <code codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" code="39156-5" displayName="Body Mass Index Calculated" />
                                        <text>
                                            <reference value="#ID0EDCLABA" />
                                        </text>
                                        <statusCode code="completed" />
                                        <effectiveTime value="20130530172240-0400" />
                                        <value xsi:type="PQ" value="27.83" unit="kg/m2" />
                                    </observation>
                                </component>
                                <component>
                                    <observation classCode="OBS" moodCode="EVN">
                                        <templateId root="2.16.840.1.113883.10.20.22.4.27" />
                                        <id extension="100627514" root="1.3.6.1.4.1.22812.4.111.0.4.6" />
                                        <code codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" code="3140-1" displayName="Body Surface Area Calculated" />
                                        <text>
                                            <reference value="#ID0ECCLABA" />
                                        </text>
                                        <statusCode code="completed" />
                                        <effectiveTime value="20130530172240-0400" />
                                        <value xsi:type="PQ" value="1.82" unit="1" />
                                    </observation>
                                </component>
                            </organizer>
                        </entry>
                        <entry>
                            <organizer classCode="CLUSTER" moodCode="EVN">
                                <templateId root="2.16.840.1.113883.10.20.22.4.26" />
                                <id extension="1006252" root="1.3.6.1.4.1.22812.4.111.0.4.6" />
                                <code code="46680005" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Vital signs" />
                                <statusCode code="completed" />
                                <effectiveTime value="20130528083641-0400" />
                                <performer typeCode="PRF">
                                    <assignedEntity>
                                        <id extension="5860476014" root="2.16.840.1.113883.4.6" />
                                        <addr>
                                            <streetAddressLine>5555 Waverly Way</streetAddressLine>
                                            <city>Cary</city>
                                            <state>NC</state>
                                            <postalCode>27511</postalCode>
                                            <country>US</country>
                                        </addr>
                                        <telecom value="tel:+1-(555)123-4567" use="WP" />
                                        <assignedPerson>
                                            <name>
                                                <family>Manning</family>
                                                <given>Terry</given>
                                                <given>A</given>
                                                <suffix>MD</suffix>
                                            </name>
                                        </assignedPerson>
                                    </assignedEntity>
                                </performer>
                                <author>
                                    <time value="20130528083641-0400" />
                                    <assignedAuthor>
                                        <id extension="5860476014" root="2.16.840.1.113883.4.6" />
                                        <addr>
                                            <streetAddressLine>5555 Waverly Way</streetAddressLine>
                                            <city>Cary</city>
                                            <state>NC</state>
                                            <postalCode>27511</postalCode>
                                            <country>US</country>
                                        </addr>
                                        <telecom value="tel:+1-(555)123-4567" use="WP" />
                                        <assignedPerson>
                                            <name>
                                                <family>Manning</family>
                                                <given>Terry</given>
                                                <given>A</given>
                                                <suffix>MD</suffix>
                                            </name>
                                        </assignedPerson>
                                    </assignedAuthor>
                                </author>
                                <component>
                                    <observation classCode="OBS" moodCode="EVN">
                                        <templateId root="2.16.840.1.113883.10.20.22.4.27" />
                                        <id extension="10062525" root="1.3.6.1.4.1.22812.4.111.0.4.6" />
                                        <code codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" code="8480-6" displayName="BP Systolic" />
                                        <text>
                                            <reference value="#ID0EHBLABA" />
                                        </text>
                                        <statusCode code="completed" />
                                        <effectiveTime value="20130528083641-0400" />
                                        <value xsi:type="PQ" value="155" unit="mm[Hg]" />
                                        <entryRelationship typeCode="SUBJ" inversionInd="true">
                                            <act classCode="ACT" moodCode="EVN">
                                                <templateId root="2.16.840.1.113883.10.20.22.4.64" />
                                                <code code="48767-8" displayName="Annotation Comment" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" />
                                                <text>
                                                    <reference value="#ID0EEHBLABA" />
                                                </text>
                                                <statusCode code="completed" />
                                            </act>
                                        </entryRelationship>
                                    </observation>
                                </component>
                                <component>
                                    <observation classCode="OBS" moodCode="EVN">
                                        <templateId root="2.16.840.1.113883.10.20.22.4.27" />
                                        <id extension="10062526" root="1.3.6.1.4.1.22812.4.111.0.4.6" />
                                        <code codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" code="8462-4" displayName="BP Diastolic" />
                                        <text>
                                            <reference value="#ID0EGBLABA" />
                                        </text>
                                        <statusCode code="completed" />
                                        <effectiveTime value="20130528083641-0400" />
                                        <value xsi:type="PQ" value="94" unit="mm[Hg]" />
                                        <entryRelationship typeCode="SUBJ" inversionInd="true">
                                            <act classCode="ACT" moodCode="EVN">
                                                <templateId root="2.16.840.1.113883.10.20.22.4.64" />
                                                <code code="48767-8" displayName="Annotation Comment" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" />
                                                <text>
                                                    <reference value="#ID0EEGBLABA" />
                                                </text>
                                                <statusCode code="completed" />
                                            </act>
                                        </entryRelationship>
                                    </observation>
                                </component>
                                <component>
                                    <observation classCode="OBS" moodCode="EVN">
                                        <templateId root="2.16.840.1.113883.10.20.22.4.27" />
                                        <id extension="100625211" root="1.3.6.1.4.1.22812.4.111.0.4.6" />
                                        <code codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" code="3141-9" displayName="Weight" />
                                        <text>
                                            <reference value="#ID0EFBLABA" />
                                        </text>
                                        <statusCode code="completed" />
                                        <effectiveTime value="20130528083641-0400" />
                                        <value xsi:type="PQ" value="155" unit="[lb_av]" />
                                    </observation>
                                </component>
                                <component>
                                    <observation classCode="OBS" moodCode="EVN">
                                        <templateId root="2.16.840.1.113883.10.20.22.4.27" />
                                        <id extension="10062528" root="1.3.6.1.4.1.22812.4.111.0.4.6" />
                                        <code codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" code="8302-2" displayName="Height" />
                                        <text>
                                            <reference value="#ID0EEBLABA" />
                                        </text>
                                        <statusCode code="completed" />
                                        <effectiveTime value="20130528083641-0400" />
                                        <value xsi:type="PQ" value="64" unit="[in_us]" />
                                    </observation>
                                </component>
                                <component>
                                    <observation classCode="OBS" moodCode="EVN">
                                        <templateId root="2.16.840.1.113883.10.20.22.4.27" />
                                        <id extension="100625213" root="1.3.6.1.4.1.22812.4.111.0.4.6" />
                                        <code codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" code="39156-5" displayName="Body Mass Index Calculated" />
                                        <text>
                                            <reference value="#ID0EDBLABA" />
                                        </text>
                                        <statusCode code="completed" />
                                        <effectiveTime value="20130528083641-0400" />
                                        <value xsi:type="PQ" value="26.63" unit="kg/m2" />
                                    </observation>
                                </component>
                                <component>
                                    <observation classCode="OBS" moodCode="EVN">
                                        <templateId root="2.16.840.1.113883.10.20.22.4.27" />
                                        <id extension="100625214" root="1.3.6.1.4.1.22812.4.111.0.4.6" />
                                        <code codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" code="3140-1" displayName="Body Surface Area Calculated" />
                                        <text>
                                            <reference value="#ID0ECBLABA" />
                                        </text>
                                        <statusCode code="completed" />
                                        <effectiveTime value="20130528083641-0400" />
                                        <value xsi:type="PQ" value="1.78" unit="1" />
                                    </observation>
                                </component>
                            </organizer>
                        </entry>
                        <entry>