Snapshot of the working project as of 2026-10-23 (local 2d4d4fc), one commit with no earlier history: the tracked files were de-identified first (synthetic claim ids and patient data only; see Context.md section 7). Credentials, run logs, screenshots, claim reports and client workbooks are gitignored and not included. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
51 lines
1.7 KiB
HTML
51 lines
1.7 KiB
HTML
<!doctype html>
|
|
<!--
|
|
The Progress Note viewer as it actually arrives: the note is a whole printable
|
|
document with its own <html>, so eCW hosts it in an IFRAME inside a modal, and
|
|
the Close button lives on the PARENT page - not in the note.
|
|
|
|
That split is the trap this fixture exists for. Reading the modal's innerText
|
|
finds nothing, because iframe content is not part of it; and looking for Close
|
|
inside the note document finds nothing either. progress_note.find() has to
|
|
walk the frames, and progress_note.close() has to click on the parent.
|
|
|
|
The Close button's ng-click is spelled "closeProgressNoteViwer" - eCW's own
|
|
typo, reproduced exactly, because correcting it would match nothing.
|
|
-->
|
|
<html>
|
|
<head><title>Progress Note Viewer</title></head>
|
|
<body>
|
|
|
|
<div class="modal in" id="progressNoteViewerDiv1788790287089" style="display:block">
|
|
<div class="modal-dialog" style="width:1200px">
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
<h4 class="modal-title">Progress Note</h4>
|
|
</div>
|
|
|
|
<div class="modal-body" style="height:600px">
|
|
<iframe id="progressNoteFrame" src="progress_note.html"
|
|
style="width:100%;height:560px;border:0"></iframe>
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-blue btn-sm btn-xs pull-right"
|
|
ng-click="closeProgressNoteViwer()">Close</button>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
document.querySelector('[ng-click="closeProgressNoteViwer()"]')
|
|
.addEventListener('click', function () {
|
|
document.getElementById('progressNoteViewerDiv1788790287089')
|
|
.style.display = 'none';
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|