3.2 病历的XML文档描述
通过上述的Schema描述,可以很容易地写出电子病历的XML文档描述,下面是一份“入院检查”的病历的XML文档(清单1:初始病历XML文档):
<? xml version="1.0" encoding="UTF-8"?>
<EMRxmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="EMR.xsd" EMRID="300365" Type="入院检查" Date="2005-05-07">
<Patient>
<PersonalInfo>
<Name>LiMing</Name>
<Sex>male</Sex>
<Birthday>1981-03-05</Birthday>
<Nationality>HanZu</Nationality>
<IsMarried>No</IsMarried>
<Address>ChongQing</Address>
<InhospitalTime>2006-05-07</InhospitalTime>
</PersonalInfo>
<PhysicalExam>
<Temperature>39℃</Temperature>
<Sphygmus>82/min</Sphygmus>
<BloodPressure>699Kpa</BloodPressure>
<Stature>183cm</Stature>
<Avoirdupois>70kg</Avoirdupois>
</PhysicalExam>
</Patient>
<Symptom>腹痛、痉挛</Symptom>
<History>4小时前食用野菇</History>
<Record DoctorID="27149" Date="2006-05-08" Cinic="消化科">
<Advice>住院治疗</Advice>
<Diagnosis>毒伞肽中毒</Diagnosis>
<Medicine>阿托品</Medicine>
<Treatment>0.5~1毫克阿托品每15~30分钟肌内注射一次</Treatment>
</Record>
<Record DoctorID="27176" Date="2006-05-09" Clinic="胃肠科">
<Picture PictureID="597841" Name="胃镜" Type="放射" Format="bmp">
<Description>胃部不适</Description>
<Data>2006-05-08</Data>
</Picture>
</Record>
</EMR>
|