[讨论] Window XP 安装msxml6后,load xml时提示schema验证失败
现象:在windows XP x64下,使用用户安装的msxml6库加载xml文件时失败。
进一步说明:
该xml文档使用了W3C的名称空间 xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"默认的名称空间是 "urn:hl7-org:v3", Schema 验证文档为 "urn:hl7-org:v3 CDA.xsd". 在这个文档中使用了属性 xsi: type="CD".
At line 205
Type '{hl7-org:v3}CD' is not found in Scema.
#include <iostream>
#import <msxml6.dll>
using namespace std;
int main()
{
HRESULT hr = NULL;
VARIANT var;
V_VT(&var) = VT_BSTR;
// COM initial
CoInitialize(NULL);
MSXML2::IXMLDOMDocumentPtr pDOMDoc;
if (pDOMDoc != NULL)
pDOMDoc = NULL;
hr = pDOMDoc.CreateInstance(__uuidof(MSXML2::DOMDocument60));
if (FAILED(hr))
{
pDOMDoc = NULL;
return 0;
}
pDOMDoc->async = VARIANT_FALSE;
wchar_t* lpszFileName = L"D:\\SampleCDADocument.xml";
if (pDOMDoc->load(lpszFileName) != VARIANT_TRUE)
{
MSXML2::IXMLDOMParseErrorPtr pError;
pError = pDOMDoc->parseError;
_bstr_t parseError = _bstr_t("At line ") + _bstr_t(pError->Getline()) + _bstr_t("\n") + _bstr_t(pError->Getreason());
cout << parseError << endl;
}
return 0;
}
下面是xml文档的内容:
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="CDA.xsl"?>
<!--
Readers should be aware of the evolving "Using SNOMED CT in HL7 Version 3" implementation guide, currently in a draft state. The guide, co-developed by HL7 and the College of American Pathologists, will be balloted by HL7 as an Informative Document. Recommendations in the final published guide should usurp patterns of SNOMED CT usage found in this sample instance.
-->
<ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:voc="urn:hl7-org:v3/voc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 CDA.xsd">
<!--
********************************************************
CDA Header
********************************************************
-->
<typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
<templateId root="2.16.840.1.113883.3.27.1776"/>
<id extension="c266" root="2.16.840.1.113883.19.4"/>
<code code="11488-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Consultation note"/>
<title>Good Health Clinic Consultation Note</title>
<effectiveTime value="/>
<confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/>
<languageCode code="en-US"/>
<setId extension="BB35" root="2.16.840.1.113883.19.7"/>
<versionNumber value="/>
<recordTarget>
<patientRole>
<id extension=" root="2.16.840.1.113883.19.5"/>
<patient>
<name>
<given>Henry</given>
<family>Levin</family>
<suffix>the 7th</suffix>
</name>
<administrativeGenderCode code="M" codeSystem="2.16.840.1.113883.5.1"/>
<birthTime value="/>
</patient>
<providerOrganization>
<id root="2.16.840.1.113883.19.5"/>
</providerOrganization>
</patientRole>
</recordTarget>
<author>
<time value="/>
<assignedAuthor>
<id extension="KP00017" root="2.16.840.1.113883.19.5"/>
<assignedPerson>
<name>
<given>Robert</given>
<family>Dolin</family>
<suffix>MD</suffix>
</name>
</assignedPerson>
<representedOrganization>
<id root="2.16.840.1.113883.19.5"/>
</representedOrganization>
</assignedAuthor>
</author>
<custodian>
<assignedCustodian>
<representedCustodianOrganization>
<id root="2.16.840.1.113883.19.5"/>
<name>Good Health Clinic</name>
</representedCustodianOrganization>
</assignedCustodian>
</custodian>
<legalAuthenticator>
<time value="/>
<signatureCode code="S"/>
<assignedEntity>
<id extension="KP00017" root="2.16.840.1.113883.19.5"/>
<assignedPerson>
<name>
<given>Robert</given>
<family>Dolin</family>
<suffix>MD</suffix>
</name>
</assignedPerson>
<representedOrganization>
<id root="2.16.840.1.113883.19.5"/>
</representedOrganization>
</assignedEntity>
</legalAuthenticator>
<relatedDocument typeCode="RPLC">
<parentDocument>
<id extension="a123" root="2.16.840.1.113883.19.4"/>
<setId extension="BB35" root="2.16.840.1.113883.19.7"/>
<versionNumber value="/>
</parentDocument>
</relatedDocument>
<componentOf>
<encompassingEncounter>
<id extension="KPENC1332" root="2.16.840.1.113883.19.6"/>
<effectiveTime value="/>
<encounterParticipant typeCode="CON">
<time value="/>
<assignedEntity>
<id extension="KP00017" root="2.16.840.1.113883.19.5"/>
<assignedPerson>
<name>
<given>Robert</given>
<family>Dolin</family>
<suffix>MD</suffix>
</name>
</assignedPerson>
<representedOrganization>
<id root="2.16.840.1.113883.19.5"/>
</representedOrganization>
</assignedEntity>
</encounterParticipant>
<location>
<healthCareFacility classCode="DSDLOC">
<code code="GIM" codeSystem="2.16.840.1.113883.5.10588" displayName="General internal medicine clinic"/>
</healthCareFacility>
</location>
</encompassingEncounter>
</componentOf>
<!--
********************************************************
CDA Body
********************************************************
-->
<component>
<structuredBody>
<!--
********************************************************
History of Present Illness section
********************************************************
-->
<component>
<section>
<code code="10164-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
<title>History of Present Illness</title>
<text>
<content styleCode=<sup>th</sup>
</content> year old male referred for further asthma management. Onset of asthma in his <content revised="delete">twenties</content>
<content revised="insert">teens</content>. He was hospitalized twice last year, and already twice this year. He has not been able to be weaned off steroids for the past several months.
</text>
</section>
</component>
<!--
********************************************************
Past Medical History section
********************************************************
-->
<component>
<section>
<code code="10153-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
<title>Past Medical History</title>
<text>
<list>
<item>
<content ID="a1">Asthma</content>
</item>
<item>
<content ID="a2">Hypertension (see HTN.cda for details)</content>
</item>
<item>
<content ID="a3">Osteoarthritis,
<content ID="a4">right knee</content>
</content>
</item>
</list>
</text>
<entry>
<observation classCode="COND" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Asthma">
<originalText>
<reference value="#a1"/>
</originalText>
</code>
<statusCode code="completed"/>
<effectiveTime value="/>
<reference typeCode="XCRPT">
<externalObservation>
<id root="2.16.840.1.113883.19.1.2765"/>
</externalObservation>
</reference>
</observation>
</entry>
<entry>
<observation classCode="COND" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="HTN">
<originalText>
<reference value="#a2"/>
</originalText>
</code>
<statusCode code="completed"/>
<reference typeCode="SPRT">
<seperatableInd value="false"/>
<externalDocument>
<id root="2.16.840.1.113883.19.4.789"/>
<text mediaType="multipart/related">
<reference value="HTN.cda"/>
</text>
<setId root="2.16.840.1.113883.19.7.2465"/>
<versionNumber value="/>
</externalDocument>
</reference>
<reference typeCode="XCRPT">
<externalObservation>
<id root="2.16.840.1.113883.19.1.2005"/>
</externalObservation>
</reference>
</observation>
</entry>
<entry>
<observation classCode="COND" moodCode="EVN">
<code xsi:type=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Osteoarthritis">
<originalText>
<reference value="#a3"/>
</originalText>
</code>
<statusCode code="completed"/>
<targetSiteCode code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Knee joint">
<originalText>
<reference value="#a4"/>
</originalText>
<qualifier>
<name code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="with laterality"/>
<value code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="right"/>
</qualifier>
</targetSiteCode>
<reference typeCode="XCRPT">
<externalObservation>
<id root="2.16.840.1.113883.19.1.1805"/>
</externalObservation>
</reference>
</observation>
</entry>
</section>
</component>
<!--
********************************************************
Medications section
********************************************************
-->
<component>
<section>
<code code="10160-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
<title>Medications</title>
<text>
<list>
<item>Theodur 200mg BID</item>
<item>Proventil inhaler 2puffs QID PRN</item>
<item>Prednisone 20mg qd</item>
<item>HCTZ 25mg qd</item>
</list>
</text>
<entry>
<substanceAdministration classCode="SBADM" moodCode="EVN">
<text>Theodur 200mg BID</text>
<effectiveTime xsi:type="PIVL_TS" institutionSpecified="true">
<period value=" unit="h"/>
</effectiveTime>
<routeCode code="PO" codeSystem="2.16.840.1.113883.5.112" codeSystemName="RouteOfAdministration"/>
<doseQuantity value=" unit="mg"/>
<consumable>
<manufacturedProduct>
<manufacturedLabeledDrug>
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Theophylline"/>
</manufacturedLabeledDrug>
</manufacturedProduct>
</consumable>
</substanceAdministration>
</entry>
<entry>
<substanceAdministration classCode="SBADM" moodCode="EVN">
<text>Proventil inhaler 2puffs QID PRN</text>
<effectiveTime xsi:type="PIVL_TS" institutionSpecified="true">
<period value=" unit="h"/>
</effectiveTime>
<priorityCode code="PRN"/>
<routeCode code="IPINHL" codeSystem="2.16.840.1.113883.5.112" codeSystemName="RouteOfAdministration" displayName="Inhalation, oral"/>
<doseQuantity value="/>
<consumable>
<manufacturedProduct>
<manufacturedLabeledDrug>
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Albuterol"/>
</manufacturedLabeledDrug>
</manufacturedProduct>
</consumable>
</substanceAdministration>
</entry>
<entry>
<substanceAdministration classCode="SBADM" moodCode="EVN">
<id root="2.16.840.1.113883.19.8.1"/>
<text>Prednisone 20mg qd</text>
<effectiveTime xsi:type="PIVL_TS" institutionSpecified="true">
<period value=" unit="h"/>
</effectiveTime>
<routeCode code="PO" codeSystem="2.16.840.1.113883.5.112" codeSystemName="RouteOfAdministration"/>
<doseQuantity value=" unit="mg"/>
<consumable>
<manufacturedProduct>
<manufacturedLabeledDrug>
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Prednisone preparation"/>
</manufacturedLabeledDrug>
</manufacturedProduct>
</consumable>
</substanceAdministration>
</entry>
<entry>
<substanceAdministration classCode="SBADM" moodCode="EVN">
<text>HCTZ 25mg qd</text>
<effectiveTime xsi:type="PIVL_TS" institutionSpecified="true">
<period value=" unit="h"/>
</effectiveTime>
<routeCode code="PO" codeSystem="2.16.840.1.113883.5.112" codeSystemName="RouteOfAdministration"/>
<consumable>
<manufacturedProduct>
<manufacturedLabeledDrug>
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Hydrochlorothiazide 25mg tablet"/>
</manufacturedLabeledDrug>
</manufacturedProduct>
</consumable>
</substanceAdministration>
</entry>
</section>
</component>
<!--
********************************************************
Allergies & Adverse Reactions section
********************************************************
-->
<component>
<section>
<code code="10155-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
<title>Allergies and Adverse Reactions</title>
<text>
<list>
<item>Penicillin - Hives</item>
<item>Aspirin - Wheezing</item>
<item>Codeine - Itching and nausea</item>
</list>
</text>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code xsi:type=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Hives"/>
<statusCode code="completed"/>
<entryRelationship typeCode="MFST">
<observation classCode="OBS" moodCode="EVN">
<code xsi:type=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Allergy to penicillin"/>
<statusCode code="completed"/>
</observation>
</entryRelationship>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Wheezing"/>
<statusCode code="completed"/>
<entryRelationship typeCode="MFST">
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Allergy to aspirin"/>
<statusCode code="completed"/>
</observation>
</entryRelationship>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Pruritis"/>
<statusCode code="completed"/>
<entryRelationship typeCode="MFST">
<observation classCode="OBS" moodCode="EVN">
<id root="2.16.840.1.113883.19.1.2010"/>
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Adverse reaction to drug">
<qualifier>
<name code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="causative agent"/>
<value code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="codeine"/>
</qualifier>
</code>
<statusCode code="completed"/>
</observation>
</entryRelationship>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Nausea"/>
<statusCode code="completed"/>
<entryRelationship typeCode="MFST">
<observation classCode="OBS" moodCode="EVN">
<id root="2.16.840.1.113883.19.1.2010"/>
<code code=" codeSystem="2.16.840.1.113883.6.96"/>
</observation>
</entryRelationship>
</observation>
</entry>
</section>
</component>
<!--
********************************************************
Family History section
********************************************************
-->
<component>
<section>
<code code="10157-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
<title>Family history</title>
<text>
<list>
<item>Father had fatal MI 's.</item>
<item>No cancer or diabetes.</item>
</list>
</text>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="MI"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<subject>
<relatedSubject classCode="PRS">
<code code="FTH" codeSystem="2.16.840.1.113883.5.111"/>
</relatedSubject>
</subject>
<entryRelationship typeCode="CAUS">
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="death"/>
<statusCode code="completed"/>
<effectiveTime value="/>
</observation>
</entryRelationship>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN" negationInd="true">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Family history of cancer"/>
<statusCode code="completed"/>
<effectiveTime>
<high value=" inclusive="true"/>
</effectiveTime>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="No family history of diabetes"/>
<statusCode code="completed"/>
<effectiveTime>
<high value=" inclusive="true"/>
</effectiveTime>
</observation>
</entry>
</section>
</component>
<!--
********************************************************
Social History section
********************************************************
-->
<component>
<section>
<code code="29762-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
<title>Social History</title>
<text>
<list>
<item>Smoking :: PPD between the ages of and , and then he quit.</item>
<item>Alcohol :: rare</item>
</list>
</text>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="ex-heavy cigarette smoker (20-39/day)"/>
<statusCode code="completed"/>
<effectiveTime>
<low value="/>
<high value="/>
</effectiveTime>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Date ceased smoking"/>
<statusCode code="completed"/>
<value xsi:type="/>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Trivial drinker - less than 1/day"/>
<statusCode code="completed"/>
</observation>
</entry>
</section>
</component>
<!--
********************************************************
Physical Exam section
********************************************************
-->
<component>
<section>
<code code="11384-5" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
<title>Physical Examination</title>
<!--
********************************************************
Physical Exam - Vital Signs
********************************************************
-->
<component>
<section>
<code code="8716-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
<title>Vital Signs</title>
<text>
<table>
<tbody>
<tr>
<th>Date / Time</th>
<th>April , :</th>
<th>April , :</th>
</tr>
<tr>
<th>Height</th>
<td> cm (69.7 in)</td>
</tr>
<tr>
<th>Weight</th>
<td>194.0 lbs (88.0 kg)</td>
</tr>
<tr>
<th>BMI</th>
<td>28.1 kg/m2</td>
</tr>
<tr>
<th>BSA</th>
<td>2.05 m2</td>
</tr>
<tr>
<th>Temperature</th>
<td>36.9 C (98.5 F)</td>
<td>36.9 C (98.5 F)</td>
</tr>
<tr>
<th>Pulse</th>
<td> / minute</td>
<td> / minute</td>
</tr>
<tr>
<th>Rhythm</th>
<td>Regular</td>
<td>Regular</td>
</tr>
<tr>
<th>Respirations</th>
<td> / minute, unlabored</td>
<td> / minute</td>
</tr>
<tr>
<th>Systolic</th>
<td> mmHg</td>
<td> mmHg</td>
</tr>
<tr>
<th>Diastolic</th>
<td> mmHg</td>
<td> mmHg</td>
</tr>
<tr>
<th>Position / Cuff</th>
<td>Left Arm</td>
<td>Left Arm</td>
</tr>
</tbody>
</table>
</text>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Body height measure"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<value xsi:type="PQ" value="1.77" unit="m">
<translation value="69.7" code="[in_I]" codeSystem="2.16.840.1.113883.6.8" codeSystemName="UCUM"/>
</value>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Body weight measure"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<value xsi:type="PQ" value="194.0" unit="[lb_ap]">
<translation value="88.0" code="kg" codeSystem="2.16.840.1.113883.6.8" codeSystemName="UCUM"/>
</value>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Body mass index"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<value xsi:type="RTO_PQ_PQ">
<numerator value="28.1" unit="kg"/>
<denominator value=" unit="ar"/>
</value>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Body surface area"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<value xsi:type="PQ" value="2.05" unit="ar"/>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Body temperature"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<value xsi:type="PQ" value="36.9" unit="Cel">
<translation value="98.5" code="[degF]" codeSystem="2.16.840.1.113883.6.8" codeSystemName="UCUM"/>
</value>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Heart rate"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<value xsi:type="RTO_PQ_PQ">
<numerator value="/>
<denominator value=" unit="min"/>
</value>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Heart rate"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<value xsi:type="RTO_PQ_PQ">
<numerator value="/>
<denominator value=" unit="min"/>
</value>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Regularity of heart rhythm"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<value xsi:type=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Heart regular"/>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Regularity of heart rhythm"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<value xsi:type=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Heart regular"/>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Respiratory rate"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<value xsi:type="RTO_PQ_PQ">
<numerator value="/>
<denominator value=" unit="min"/>
</value>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Breathing easily"/>
<statusCode code="completed"/>
<effectiveTime value="/>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Respiratory rate"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<value xsi:type="RTO_PQ_PQ">
<numerator value="/>
<denominator value=" unit="min"/>
</value>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Cuff blood pressure"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<targetSiteCode code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Left arm"/>
<entryRelationship typeCode="COMP">
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Systolic BP"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<value xsi:type=" unit="mm[Hg]"/>
</observation>
</entryRelationship>
<entryRelationship typeCode="COMP">
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Diastolic BP"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<value xsi:type=" unit="mm[Hg]"/>
</observation>
</entryRelationship>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Cuff blood pressure"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<targetSiteCode code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Left arm"/>
<entryRelationship typeCode="COMP">
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Systolic BP"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<value xsi:type=" unit="mm[Hg]"/>
</observation>
</entryRelationship>
<entryRelationship typeCode="COMP">
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Diastolic BP"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<value xsi:type=" unit="mm[Hg]"/>
</observation>
</entryRelationship>
</observation>
</entry>
</section>
</component>
<!--
********************************************************
Physical Exam - Skin
********************************************************
-->
<component>
<section>
<code code="8709-8" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
<title>Skin Exam</title>
<text>Erythematous rash, palmar surface, left index finger.
<renderMultiMedia referencedObject="MM1"/>
</text>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Rash"/>
<statusCode code="completed"/>
<methodCode code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Inspection"/>
<targetSiteCode code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Skin of palmer surface of index finger">
<qualifier>
<name code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="with laterality"/>
<value code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="left"/>
</qualifier>
</targetSiteCode>
<entryRelationship typeCode="SPRT">
<regionOfInterest classCode="ROIOVL" moodCode="EVN" ID="MM1">
<id root="2.16.840.1.113883.19.3.1"/>
<code code="ELLIPSE"/>
<value value="/>
<value value="/>
<value value="/>
<value value="/>
<value value="/>
<value value="/>
<value value="/>
<value value="/>
<entryRelationship typeCode="SUBJ">
<observationMedia classCode="OBS" moodCode="EVN">
<id root="2.16.840.1.113883.19.2.1"/>
<value mediaType="image/gif">
<reference value="lefthand.gif"/>
</value>
</observationMedia>
</entryRelationship>
</regionOfInterest>
</entryRelationship>
</observation>
</entry>
</section>
</component>
<!--
********************************************************
Physical Exam - Lungs
********************************************************
-->
<component>
<section>
<code code="8710-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
<title>Lungs</title>
<text>Clear with no wheeze. Good air flow.</text>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Chest clear"/>
<statusCode code="completed"/>
<methodCode code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Auscultation"/>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN" negationInd="true">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Wheezing"/>
<statusCode code="completed"/>
<methodCode code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Auscultation"/>
</observation>
</entry>
</section>
</component>
<!--
********************************************************
Physical Exam - Cardiac
********************************************************
-->
<component>
<section>
<code code="10223-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
<title>Cardiac</title>
<text>RRR with no murmur, no S3, no S4.</text>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Normal heart rate"/>
<statusCode code="completed"/>
<methodCode code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Auscultation"/>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN" negationInd="true">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="heart murmur"/>
<statusCode code="completed"/>
<methodCode code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Auscultation"/>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN" negationInd="true">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Third heart sound"/>
<statusCode code="completed"/>
<methodCode code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Auscultation"/>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Fourth heart sound inaudible"/>
<statusCode code="completed"/>
<methodCode code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Auscultation"/>
</observation>
</entry>
</section>
</component>
</section>
</component>
<!--
********************************************************
Labs section
********************************************************
-->
<component>
<section>
<code code="11502-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
<title>Labs</title>
<text>
<list>
<item>CXR //: Hyperinflated. Normal cardiac silhouette, clear lungs.</item>
<item>Peak Flow today: l/m</item>
</list>
</text>
<entry>
<observation classCode="OBS" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Imaging interpretation"/>
<statusCode code="completed"/>
<entryRelationship typeCode="COMP">
<observation classCode="OBS" moodCode="EVN">
<id root="2.16.840.1.113883.19.1.3005"/>
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Chest hyperinflated"/>
</observation>
</entryRelationship>
<entryRelationship typeCode="COMP">
<observation classCode="OBS" moodCode="EVN">
<id root="2.16.840.1.113883.19.1.5505"/>
<code codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" nullFlavor="OTH">
<originalText>normal cardiac silhouette</originalText>
</code>
</observation>
</entryRelationship>
<entryRelationship typeCode="COMP">
<observation classCode="OBS" moodCode="EVN" negationInd="true">
<id root="2.16.840.1.113883.19.1.6675"/>
<code codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" nullFlavor="OTH">
<originalText>radiopacities</originalText>
</code>
</observation>
</entryRelationship>
<reference typeCode="SPRT">
<externalObservation classCode="DGIMG">
<id root="2.16.840.1.113883.19.1.14"/>
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Chest-X-ray"/>
</externalObservation>
</reference>
</observation>
</entry>
<entry>
<observation classCode="OBS" moodCode="EVN">
<id root="2.16.840.1.113883.19.1.7005"/>
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Peak flow"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<value xsi:type="RTO_PQ_PQ">
<numerator value=" unit="l"/>
<denominator value=" unit="min"/>
</value>
</observation>
</entry>
</section>
</component>
<!--
********************************************************
In-office Procedure section
********************************************************
-->
<component>
<section>
<code code="29554-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
<title>In-office Procedures</title>
<text>
<list>
<item>Suture removal, left forearm.</item>
</list>
</text>
<entry>
<procedure classCode="PROC" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Suture removal"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<targetSiteCode code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Left forearm"/>
</procedure>
</entry>
</section>
</component>
<!--
********************************************************
Assessment section
********************************************************
-->
<component>
<section>
<code code="11496-7" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
<title>Assessment</title>
<text>
<list>
<item>Asthma, with prior smoking history. Difficulty weaning off steroids. Will try gradual taper.</item>
<item>Hypertension, well-controlled.</item>
<item>Contact dermatitis on finger.</item>
</list>
</text>
<entry>
<observation classCode="COND" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Established diagnosis"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<value xsi:type=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Asthma">
<translation code=" codeSystem="2.16.840.1.113883.6.2" codeSystemName="ICD9CM" displayName="ASTHMA W/O STATUS ASTHMATICUS"/>
</value>
<reference typeCode="ELNK">
<externalObservation classCode="COND">
<id root="2.16.840.1.113883.19.1.35"/>
</externalObservation>
</reference>
</observation>
</entry>
<entry>
<observation classCode="COND" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Established diagnosis"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<value xsi:type=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Essential hypertension">
<translation code=" codeSystem="2.16.840.1.113883.6.2" codeSystemName="ICD9CM" displayName="HYPERTENSION NOS"/>
</value>
<reference typeCode="ELNK">
<externalObservation classCode="COND">
<id root="2.16.840.1.113883.19.1.37"/>
</externalObservation>
</reference>
</observation>
</entry>
<entry>
<observation classCode="COND" moodCode="EVN">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Established diagnosis"/>
<statusCode code="completed"/>
<effectiveTime value="/>
<value xsi:type=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Contact dermatitis">
<translation code="692.9" codeSystem="2.16.840.1.113883.6.2" codeSystemName="ICD9CM" displayName="Contact Dermatitis, NOS"/>
</value>
<targetSiteCode code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Skin of palmer surface of index finger">
<qualifier>
<name code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="with laterality"/>
<value code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="left"/>
</qualifier>
</targetSiteCode>
</observation>
</entry>
</section>
</component>
<!--
********************************************************
Plan section
********************************************************
-->
<component>
<section>
<templateId root="2.16.840.1.113883.3.27.354"/>
<code code="18776-5" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
<title>Plan</title>
<text>
<list>
<item>Complete PFTs with lung volumes.</item>
<item>Chem- tomorrow.</item>
<item>Teach peak flow rate measurement.</item>
<item>Decrease prednisone to 20qOD alternating with 18qOD.</item>
<item>Hydrocortisone cream to finger BID.</item>
<item>RTC week.</item>
</list>
</text>
<entry>
<act classCode="ACT" moodCode="INT">
<id/>
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Pulmonary function test"/>
<text>Complete PFTs with lung volumes.</text>
<entryRelationship typeCode="COMP">
<act classCode="ACT" moodCode="INT">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Lung volume test"/>
</act>
</entryRelationship>
</act>
</entry>
<entry>
<observation classCode="OBS" moodCode="INT">
<code code="24320-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC">
<originalText>Chem-</originalText>
<translation code="aYU7t6" codeSystem="2.16.840.1.113883.19.278.47" codeSystemName="MyLocalCodeSystem" displayName="Chem7"/>
</code>
<text>Chem- tomorrow</text>
<effectiveTime value="/>
</observation>
</entry>
<entry>
<act classCode="ACT" moodCode="INT">
<id/>
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Teaching of skills">
<qualifier>
<name code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="has focus"/>
<value code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Peak flow rate measurement"/>
</qualifier>
</code>
</act>
</entry>
<entry>
<substanceAdministration classCode="SBADM" moodCode="RQO">
<text>prednisone 20qOD alternating with 18qOD.</text>
<routeCode code="PO" codeSystem="2.16.840.1.113883.5.112" codeSystemName="RouteOfAdministration"/>
<consumable>
<manufacturedProduct>
<manufacturedLabeledDrug>
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Prednisone preparation"/>
</manufacturedLabeledDrug>
</manufacturedProduct>
</consumable>
</substanceAdministration>
</entry>
<entry>
<substanceAdministration classCode="SBADM" moodCode="RQO">
<text>Hydrocortisone cream to finger BID.</text>
<effectiveTime xsi:type="PIVL_TS" institutionSpecified="true">
<period value=" unit="h"/>
</effectiveTime>
<routeCode code="SKIN" codeSystem="2.16.840.1.113883.5.112" codeSystemName="RouteOfAdministration" displayName="Topical application, skin"/>
<approachSiteCode code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Skin of palmer surface of index finger">
<qualifier>
<name code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="with laterality"/>
<value code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="left"/>
</qualifier>
</approachSiteCode>
<consumable>
<manufacturedProduct>
<manufacturedLabeledDrug>
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Hydrocortisone cream"/>
</manufacturedLabeledDrug>
</manufacturedProduct>
</consumable>
</substanceAdministration>
</entry>
<entry>
<encounter classCode="ENC" moodCode="RQO">
<code code=" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Follow-up visit"/>
<effectiveTime>
<low value="/>
<high value="/>
</effectiveTime>
</encounter>
</entry>
</section>
</component>
</structuredBody>
</component>
</ClinicalDocument>
the msxml6.dll version is: 6.00.3883.0 (通过msxml6.msi)
OS Environment: Windos XP Pro x64 with sp2(en_win_xp_pro_x64_with_sp2_vl_X13-41611).
另外,我发现在Windows XP Pro Sp2 x86同样出现这种问题,它们的共同点是,系统没有自带的msxml6库。用户自己通过msxml6.msi安装的。
[讨论] Window XP 安装msxml6后,load xml时提示schema验证失败的更多相关文章
- win7 32位 安装opencv-python后,运行时提示 "from .cv2 import *: DLL load failed: 找不到指定的模块" 的解决办法
安装opencv后,运行一个测试程序提示"from .cv2 import *: DLL load failed: 找不到指定的模块".于是百度一下解决办法,结果试了N多方法后也没 ...
- 安装python后,启动时提示“0x00000000001”内存错误
直关资料: https://www.cnblogs.com/onewalee/p/7887747.html 问题情况:安装python后,在CMD命令中启动python就提示一个内存错误的对话框,重新 ...
- mysql 安装到最后一步时,start service 为失败状态
容易出现的问题:mysql 安装到最后一步时,start service 为失败状态. 解决方法: 方式1 MySQL安装是出现could not start the service mysql ...
- sql server 2008 express 安装的时提示“重启计算机失败"
sql server 2008 express 安装的时提示"重启计算机失败" 解决办法: 打开注册表编辑器(regedit.exe),在HKEY_LOCAL_MACHINE\SY ...
- Window XP安装Ubuntu14.04实现Samba文件共享
安装了Ubuntu14.04之后,在虚拟机设置里设置了文件共享.但在mnt文件夹下没有hgfs这个文件夹.依照网上说的去做还是不行,仅仅好放弃.改用samba实现Windows与Ubuntu文件共享. ...
- 解决安装fiddler后IE打开网页提示“代理服务器无响应”
环境:win8.1+IE11 安装fiddler4后,启动fiddler,IE11打开百度网站,打开失败:代理服务器无响应,如图: 在网上找了各种方法,修改fiddler的设置,均无法解决这个问题,无 ...
- 安装TensorFlow后import tensorflow时,出现CXXABI_1.3.11和GLIBCXX_3.4.22 not found
Ubuntu16.04使用Anaconda搭建TensorFlow使用环境但是在安装TensorFlow后,import tensorflow报出如下错误: 该问题的错误原因是由于gcc的动态库较老导 ...
- 应用程序默认安装在C盘后启动时提示权限不足想起的。。。
最近不少经销商用户反映,在使用win 7的系统的电脑上安装我们的软件后,开启系统时提示权限不足,无法启动软件. 而在xp系统下则没有这个问题,原因在于我们将系统的默认安装路径选择在了C盘了,而win ...
- 查询安装webpack4.0是否成功时提示无法找到的解决方法
最近使用webpack -v 查询webpack版本时提示无法找到 然后我试着重新全局安装webpack,提示还需要安装webpack-cli 选择yes后虽能成功安装webp ...
随机推荐
- JavaScript两个变量交换值(不使用临时变量)
概要 本文主要描述,如何不使用中间值,将两个变量的值进行交换. 一.普通做法 var a = 1, b = 2, tmp; tmp = a; a = b; b = tmp; 普通的做法就是声明多一 ...
- jvm系列(八):jvm知识点总览-高级Java工程师面试必备
在江湖中要练就绝世武功必须内外兼备,精妙的招式和深厚的内功,武功的基础是内功.对于武功低(就像江南七怪)的人,招式更重要,因为他们不能靠内功直接去伤人,只能靠招式,利刃上优势来取胜了,但是练到高手之后 ...
- SVN的具体使用方法介绍(安装以及操作)
今天由于项目的需要安装了SVN,在这里和大家分享一下SVN安装的详细过程和分享一些资料. (1)首先是客户端的安装. 1)获取客户端安装包. --安装包的获取路径: TortoiseSVN的官方下载地 ...
- 每天一个linux命令(42)--traceroute命令
通过traceroute 我们可以知道信息从你的计算机到互联网另一端的主机是走的什么路径.当然每次数据包由某一同样的出发点(source)到达某一同样的目的地(destination)走的路径可能会不 ...
- Git基础教程(二)
继续上篇Git基础教程(一),在开篇之前,先回顾一下上篇中的基本命令. 配置命令:git config --global * 版本库初始化:git init 向版本库添加文件:git add * 提交 ...
- React组件开发(一)初识React
*React不属于MVC.MVVM,只是单纯的V层. *React核心是组件(提高代码复用率.降低测试难度.代码复杂度). *自动dom操作,状态对应内容. *React核心js文件:react.js ...
- 百度地图API-控件
初始化百度地图的基础方法我们已经学会了,那么,想让我们的地图展示的更美观,体验度更好,自然离不开百度地图API给我们提供的丰富的插件.同时呢,我们还可以通过Control类自定义控件.那么,百度地图A ...
- 1022: [SHOI2008]小约翰的游戏John
1022: [SHOI2008]小约翰的游戏John Time Limit: 1 Sec Memory Limit: 162 MBSubmit: 1322 Solved: 829[Submit][ ...
- 注册登录系统项目思路 -- javaweb
功能: > 注册 > 登录 --------------------------------- JSP: * login.jsp --> 登录表单 * re ...
- 在Ubuntu Linux下制作Windows 启动安装 USB盘
最近想 ,在Ubuntu上刻录个windows的安装U盘,在网上看了些资料,不过好多都说的很模糊,于是乎,我走了不少弯路.这里记录下来,希望了帮到大家. 首先你的有个USB吧,这里我们假定USB在ub ...