123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621 |
- <!--- eyetest-more --->
- <div class="modal fade" id="modal-eyetest-more" aria-hidden="true" data-backdrop="static" style="z-index: 1050; overflow: auto;">
- <div class="modal-dialog m-auto pt-4">
- <div class="modal-content">
- <div class="modal-header bg-black">
- <h4 class="modal-title text-white" id="myModalLabel">상세처방</h4>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><i class="fas fa-times"></i></button>
- </div>
- <div class="modal-body p-2" style="background-color: #f5f5f5;">
- <div class="eyetest">
- <div class="card input_info">
- <div class="card_inner">
- <div class="row m-0 mb-2">
- <button type="button" tabindex="-1" class="btn btn-sm btn-black col-2"
- onclick="test2()">
- 처방 초기화
- </button>
- <h1 class="col-6 text-center mb-0">Form of Eye Examination</h1>
- <div class="col-4 p-0 d-flex">
- <button type="button" tabindex="-1" class="btn btn-sm btn-black col-8 mr-1"
- onclick="test()">
- 양안시 처방인쇄
- </button>
- <button type="button" tabindex="-1" class="btn btn-sm btn-black col">
- 닫기
- </button>
- </div>
- </div>
- <div class="row m-0">
- <div class="col-8 px-1 h-100" id="chief-complaint">
- <div class="row mx-0 pl-0 mb-2 d-flex align-items-center">
- <div class="col-2 px-0 text-right mr-2">
- Reason for Visit &<br>Chief complaint
- </div>
- <textarea class="col" style="height: 50px;"></textarea>
- </div>
- <div class="row mx-0 pl-0 d-flex align-items-center">
- <div class="col-2 px-0 text-right mr-2">
- 나안시력
- </div>
- <div class="col">
- <label class="mb-0">OD</label>
- <input type="text" class="rounded w-100 h-75">
- </div>
- <div class="col">
- <label class="mb-0">OS</label>
- <input type="text" class="rounded w-100 h-75">
- </div>
- <div class="col">
- <label class="mb-0">OU</label>
- <input type="text" class="rounded w-100 h-75">
- </div>
- </div>
- </div>
- <div class="col-4 border border-dark position-relative p-0" id="canvasDiv1">
- <button type="button" tabindex="-1" class="px-0 border border-right-0 border-bottom-0 border-success bg-white position-absolute right-0 bottom-0"
- onclick="clear_canvas1()">
- <i class="fas fa-eraser px-1"></i>
- </button>
- </div>
- {{-- <div class="col-4 border border-dark position-relative">
- <button type="button" tabindex="-1" class="px-0 border border-right-0 border-bottom-0 border-success bg-white position-absolute right-0 bottom-0">
- <i class="fas fa-eraser px-1"></i>
- </button>
- </div> --}}
- </div>
- <fieldset class="scheduler-border">
- <legend class="scheduler-border mb-1">구안경도수</legend>
- <div class="table-responsive eye-lens-table">
- <table>
- <tr>
- <th></th>
- <th>SPH</th>
- <th>CYL</th>
- <th>AXIS</th>
- <th>원용PD</th>
- <th>ADD</th>
- <th>근용PD</th>
- <th>BASE(I/O)/△</th>
- <th>BASE(U/D)/△</th>
- <th>나안</th>
- <th>교정</th>
- </tr>
- <tr class="r-eye-lens">
- <td style="width: 10px">OD</td>
- <td>
- <div class="d-flex"><input class="rounded w-100 sph-txt" type="text"> D</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 cyl-txt" type="text"> D</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 axis-txt" type="text"> º</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 long-pd-txt" type="text"> mm</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 add-txt" type="text"> D</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 short-pd-txt" type="text"> mm</div>
- </td>
- <td class="base">
- <div class="d-flex"><input class="rounded w-100 base-i-txt" type="text"><input class="rounded w-100 base-o-txt" type="text"> △</div>
- </td>
- <td class="base">
- <div class="d-flex"><input class="rounded w-100 base-u-txt" type="text"><input class="rounded w-100 base-d-txt" type="text"> △</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 bare-eye-txt" type="text"></div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 adjust-txt" type="text"></div>
- </td>
- </tr>
- <tr class="l-eye-lens">
- <td style="width: 10px">OS</td>
- <td>
- <div class="d-flex"><input class="rounded w-100 sph-txt" type="text"> D</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 cyl-txt" type="text"> D</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 axis-txt" type="text"> º</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 long-pd-txt" type="text"> mm</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 add-txt" type="text"> D</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 short-pd-txt" type="text"> mm</div>
- </td>
- <td class="base">
- <div class="d-flex"><input class="rounded w-100 base-i-txt" type="text"><input class="rounded w-100 base-o-txt" type="text"> △</div>
- </td>
- <td class="base">
- <div class="d-flex"><input class="rounded w-100 base-u-txt" type="text"><input class="rounded w-100 base-d-txt" type="text"> △</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 bare-eye-txt" type="text"></div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 adjust-txt" type="text"></div>
- </td>
- </tr>
- </table>
- </div>
- </fieldset>
- <div class="row m-0">
- <div class="col-5 px-1 h-100" id="cover-test">
- <div class="row mx-0 pl-0 mb-2 d-flex align-items-center mb-2">
- <div class="col-3 px-0 text-right mr-2">
- Cover test
- </div>
- <div class="col d-flex">
- <label class="mb-0 mr-1">Dis</label>
- <input type="text" class="rounded w-100 h-75">
- </div>
- <div class="col d-flex">
- <label class="mb-0 mr-1">Near</label>
- <input type="text" class="rounded w-100 h-75">
- </div>
- </div>
- <div class="row mx-0 pl-0 d-flex align-items-center mb-2">
- <div class="col-3 px-0 text-right mr-2">
- 폭주근점
- </div>
- <div class="col d-flex">
- <label class="mb-0 mr-1">Normal</label>
- <input type="checkbox" tabindex="-1">
- </div>
- <div class="col d-flex">
- <label class="mb-0 mr-1">Abnormal</label>
- <input type="checkbox" tabindex="-1">
- <label class="mb-0 mr-1">(over</label>
- <input type="text" class="rounded h-75" style="width: 43px">
- <label class="mb-0">cm)</label>
- </div>
- </div>
- <div class="row mx-0 pl-0 d-flex align-items-center">
- <div class="col-3 px-0 text-right mr-2">
- <div class="d-flex justify-content-end">
- <input type="checkbox" tabindex="-1">
- <label class="mb-0">확장</label>
- <label class="mb-0 ml-2">조절력</label>
- </div>
- </div>
- <div class="col d-flex">
- <label class="mb-0 mr-1">OD</label>
- <input type="text" class="rounded w-100 h-75">
- <label class="mb-0">D</label>
- </div>
- <div class="col d-flex">
- <label class="mb-0 mr-1">OS</label>
- <input type="text" class="rounded w-100 h-75">
- <label class="mb-0">D</label>
- </div>
- </div>
- </div>
- <div class="col border border-dark mr-2">
- <div class="text-center mt-2">
- <label class="m-0">주시안</label>
- </div>
- <div class="text-center mt-2 d-flex justify-content-around">
- <div class="d-flex">
- <label class="mb-0">OD</label>
- <input type="checkbox" class="ml-1" tabindex="-1">
- </div>
- <div class="d-flex">
- <label class="mb-0">OS</label>
- <input type="checkbox" class="ml-1" tabindex="-1">
- </div>
- </div>
- </div>
- <div class="col-4 border border-dark position-relative p-0" id="canvasDiv2">
- <button type="button" tabindex="-1" class="px-0 border border-right-0 border-bottom-0 border-success bg-white position-absolute right-0 bottom-0"
- onclick="clear_canvas2()">
- <i class="fas fa-eraser px-1"></i>
- </button>
- </div>
- </div>
- <fieldset class="scheduler-border">
- <legend class="scheduler-border mb-1">완전교정</legend>
- <div class="table-responsive eye-lens-table">
- <table>
- <tr>
- <th></th>
- <th>SPH</th>
- <th>CYL</th>
- <th>AXIS</th>
- <th>원용PD</th>
- <th>ADD</th>
- <th>근용PD</th>
- <th>BASE(I/O)/△</th>
- <th>BASE(U/D)/△</th>
- <th>나안</th>
- <th>교정</th>
- </tr>
- <tr class="r-eye-lens">
- <td style="width: 10px">OD</td>
- <td>
- <div class="d-flex"><input class="rounded w-100 sph-txt" type="text"> D</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 cyl-txt" type="text"> D</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 axis-txt" type="text"> º</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 long-pd-txt" type="text"> mm</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 add-txt" type="text"> D</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 short-pd-txt" type="text"> mm</div>
- </td>
- <td class="base">
- <div class="d-flex"><input class="rounded w-100 base-i-txt" type="text"><input class="rounded w-100 base-o-txt" type="text"> △</div>
- </td>
- <td class="base">
- <div class="d-flex"><input class="rounded w-100 base-u-txt" type="text"><input class="rounded w-100 base-d-txt" type="text"> △</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 bare-eye-txt" type="text"></div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 adjust-txt" type="text"></div>
- </td>
- </tr>
- <tr class="l-eye-lens">
- <td style="width: 10px">OS</td>
- <td>
- <div class="d-flex"><input class="rounded w-100 sph-txt" type="text"> D</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 cyl-txt" type="text"> D</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 axis-txt" type="text"> º</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 long-pd-txt" type="text"> mm</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 add-txt" type="text"> D</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 short-pd-txt" type="text"> mm</div>
- </td>
- <td class="base">
- <div class="d-flex"><input class="rounded w-100 base-i-txt" type="text"><input class="rounded w-100 base-o-txt" type="text"> △</div>
- </td>
- <td class="base">
- <div class="d-flex"><input class="rounded w-100 base-u-txt" type="text"><input class="rounded w-100 base-d-txt" type="text"> △</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 bare-eye-txt" type="text"></div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 adjust-txt" type="text"></div>
- </td>
- </tr>
- </table>
- </div>
- </fieldset>
- <div class="row m-0">
- <div class="col-5 px-1 row mx-0 pl-0 mb-2 d-flex align-items-center mb-2">
- <div class="col-3 px-0 text-right mr-2">
- 사위 테스트
- </div>
- <div class="col d-flex">
- <label class="mb-0 mr-1">Dis H</label>
- <input type="text" class="rounded w-100 h-75">
- </div>
- <div class="col d-flex">
- <label class="mb-0 mr-1">Dis V</label>
- <input type="text" class="rounded w-100 h-75">
- </div>
- </div>
- <div class="col px-1 row mx-0 pl-0 mb-2 d-flex align-items-center mb-2">
- <div class="col d-flex">
- <label class="mb-0 mr-1">Near H</label>
- <input type="text" class="rounded w-100 h-75">
- </div>
- <div class="col d-flex">
- <label class="mb-0 mr-1">Near V</label>
- <input type="text" class="rounded w-100 h-75">
- </div>
- </div>
- <div class="col px-1 row mx-0 pl-0 mb-2 d-flex align-items-center mb-2">
- <div class="col d-flex justify-content-center">
- <label class="mb-0 mr-1">AC/A</label>
- <input type="text" class="rounded w-100 h-75">
- <label class="mb-0 mr-1">△/D</label>
- </div>
- </div>
- </div>
- <div class="row m-0">
- <div class="col-5 px-1 row mx-0 pl-0 d-flex align-items-center mb-2">
- <div class="col-3 px-0 text-right mr-2">
- 융합 테스트
- </div>
- <div class="py-1">
- <div class="col d-flex mb-1 justify-content-end">
- <label class="mb-0 mr-1">Dis BI (</label>
- <input type="text" class="rounded h-75" style="width: 43px">/
- <input type="text" class="rounded h-75 ml-1" style="width: 43px">/
- <input type="text" class="rounded h-75 ml-1" style="width: 43px"> )
- </div>
- <div class="col d-flex">
- <label class="mb-0 mr-1">Near BI (</label>
- <input type="text" class="rounded h-75" style="width: 43px">/
- <input type="text" class="rounded h-75 ml-1" style="width: 43px">/
- <input type="text" class="rounded h-75 ml-1" style="width: 43px"> )
- </div>
- </div>
- </div>
- <div class="col px-1 row mx-0 pl-0 d-flex align-items-center mb-2">
- <div class="py-1">
- <div class="col d-flex mb-1 justify-content-end">
- <label class="mb-0 mr-1">Dis BO (</label>
- <input type="text" class="rounded h-75" style="width: 43px">/
- <input type="text" class="rounded h-75 ml-1" style="width: 43px">/
- <input type="text" class="rounded h-75 ml-1" style="width: 43px"> )
- </div>
- <div class="col d-flex justify-content-end">
- <label class="mb-0 mr-1">Near BO (</label>
- <input type="text" class="rounded h-75" style="width: 43px">/
- <input type="text" class="rounded h-75 ml-1" style="width: 43px">/
- <input type="text" class="rounded h-75 ml-1" style="width: 43px"> )
- </div>
- </div>
- </div>
- <div class="col px-1 row mx-0 pl-0 d-flex align-items-center mb-2">
- <div class="jumbotron jumbotron-fluid py-1 mb-0">
- <div class="col d-flex mb-1 justify-content-end">
- <label class="mb-0 mr-1">Supra vergence (</label>
- <input type="text" class="rounded h-75" style="width: 43px">/
- <input type="text" class="rounded h-75 ml-1" style="width: 43px"> )
- </div>
- <div class="col d-flex justify-content-end">
- <label class="mb-0 mr-1">Infra vergence (</label>
- <input type="text" class="rounded h-75" style="width: 43px">/
- <input type="text" class="rounded h-75 ml-1" style="width: 43px"> )
- </div>
- </div>
- </div>
- </div>
- <div class="row m-0">
- <div class="col-5 px-1 row mx-0 pl-0 d-flex align-items-center mb-2">
- <div class="col-3 px-0 text-right mr-2">
- 조절 테스트
- </div>
- <div class="py-1">
- <div class="col d-flex">
- <label class="mb-0 mr-1">Binocular accomo.facility</label>
- </div>
- <div class="col d-flex pr-0">
- <label class="mb-0 mr-1">Normal</label>
- <input type="checkbox" tabindex="-1">
- <label class="mb-0 mr-1">Abnormal (</label>
- <input type="checkbox" tabindex="-1">+2,00D /
- <input type="checkbox" tabindex="-1">-2,00D )
- </div>
- </div>
- </div>
- <div class="col px-1 row mx-0 pl-0 d-flex align-items-center mb-2">
- <div class="py-1">
- <div class="col d-flex justify-content-end">
- <label class="mb-0 mr-1">Mono <span class="font-weight-bold">OD</span></label>
- <label class="mb-0 mr-1">Normal</label>
- <input type="checkbox" tabindex="-1">
- <label class="mb-0 mr-1">Abnormal (</label>
- <input type="checkbox" tabindex="-1">+2,00D /
- <input type="checkbox" tabindex="-1">-2,00D )
- </div>
- <div class="col d-flex justify-content-end">
- <label class="mb-0 mr-1">-cular <span class="font-weight-bold">OS</span></label>
- <label class="mb-0 mr-1">Normal</label>
- <input type="checkbox" tabindex="-1">
- <label class="mb-0 mr-1">Abnormal (</label>
- <input type="checkbox" tabindex="-1">+2,00D /
- <input type="checkbox" tabindex="-1">-2,00D )
- </div>
- </div>
- </div>
- </div>
- <div class="row m-0">
- <div class="col-5 px-1 row mx-0 pl-0 mb-2 d-flex align-items-center mb-2">
- <div class="col-3 px-0 text-right mr-2">
- 상대 조절력
- </div>
- <div class="col d-flex">
- <label class="mb-0 mr-1">NRA</label>
- <input type="text" class="rounded w-100 h-75">D
- </div>
- <div class="col d-flex">
- <label class="mb-0 mr-1">PRA</label>
- <input type="text" class="rounded w-100 h-75">D
- </div>
- </div>
- <div class="col px-1 row mx-0 pl-0 mb-2 d-flex align-items-center mb-2">
- <div class="col d-flex">
- <label class="mb-0 mr-1">조절반응검사</label>
- <input type="text" class="rounded w-75 h-75" style="max-width: 100%">D
- </div>
- </div>
- </div>
- <fieldset class="scheduler-border">
- <legend class="scheduler-border mb-1">처방</legend>
- <div class="table-responsive eye-lens-table">
- <table>
- <tr>
- <th></th>
- <th>SPH</th>
- <th>CYL</th>
- <th>AXIS</th>
- <th>원용PD</th>
- <th>ADD</th>
- <th>근용PD</th>
- <th>BASE(I/O)/△</th>
- <th>BASE(U/D)/△</th>
- <th>나안</th>
- <th>교정</th>
- </tr>
- <tr class="r-eye-lens">
- <td style="width: 10px">OD</td>
- <td>
- <div class="d-flex"><input class="rounded w-100 sph-txt" type="text"> D</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 cyl-txt" type="text"> D</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 axis-txt" type="text"> º</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 long-pd-txt" type="text"> mm</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 add-txt" type="text"> D</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 short-pd-txt" type="text"> mm</div>
- </td>
- <td class="base">
- <div class="d-flex"><input class="rounded w-100 base-i-txt" type="text"><input class="rounded w-100 base-o-txt" type="text"> △</div>
- </td>
- <td class="base">
- <div class="d-flex"><input class="rounded w-100 base-u-txt" type="text"><input class="rounded w-100 base-d-txt" type="text"> △</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 bare-eye-txt" type="text"></div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 adjust-txt" type="text"></div>
- </td>
- </tr>
- <tr class="l-eye-lens">
- <td style="width: 10px">OS</td>
- <td>
- <div class="d-flex"><input class="rounded w-100 sph-txt" type="text"> D</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 cyl-txt" type="text"> D</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 axis-txt" type="text"> º</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 long-pd-txt" type="text"> mm</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 add-txt" type="text"> D</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 short-pd-txt" type="text"> mm</div>
- </td>
- <td class="base">
- <div class="d-flex"><input class="rounded w-100 base-i-txt" type="text"><input class="rounded w-100 base-o-txt" type="text"> △</div>
- </td>
- <td class="base">
- <div class="d-flex"><input class="rounded w-100 base-u-txt" type="text"><input class="rounded w-100 base-d-txt" type="text"> △</div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 bare-eye-txt" type="text"></div>
- </td>
- <td>
- <div class="d-flex"><input class="rounded w-100 adjust-txt" type="text"></div>
- </td>
- </tr>
- </table>
- </div>
- </fieldset>
- <div class="row ml-4 mr-0">
- <div class="col-1 row mr-1 pl-0 text-right d-flex justify-content-end px-1">
- Diagnosis<br>&<br>Plans
- </div>
- <textarea class="col" style="height: 80px;"></textarea>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- @once
- @push('js')
- <script src="/js/utils/canvas.js?{{date('YmdHis')}}"></script>
- <script>
- $(document).ready(async function() {
- canvas1 = new Canvas('canvasDiv1', 'canvas1');
- canvas2 = new Canvas('canvasDiv2', 'canvas2');
- $('#eyetest-more-btn').click(()=>{
- canvas1.clearCanvas()
- canvas2.clearCanvas()
- setTimeout(()=>{
- canvas1.setCanvasWidth($('#canvasDiv1').width())
- canvas1.setCanvasHeight($('#chief-complaint').height())
- canvas2.setCanvasWidth($('#canvasDiv2').width())
- canvas2.setCanvasHeight($('#cover-test').height())
- }, 601)
- });
- });
- function test2() {
- console.log(clickX)
- console.log(clickY)
- console.log(clickDrag)
- canvas1.setClickX(clickX)
- canvas1.setClickY(clickY)
- canvas1.setClickDrag(clickDrag)
- canvas1.redraw()
- }
- function test() {
- clickX = canvas1.getClickX()
- clickY = canvas1.getClickY()
- clickDrag = canvas1.getClickDrag()
- }
- function clear_canvas1() {
- canvas1.clearCanvas()
- }
- function clear_canvas2() {
- canvas2.clearCanvas()
- }
- let clickX;
- let clickY;
- let clickDrag;
- let canvas1, canvas2;
- </script>
- @endpush
- @endonce
|