nusaibah0110 commited on
Commit
cb5138a
·
1 Parent(s): 6d41c34

ui: remove separate exam quality/TZ/acetowhite fields and simplify colposcopic findings label

Browse files
Files changed (1) hide show
  1. src/pages/ReportPage.tsx +2 -36
src/pages/ReportPage.tsx CHANGED
@@ -758,40 +758,6 @@ export function ReportPage({
758
  <h3 className="text-xs font-bold text-[#05998c] uppercase tracking-wider print:text-[10px]">Examination Findings</h3>
759
  </div>
760
  <div className="p-4 print:p-2 space-y-3 print:space-y-2">
761
- {/* Exam Quality / TZ / Acetowhite row */}
762
- <div className="grid grid-cols-1 md:grid-cols-3 gap-3 print:gap-2">
763
- <div>
764
- <span className="text-[10px] font-bold text-[#05998c] uppercase tracking-wide print:text-[9px] block mb-1">Exam Quality</span>
765
- <input
766
- type="text"
767
- value={formData.examQuality}
768
- onChange={(e) => handleFormChange('examQuality', e.target.value)}
769
- placeholder="Adequate / Inadequate"
770
- className="block w-full font-medium text-gray-900 py-1 print:py-0.5 print:text-xs border-b-2 border-gray-200 focus:border-[#05998c] outline-none bg-transparent transition-colors print:border-gray-400"
771
- />
772
- </div>
773
- <div>
774
- <span className="text-[10px] font-bold text-[#05998c] uppercase tracking-wide print:text-[9px] block mb-1">Transformation Zone</span>
775
- <input
776
- type="text"
777
- value={formData.transformationZone}
778
- onChange={(e) => handleFormChange('transformationZone', e.target.value)}
779
- placeholder="Type I / II / III"
780
- className="block w-full font-medium text-gray-900 py-1 print:py-0.5 print:text-xs border-b-2 border-gray-200 focus:border-[#05998c] outline-none bg-transparent transition-colors print:border-gray-400"
781
- />
782
- </div>
783
- <div>
784
- <span className="text-[10px] font-bold text-[#05998c] uppercase tracking-wide print:text-[9px] block mb-1">Acetowhite Lesion</span>
785
- <input
786
- type="text"
787
- value={formData.acetowL}
788
- onChange={(e) => handleFormChange('acetowL', e.target.value)}
789
- placeholder="Present / Absent"
790
- className="block w-full font-medium text-gray-900 py-1 print:py-0.5 print:text-xs border-b-2 border-gray-200 focus:border-[#05998c] outline-none bg-transparent transition-colors print:border-gray-400"
791
- />
792
- </div>
793
- </div>
794
-
795
  {/* Native & Acetic findings side-by-side */}
796
  <div className="grid grid-cols-1 md:grid-cols-2 gap-3 print:gap-2">
797
  <div className="border border-gray-200 rounded-lg p-3 print:border-gray-300">
@@ -945,9 +911,9 @@ export function ReportPage({
945
  <h3 className="text-xs font-bold text-[#05998c] uppercase tracking-wider print:text-[10px]">Diagnosis &amp; Management Plan</h3>
946
  </div>
947
  <div className="p-4 print:p-2 space-y-3 print:space-y-2 text-sm">
948
- {/* Colposcopic Findings including Swede Score */}
949
  <div className="bg-teal-50 border border-teal-100 rounded-lg p-3 print:bg-transparent print:border print:border-gray-300 print:p-2">
950
- <span className="text-[10px] font-bold text-[#05998c] uppercase tracking-wide print:text-[9px] block mb-1">Colposcopic Findings (Including Swede Score)</span>
951
  <textarea value={formData.colposcopicFindings} onChange={(e) => handleFormChange('colposcopicFindings', e.target.value)} placeholder="Describe colposcopic findings and include Swede score interpretation..." className="w-full text-gray-900 print:text-xs border border-gray-200 focus:border-[#05998c] outline-none bg-white p-2 print:p-1 resize-none rounded transition-colors" rows={3} />
952
  </div>
953
 
 
758
  <h3 className="text-xs font-bold text-[#05998c] uppercase tracking-wider print:text-[10px]">Examination Findings</h3>
759
  </div>
760
  <div className="p-4 print:p-2 space-y-3 print:space-y-2">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
761
  {/* Native & Acetic findings side-by-side */}
762
  <div className="grid grid-cols-1 md:grid-cols-2 gap-3 print:gap-2">
763
  <div className="border border-gray-200 rounded-lg p-3 print:border-gray-300">
 
911
  <h3 className="text-xs font-bold text-[#05998c] uppercase tracking-wider print:text-[10px]">Diagnosis &amp; Management Plan</h3>
912
  </div>
913
  <div className="p-4 print:p-2 space-y-3 print:space-y-2 text-sm">
914
+ {/* Colposcopic Findings */}
915
  <div className="bg-teal-50 border border-teal-100 rounded-lg p-3 print:bg-transparent print:border print:border-gray-300 print:p-2">
916
+ <span className="text-[10px] font-bold text-[#05998c] uppercase tracking-wide print:text-[9px] block mb-1">Colposcopic Findings</span>
917
  <textarea value={formData.colposcopicFindings} onChange={(e) => handleFormChange('colposcopicFindings', e.target.value)} placeholder="Describe colposcopic findings and include Swede score interpretation..." className="w-full text-gray-900 print:text-xs border border-gray-200 focus:border-[#05998c] outline-none bg-white p-2 print:p-1 resize-none rounded transition-colors" rows={3} />
918
  </div>
919