Skip to content

Commit 3d0963b

Browse files
BAH-2371 | Refactor. To ignore consultation image and video upload in physical examination
1 parent 59fb6c9 commit 3d0963b

4 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/build_and_upload.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
push:
88
branches:
99
- master
10-
- BAH-2371
1110
workflow_dispatch:
1211
env:
1312
ORG_NAME: BahmniIndiaDistro

api/src/main/java/org/bahmni/module/hip/Config.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public enum Config {
3434

3535
//Physical_Examination_Ignoring_Form_List
3636
Forms_To_Ignore_In_Physical_Examination("Discharge Summary, Death Note, Delivery Note, Opioid Substitution Therapy - Intake, Opportunistic Infection, " +
37-
"Safe Abortion, ECG Notes, Operative Notes, USG Notes, Procedure Notes,Triage Reference, History and Examination, Visit Diagnoses"),
37+
"Safe Abortion, ECG Notes, Operative Notes, USG Notes, Procedure Notes,Triage Reference, History and Examination, Visit Diagnoses, Patient Video"),
3838

3939

4040
PROP_HFR_ID("bahmniHip.healthFacilityRegistryId"),

api/src/main/java/org/bahmni/module/hip/api/dao/impl/ConsultationDaoImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ public List<Obs> getPhysicalExamination(Visit visit) {
9292
final String[] formNames = Config.Forms_To_Ignore_In_Physical_Examination.getValue().split("\\s*,\\s*");
9393
List<Obs> physicalExaminationObsMap = encounterDao.GetAllObsForVisit(visit,Config.CONSULTATION.getValue(),null)
9494
.stream().filter(o -> o.getValueCoded() == null
95-
&& o.getValueComplex() == null
9695
&& o.getObsGroup() == null
9796
&& !Arrays.asList(formNames).contains(o.getConcept().getName().getName()) )
9897
.collect(Collectors.toList());

omod/src/main/java/org/bahmni/module/hip/web/service/ConsultationService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class ConsultationService {
3030
private final OPConsultDao opConsultDao;
3131
private final DiagnosticReportService diagnosticReportService;
3232

33-
public static Set<String> conceptNames = new HashSet<>(Arrays.asList("Tuberculosis, Treatment Plan","Tuberculosis, Next Followup Visit","Tuberculosis, Plan for next visit","Tuberculosis, Patient Category","Current Followup Visit After",
33+
public static Set<String> conceptNames = new HashSet<>(Arrays.asList("Image","Tuberculosis, Treatment Plan","Tuberculosis, Next Followup Visit","Tuberculosis, Plan for next visit","Tuberculosis, Patient Category","Current Followup Visit After",
3434
"Tuberculosis, Plan for next visit","Malaria, Parents Name","Malaria, Death Date", "Childhood Illness, Vitamin A Capsules Provided","Childhood Illness, Albendazole Given","Childhood Illness, Referred out",
3535
"Childhood Illness, Vitamin A Capsules Provided","Childhood Illness, Albendazole Given","Nutrition, Bal Vita Provided by FCHV","Bal Vita Provided by FCHV","ART, Condoms given","HIVTC, Marital Status","Malaria, Contact number",
3636
"HIVTC, Transferred out", "HIVTC, Regimen when transferred out", "HIVTC, Date of transferred out", "HIVTC, Transferred out to", "HIVTC, Chief Complaint"));

0 commit comments

Comments
 (0)