<?xml version="1.0" encoding="UTF-8"?>
<mmlSm:SummaryModule
  xmlns:mmlSm="http://www.medxml.net/MML/v4/ContentModule/Summary/1.0"
  xmlns:mmlRd="http://www.medxml.net/MML/v4/ContentModule/RegisteredDiagnosis/1.0"
  xmlns:mmlSg="http://www.medxml.net/MML/v4/ContentModule/Surgery/1.0"
  xmlns:mmlPsi="http://www.medxml.net/MML/v4/SharedComponent/PersonalizedInfo/1.0"
  xmlns:mmlCi="http://www.medxml.net/MML/v4/SharedComponent/CreatorInfo/1.0"
  xmlns:mmlCm="http://www.medxml.net/MML/v4/SharedComponent/Common/1.0"
  xmlns:mmlNm="http://www.medxml.net/MML/v4/SharedComponent/Name/1.0"
  xmlns:mmlFc="http://www.medxml.net/MML/v4/SharedComponent/Facility/1.0"
  xmlns:mmlDp="http://www.medxml.net/MML/v4/SharedComponent/Department/1.0"
  xmlns:mmlPs="http://www.medxml.net/MML/v4/ContentModule/Prescription/1.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.medxml.net/MML/v4/ContentModule/Summary/1.0/summary.xsd">

  <mmlSm:serviceHistory mmlSm:start = "1999-08-25" mmlSm:end = "1999-08-31">
    <mmlSm:inPatient>
      <mmlSm:inPatientItem>
        <mmlSm:admission>
          <mmlSm:date>2015-08-27</mmlSm:date>
          <mmlSm:admissionCondition mmlSm:emergency = "true">
            Emergency admission by ambulance
          </mmlSm:admissionCondition>
          <mmlSm:referFrom>
            <mmlPsi:PersonalizedInfo>
              <mmlCm:Id mmlCm:type="facility" mmlCm:tableId="MML0024">
                23234567
              </mmlCm:Id>
              <mmlPsi:personName>
                <mmlNm:Name mmlNm:repCode = "A" mmlNm:tableId = "MML0025">
                  <mmlNm:family>Ono</mmlNm:family>
                  <mmlNm:given>Yoko</mmlNm:given>
                  <mmlNm:degree>M.D.</mmlNm:degree>
                </mmlNm:Name>
              </mmlPsi:personName>
              <mmlFc:Facility>
                <mmlFc:name mmlFc:repCode="A" mmlFc:tableId="MML0025">
                  New Millenium Medical College Hospital</mmlFc:name>
                <mmlCm:Id mmlCm:type="insurance" mmlCm:tableId="MML0027">
                  801.006.3
                </mmlCm:Id>
              </mmlFc:Facility>
              <mmlDp:Department>
                <mmlDp:name mmlDp:repCode="A" mmlDp:tableId="MML0025">
                  Internal medicine
                </mmlDp:name>
                <mmlCm:Id mmlCm:type="medical" mmlCm:tableId="MML0029">01</mmlCm:Id>
              </mmlDp:Department>
            </mmlPsi:PersonalizedInfo>
          </mmlSm:referFrom>
        </mmlSm:admission>
        <mmlSm:discharge>
          <mmlSm:date>1999-08-31</mmlSm:date>
          <mmlSm:dischargeCondition mmlSm:outcome="transferChronic">
            4 P.O.D, the patient was transferred to the chronic hospital.
          </mmlSm:dischargeCondition>
          <mmlSm:referTo>
            <mmlPsi:PersonalizedInfo>
              <mmlCm:Id mmlCm:type="facility" mmlCm:tableId="MML0024">
                55234567</mmlCm:Id>
              <mmlPsi:personName>
                <mmlNm:Name mmlNm:repCode="A" mmlNm:tableId="MML0025">
                  <mmlNm:family>Tanaka</mmlNm:family>
                  <mmlNm:given>Fujiko</mmlNm:given>
                  <mmlNm:degree>M.D.</mmlNm:degree>
                </mmlNm:Name>
              </mmlPsi:personName>
              <mmlFc:Facility>
                <mmlFc:name mmlFc:repCode="A" mmlFc:tableId="MML0025">
                  New Millenium Heisei Hospital
                </mmlFc:name>
                <mmlCm:Id mmlCm:type="insurance" mmlCm:tableId="MML0027">
                  2354678
                </mmlCm:Id>
              </mmlFc:Facility>
              <mmlDp:Department>
                <mmlDp:name mmlDp:repCode="A" mmlDp:tableId="MML0025">
                  Cardiology
                </mmlDp:name>
                <mmlCm:Id mmlCm:type="medical" mmlCm:tableId="MML0029">08</mmlCm:Id>
              </mmlDp:Department>
            </mmlPsi:PersonalizedInfo>
          </mmlSm:referTo>
        </mmlSm:discharge>
        <mmlSm:staffs>
          <mmlSm:staffInfo>
            <mmlPsi:PersonalizedInfo>
              <mmlCm:Id mmlCm:type="facility" mmlCm:tableId="MML0024">
                23456789
              </mmlCm:Id>
              <mmlPsi:personName>
                <mmlNm:Name mmlNm:repCode="A" mmlNm:tableId="MML0025">
                  <mmlNm:family>Araki</mmlNm:family>
                  <mmlNm:given>Kenji</mmlNm:given>
                  <mmlNm:degree>M.D.</mmlNm:degree>
                </mmlNm:Name>
              </mmlPsi:personName>
              <mmlFc:Facility>
                <mmlFc:name mmlFc:repCode="A" mmlFc:tableId="MML0025">
                  New Millenium Medical College Hospital
                </mmlFc:name>
                <mmlCm:Id mmlCm:type="insurance" mmlCm:tableId="MML0027">801.006.3</mmlCm:Id>
              </mmlFc:Facility>
              <mmlDp:Department>
                <mmlDp:name mmlDp:repCode="A" mmlDp:tableId="MML0025">
                  Cardiovascular surgery
                </mmlDp:name>
                <mmlCm:Id mmlCm:type="medical" mmlCm:tableId="MML0029">16</mmlCm:Id>
              </mmlDp:Department>
            </mmlPsi:PersonalizedInfo>
            <mmlCi:creatorLicense mmlCi:tableId="MML0026">doctor</mmlCi:creatorLicense>
          </mmlSm:staffInfo>
        </mmlSm:staffs>
      </mmlSm:inPatientItem>
    </mmlSm:inPatient>
  </mmlSm:serviceHistory>
  <mmlSm:chiefComplaints>Severe chest pain</mmlSm:chiefComplaints>
  <mmlSm:patientProfile>
    The patient is a 40-year-old married forester.
  </mmlSm:patientProfile>
  <mmlSm:history>
    On a background of good health, the patient noted the onset of chest pain and dyspnea on Aug 25,1999. At 10 A.M., he was put into the ambulance on a stretcher and driven to our hospital
    On arrival, the symptoms subsided and he went home without any medication. Two days ago (Aug 27), he felt intractable chest pain and was referred to the department of cardiovascular surgery under the diagnosis of unstable angina pectoris.
  </mmlSm:history>
  <mmlSm:physicalExam>
    Physical findings were essentially normal except for the blood pressure which was 160/100. Heart sounds were clear and rhythm was regular without audible murmurs or friction sounds.
  </mmlSm:physicalExam>
  <mmlSm:clinicalCourse>
    <mmlSm:clinicalRecord mmlSm:date="1999-08-27T00:00:00">
      Emergency coronary angiography was carried out.
      <mmlCm:extRef mmlCm:contentType="image/jpeg"
        mmlCm:medicalRole="angioGraphy "
        mmlCm:title = "Preoperative coronary angiography"
        mmlCm:href = "patient001/surgicalFigure003.jpg"/>
      Three vessels (LAD, #9, #12) were involved.
      <mmlSm:relatedDoc mmlSm:relation=" detail">
      11D1AC5400A0C94A814796045F768ED5
      </mmlSm:relatedDoc>
    </mmlSm:clinicalRecord>
  </mmlSm:clinicalCourse>
  <mmlSm:dischargeFindings>
    Symptoms free, no wound infection.
  </mmlSm:dischargeFindings>
  <mmlSm:medication>
    Prescription on discharge
    <mmlPs:PrescriptionModule>
      <mmlPs:medication>
        <mmlPs:batchNo>1</mmlPs:batchNo>
        <mmlPs:medicine>
          <mmlPs:name>プレドニゾロン錠 5mg</mmlPs:name>
          <mmlPs:code mmlPs:system="YJ">61222033</mmlPs:code>
        </mmlPs:medicine>
        <mmlPs:dose>4</mmlPs:dose>
        <mmlPs:doseUnit>錠</mmlPs:doseUnit>
        <mmlPs:frequencyPerDay>1</mmlPs:frequencyPerDay>
        <mmlPs:startDate>2015-05-13</mmlPs:startDate>
        <mmlPs:duration>P14D</mmlPs:duration>
        <mmlPs:instruction>内服 1回 朝食前</mmlPs:instruction>
      </mmlPs:medication>
    </mmlPs:PrescriptionModule>
  </mmlSm:medication>
  <mmlSm:testResults>
    <mmlSm:testResult mmlSm:date="1999-08-31T00:00:00">
      Labo findings on discharge
      <mmlCm:extRef mmlCm:contentType="APPLICATION/HL72.3-HL7ER2.3"
        mmlCm:medicalRole="laboratoryTest"
        mmlCm:title = "Blood chemistry data on discharge"
        mmlCm:href = "patient1234/prescription004.HL7"/>
    </mmlSm:testResult>
    <mmlSm:testResult mmlSm:date="1999-08-31T00:00:00">
      ECG on discharge. No ST change and new Q wave was observed.
      <mmlCm:extRef mmlCm:contentType="image/gif"
        mmlCm:medicalRole="ecg"
        mmlCm:title="ECG on discharge"
        mmlCm:href="patient1234/exam004.gif"/>
    </mmlSm:testResult>
  </mmlSm:testResults>
  <mmlSm:plan>
    Rehabilitation program and wound care will continue in the chronic hospital.
  </mmlSm:plan>
</mmlSm:SummaryModule>