<?xml version="1.0" encoding="Shift_Jis"?>
<!DOCTYPE mml [

<!ELEMENT mml            (head,table)>
<!ELEMENT table          (subtable1,subtable2,subtable3,subtable4)>

<!--タイトル部分-->
<!ELEMENT head           (#PCDATA)>

<!ELEMENT subtable1      (mmlNmfullname,old,mmlRdcategory,karteid,mmlphone1,name1,furigana,mmlphone2,name2,mmlPibirthday,mmlPisex,mmlphone3,name3,mmlSmdate,time,temterature,breath,myaku,remark)>

<!ELEMENT mmlNmfullname  (#PCDATA)>
<!ELEMENT old            (#PCDATA)>
<!ELEMENT mmlRdcategory  (#PCDATA)>
<!ELEMENT karteid        (#PCDATA)>
<!ELEMENT mmlphone1      (#PCDATA)>
<!ELEMENT name1          (#PCDATA)>
<!ELEMENT mmlphone2      (#PCDATA)>
<!ELEMENT name2          (#PCDATA)>
<!ELEMENT mmlphone3      (#PCDATA)>
<!ELEMENT name3          (#PCDATA)>
<!ELEMENT furigana       (#PCDATA)>
<!ELEMENT mmlPibirthday  (#PCDATA)>
<!ELEMENT mmlPisex       (#PCDATA)>
<!ELEMENT mmlSmdate      (#PCDATA)>
<!ELEMENT time           (#PCDATA)>
<!ELEMENT temterature    (#PCDATA)>
<!ELEMENT breath         (#PCDATA)>
<!ELEMENT myaku          (#PCDATA)>
<!ELEMENT remark         (#PCDATA)>


<!ELEMENT subtable2      (mmlSmchiefComplaints,blood1,blood2,weight,height)>
<!ELEMENT mmlSmchiefComplaints  (#PCDATA)>
<!ELEMENT blood1         (#PCDATA)>
<!ELEMENT blood2         (#PCDATA)>
<!ELEMENT weight         (#PCDATA)>
<!ELEMENT height         (#PCDATA)>


<!ELEMENT subtable3      (process,face,skin,allergy,dropsy,sight,hearing,paralysis,exercise,conscious,language,communication,transfusion,secondary,bloodtype,rh,hb,hcv,syphilis,other)>
<!ELEMENT process        (#PCDATA)>
<!ELEMENT face           (#PCDATA)>
<!ELEMENT skin           (#PCDATA)>
<!ELEMENT allergy        (#PCDATA)>
<!ELEMENT dropsy         (#PCDATA)>
<!ELEMENT sight          (#PCDATA)>
<!ELEMENT hearing        (#PCDATA)>
<!ELEMENT paralysis      (#PCDATA)>
<!ELEMENT exercise       (#PCDATA)>
<!ELEMENT conscious      (#PCDATA)>
<!ELEMENT language       (#PCDATA)>
<!ELEMENT communication  (#PCDATA)>
<!ELEMENT transfusion    (#PCDATA)>
<!ELEMENT secondary      (#PCDATA)>
<!ELEMENT bloodtype      (#PCDATA)>
<!ELEMENT rh             (#PCDATA)>
<!ELEMENT hb             (#PCDATA)>
<!ELEMENT hcv            (#PCDATA)>
<!ELEMENT syphilis       (#PCDATA)>
<!ELEMENT other          (#PCDATA)>


<!ELEMENT subtable4      (titlerow,row,row2*,row3,row4,row5)>

<!ELEMENT titlerow       (title,titlemedicine)>
<!ELEMENT row            (gaioureki1,old1,process1,medicine)>
<!ELEMENT row2           (gaioureki2,old2,process2)>
<!ELEMENT row3           (gaioureki2,old2,process2,mmlLsother)>
<!ELEMENT row4           (hearingperson,interested)>
<!ELEMENT row5           (recorder,mmlLsoccupation)>
<!ELEMENT title          (#PCDATA)>
<!ELEMENT titlemedicine  (#PCDATA)>
<!ELEMENT medicine       (#PCDATA)>
<!ELEMENT gaioureki2      (#PCDATA)>
<!ELEMENT old2            (#PCDATA)>
<!ELEMENT process2       (#PCDATA)>
<!ELEMENT mmlLsother     (#PCDATA)>
<!ELEMENT hearingperson  (#PCDATA)>
<!ELEMENT interested     (#PCDATA)>
<!ELEMENT recorder       (#PCDATA)>
<!ELEMENT mmlLsoccupation (#PCDATA)>
<!ELEMENT gaioureki1      (#PCDATA)>
<!ELEMENT old1            (#PCDATA)>
<!ELEMENT process1       (#PCDATA)>


]>


<mml>

	 <head> </head>

		 <table>
					<subtable1>
							 <mmlNmfullname>科留手 太郎</mmlNmfullname>
							 <old>２５</old>
							 <mmlRdcategory>診断名記入</mmlRdcategory>
							 <karteid>１０００</karteid>
							 <mmlphone1>1111-11-1111</mmlphone1>
							 <name1>科留手</name1>
							 <furigana>カルテ タロウ</furigana>
							 <mmlphone2>2222-22-2222</mmlphone2>
							 <name2>可流手</name2>
							 <mmlPibirthday>1974-01-01</mmlPibirthday>
							 <mmlPisex>男</mmlPisex>
							 <mmlphone3>3333-33-3333</mmlphone3>
							 <name3>課瑠手</name3>
							 <mmlSmdate>2000-02-01</mmlSmdate>
							 <time>12</time>
							 <temterature>38</temterature>
							 <breath>30</breath>
							 <myaku>80</myaku>
							 <remark>備考</remark>
					</subtable1>


					<subtable2>
							 <mmlSmchiefComplaints>主訴の内容</mmlSmchiefComplaints>
							 <blood1>100</blood1>
							 <blood2>200</blood2>
							 <weight>63</weight>
							 <height>170</height>
					</subtable2>


					<subtable3>
							 <process>入院までの経過を記録</process>
							 <face>  </face>
							 <skin>  </skin>
							 <allergy> </allergy>
							 <dropsy> </dropsy>
							 <sight> </sight>
							 <hearing> </hearing>
               <paralysis> </paralysis>
							 <exercise> </exercise>
							 <conscious> </conscious>
							 <language> </language>
							 <communication> </communication>
							 <transfusion> </transfusion>
							 <secondary> </secondary>
							 <bloodtype> </bloodtype>
							 <rh>   </rh>
							 <hb>   </hb>
							 <hcv>   </hcv>
							 <syphilis>   </syphilis>
							 <other>   </other>
					</subtable3>



					<subtable4>
							 <titlerow>
							      <title> </title>
							      <titlemedicine>無・有（必要時、薬品名記入）</titlemedicine>
							 </titlerow>

							 <row>
     							  <gaioureki1>１</gaioureki1>
							 	    <old1>  </old1>
							      <process1>  </process1>
							      <medicine>使用中のくすりを記入</medicine>
							 </row>

							 <row2>
      							<gaioureki2>２</gaioureki2>
							      <old2>  </old2>
							      <process2>  </process2>
							 </row2>


							 <row2>
   							    <gaioureki2>３</gaioureki2>
							      <old2>  </old2>
							      <process2>  </process2>
							 </row2>


							 <row2>
   							    <gaioureki2>４</gaioureki2>
							      <old2>  </old2>
							      <process2>  </process2>
							 </row2>

							 <row2>
   							    <gaioureki2>５</gaioureki2>
							      <old2>  </old2>
							      <process2>  </process2>
							 </row2>

							 <row2>
   							    <gaioureki2>６</gaioureki2>
							      <old2>  </old2>
							      <process2>  </process2>
							 </row2>

							 <row3>
   							    <gaioureki2>７</gaioureki2>
							      <old2>  </old2>
							      <process2>  </process2>
							     <mmlLsother>キリスト教</mmlLsother>
							 </row3>

							 <row4>
							      <hearingperson>患者・家族（     ）・その他（     ）</hearingperson>
							      <interested>  </interested>
							 </row4>

							 <row5>
							      <recorder>  </recorder>
							      <mmlLsoccupation>  </mmlLsoccupation>
						   </row5>

					</subtable4>

		 </table>

</mml>

