[讨论] 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 ...
随机推荐
- Spring+SpringMVC+MyBatis+easyUI整合基础篇(五)讲一下maven
github地址,点这里. 项目效展示,点这里.账号:admin 密码:123456 下一篇文章开始,所有的项目源码都是与maven整合后的代码了,所以这一篇讲一讲maven. 1.简单介绍 我们看一 ...
- css修炼宝典
前端岗位目前确实十分火热,但是就业压力也很大:前一段时间与大学同学交谈,他向我哭诉说去一个机构学习了前端工程师,我心底里为他高兴,因为他马上就可以月薪突破10K了,可是不幸的是他说去北京面试一个月,还 ...
- Handlebars模板引擎之进阶
取得索引 我想取得索引作为序号这个是常用的.在handlebars也是存在的. 就是使用 @index 来获取索引 {{#each this}} <tr> <td>{{ @in ...
- 高精度模板 Luogu P1932 A+B & A-B & A*B & A/B Problem
P1932 A+B & A-B & A*B & A/B Problem 题目背景 这个题目很新颖吧!!! 题目描述 求A.B的和差积商余! 输入输出格式 输入格式: 两个数两行 ...
- [转载]解决win10 VC++6.0 应用程序无法正常运行 0xc0000142
本文转载自http://blog.csdn.net/w_9449/article/details/52864135 转载请申明哦,其实我发现自从我在贴吧发了帖子后,就冒出了不少帖子.经验.当然方法和我 ...
- http-server 命令行
安装 (全局安装加 -g) : npm install http-server (npm install --global http-server) 在站点目录下开启命令行输入 http server ...
- Servlet+Tomcat日志输出
刚接触Servlet的时候,为了学习方便总是想验证自己的想法,那么输出日志是最常见的手法了,就自己亲身经历总结了如下几种方法,我用的是Web容器是Tomcat. 使用Log4J 在<Servle ...
- wemall app商城源码中基于PHP的ThinkPHP惯例配置文件代码
wemall doraemon是Android客户端程序,服务端采用wemall微信商城,不对原商城做任何修改,只需要在原商城目录下上传接口文件即可完成服务端的配置,客户端可随意定制修改.本文分享其中 ...
- wemall软件交易平台微信图文编辑器部分代码分享
wemall软件交易平台微信图文编辑器部分代码,可下载: controller.php <?php date_default_timezone_set("Asia/chongqing& ...
- server error in '/' applecation----Compiler Error Message: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\xx' -- 'Access is denied
今天在阿里云虚拟机上部署新站点后出现下面的错误:server error in '/' applecation Compiler Error Message: CS0016: Could not wr ...