[讨论] 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 ...
随机推荐
- tomcat 假死
1.1 编写目的 为了方便大家以后发现进程假死的时候能够正常的分析并且第一时间保留现场快照.1.2编写背景最近服务器发现tomcat的应用会偶尔出现无法访问的情况.经过一段时间的观察最近又发现有台to ...
- linux下redis 集群配置
redis.conf 配置文件说明 daemonize no --是否把redis-server启动在后台,默认是“否”.若改成yes pidfile /var/run/redis.pid --当Re ...
- C# 的四舍五入
c#的四舍五入有两种情况: 1.常规四舍五入 (decimal).ToString("f2") 2.四舍六入五取偶 除1里面的其他方式四舍五入都是四舍六入五取偶.
- 基于fiddler的APP抓包及服务端模拟
在HTTP接口的测试过程中,一般我们会按照如下的步骤进行: 1)测试环境的准备 2)HTTP消息体的构造 3)HTTP消息的发送及断言 如果我们可以拿到项目组的接口文档,并且HTTP后台服务是可以工作 ...
- connect函数的用法
无论流式套接字(如TCP)还是数据报(如UDP),均可以使用connect函数.对于流式套接字,使用connect函数后,建立固定地址的连接,之后可以使用send/rev函数进行数据收发.对于数据报, ...
- 微信小程序之提高应用速度小技巧
作者:vicyao, 腾讯web前端开发 高级工程师商业转载请联系腾讯WeTest获得授权,非商业转载请注明出处. 原文链接:http://wetest.qq.com/lab/view/294.htm ...
- HTML初学者常用标签及属性
1.HTML5头部结构 [DOCTYPE html] 声明文档类型为HTML5文件. 文档声明在HTML5文档必不可少,且必须放在文档的第一行. [meta标签] 1-charset属性:单独 ...
- ajax bookstrap美化网页,并实现页面的加载,删除与查看详情
Bookstrap:美化页面: Bootstrap是Twitter推出的一个开源的用于前端开发的工具包.它由Twitter的设计师Mark Otto和Jacob Thornton合作开发,是一个CSS ...
- 获取bing图片并自动设置为电脑桌面背景(C++完整开源程序)
众所周知,bing搜索网站首页每日会更新一张图片,张张漂亮(额,也有一些不合我口味的),特别适合用来做电脑壁纸. 我们想要将bing网站背景图片设置为电脑桌面背景的通常做法是: 上网,搜索bing 找 ...
- 深入理解 JavaScript 异步系列(5)—— async await
第一部分,ES7 中引入 async-await 原文地址 http://www.cnblogs.com/wangfupeng1988/p/6532734.html 未经作者允许,不得转载~ 前面介绍 ...