diff --git a/nirc_ehr/resources/data/editable_lookups.tsv b/nirc_ehr/resources/data/editable_lookups.tsv
index 291e96c3..5203f7e1 100644
--- a/nirc_ehr/resources/data/editable_lookups.tsv
+++ b/nirc_ehr/resources/data/editable_lookups.tsv
@@ -16,7 +16,7 @@ att_score Behavior Attitude Score Behavior observation fixed values.
bandage_observations Clinical Bandage Observations Clinical observation fixed values.
bcs_score Clinical Body Condition Score Clinical observation fixed values.
behavior_abnormality Clinical Behavior Abnormality Clinical observation fixed values.
-behavior_mgmt_codes Behavior Behavior Managment Codes Behavior observation fixed values.
+behavior_mgmt_codes Behavior Behavior Management Codes Behavior observation fixed values.
behavior_types Behavior Behavior Types Behavior observation fixed values.
blood_draw_reason Clinical Blood Draw Reason Used in blood draw datasets.
blood_draw_tube_type Clinical Blood Draw Tube Type Used in blood draw datasets.
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases.sql b/nirc_ehr/resources/queries/study/activeBehaviorCases.sql
new file mode 100644
index 00000000..8f7b9051
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases.sql
@@ -0,0 +1,2 @@
+SELECT * FROM study.cases
+WHERE category = 'Behavior' AND isOpen = TRUE
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/.qview.xml
new file mode 100644
index 00000000..a7dbceb0
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/.qview.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Area 11.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Area 11.qview.xml
new file mode 100644
index 00000000..da8b8ce3
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Area 11.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Area 51.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Area 51.qview.xml
new file mode 100644
index 00000000..4abfd59c
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Area 51.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 10.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 10.qview.xml
new file mode 100644
index 00000000..44edca78
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 10.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 10C.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 10C.qview.xml
new file mode 100644
index 00000000..1bb31c10
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 10C.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 27.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 27.qview.xml
new file mode 100644
index 00000000..a9d64107
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 27.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 28.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 28.qview.xml
new file mode 100644
index 00000000..b7c61c08
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 28.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 29.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 29.qview.xml
new file mode 100644
index 00000000..dd71b417
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 29.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 30.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 30.qview.xml
new file mode 100644
index 00000000..774909ff
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 30.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 31.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 31.qview.xml
new file mode 100644
index 00000000..87e955c2
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 31.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 31C.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 31C.qview.xml
new file mode 100644
index 00000000..ae99331d
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 31C.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 31D.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 31D.qview.xml
new file mode 100644
index 00000000..b9e39d2f
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 31D.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 32.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 32.qview.xml
new file mode 100644
index 00000000..bd1c26cf
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 32.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 34.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 34.qview.xml
new file mode 100644
index 00000000..a36fdf61
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 34.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 37.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 37.qview.xml
new file mode 100644
index 00000000..bb68753a
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 37.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 41.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 41.qview.xml
new file mode 100644
index 00000000..19862483
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 41.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 42.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 42.qview.xml
new file mode 100644
index 00000000..c7bf32ff
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 42.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 43.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 43.qview.xml
new file mode 100644
index 00000000..79108e7d
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 43.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 44.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 44.qview.xml
new file mode 100644
index 00000000..3d603234
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 44.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 45.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 45.qview.xml
new file mode 100644
index 00000000..e2481c77
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 45.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 46.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 46.qview.xml
new file mode 100644
index 00000000..658e1193
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 46.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 50.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 50.qview.xml
new file mode 100644
index 00000000..8f32422b
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 50.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 52.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 52.qview.xml
new file mode 100644
index 00000000..ca879a03
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 52.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 53.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 53.qview.xml
new file mode 100644
index 00000000..83c77d53
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 53.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 54A.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 54A.qview.xml
new file mode 100644
index 00000000..8babff4b
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 54A.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 54B.qview.xml b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 54B.qview.xml
new file mode 100644
index 00000000..6bc01e82
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeBehaviorCases/Building 54B.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases.sql b/nirc_ehr/resources/queries/study/activeClinicalCases.sql
new file mode 100644
index 00000000..c2e805e9
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases.sql
@@ -0,0 +1,2 @@
+SELECT * FROM study.cases
+WHERE category = 'Clinical' AND isOpen = TRUE
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/.qview.xml
new file mode 100644
index 00000000..a7dbceb0
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/.qview.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Area 11.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Area 11.qview.xml
new file mode 100644
index 00000000..da8b8ce3
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Area 11.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Area 51.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Area 51.qview.xml
new file mode 100644
index 00000000..4abfd59c
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Area 51.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 10.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 10.qview.xml
new file mode 100644
index 00000000..44edca78
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 10.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 10C.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 10C.qview.xml
new file mode 100644
index 00000000..1bb31c10
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 10C.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 27.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 27.qview.xml
new file mode 100644
index 00000000..a9d64107
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 27.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 28.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 28.qview.xml
new file mode 100644
index 00000000..b7c61c08
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 28.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 29.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 29.qview.xml
new file mode 100644
index 00000000..dd71b417
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 29.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 30.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 30.qview.xml
new file mode 100644
index 00000000..774909ff
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 30.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 31.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 31.qview.xml
new file mode 100644
index 00000000..87e955c2
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 31.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 31C.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 31C.qview.xml
new file mode 100644
index 00000000..ae99331d
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 31C.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 31D.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 31D.qview.xml
new file mode 100644
index 00000000..b9e39d2f
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 31D.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 32.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 32.qview.xml
new file mode 100644
index 00000000..bd1c26cf
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 32.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 34.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 34.qview.xml
new file mode 100644
index 00000000..a36fdf61
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 34.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 37.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 37.qview.xml
new file mode 100644
index 00000000..bb68753a
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 37.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 41.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 41.qview.xml
new file mode 100644
index 00000000..19862483
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 41.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 42.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 42.qview.xml
new file mode 100644
index 00000000..c7bf32ff
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 42.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 43.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 43.qview.xml
new file mode 100644
index 00000000..79108e7d
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 43.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 44.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 44.qview.xml
new file mode 100644
index 00000000..3d603234
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 44.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 45.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 45.qview.xml
new file mode 100644
index 00000000..e2481c77
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 45.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 46.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 46.qview.xml
new file mode 100644
index 00000000..658e1193
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 46.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 50.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 50.qview.xml
new file mode 100644
index 00000000..8f32422b
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 50.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 52.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 52.qview.xml
new file mode 100644
index 00000000..ca879a03
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 52.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 53.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 53.qview.xml
new file mode 100644
index 00000000..83c77d53
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 53.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 54A.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 54A.qview.xml
new file mode 100644
index 00000000..8babff4b
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 54A.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/activeClinicalCases/Building 54B.qview.xml b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 54B.qview.xml
new file mode 100644
index 00000000..6bc01e82
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/activeClinicalCases/Building 54B.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases.sql b/nirc_ehr/resources/queries/study/behaviorCases.sql
new file mode 100644
index 00000000..e8c80935
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases.sql
@@ -0,0 +1,2 @@
+SELECT * FROM study.cases
+WHERE category = 'Behavior'
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/.qview.xml
new file mode 100644
index 00000000..27cbbe4b
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/.qview.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Area 11.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Area 11.qview.xml
new file mode 100644
index 00000000..da8b8ce3
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Area 11.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Area 51.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Area 51.qview.xml
new file mode 100644
index 00000000..4abfd59c
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Area 51.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 10.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 10.qview.xml
new file mode 100644
index 00000000..44edca78
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 10.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 10C.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 10C.qview.xml
new file mode 100644
index 00000000..1bb31c10
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 10C.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 27.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 27.qview.xml
new file mode 100644
index 00000000..a9d64107
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 27.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 28.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 28.qview.xml
new file mode 100644
index 00000000..b7c61c08
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 28.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 29.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 29.qview.xml
new file mode 100644
index 00000000..dd71b417
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 29.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 30.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 30.qview.xml
new file mode 100644
index 00000000..774909ff
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 30.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 31.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 31.qview.xml
new file mode 100644
index 00000000..87e955c2
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 31.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 31C.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 31C.qview.xml
new file mode 100644
index 00000000..ae99331d
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 31C.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 31D.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 31D.qview.xml
new file mode 100644
index 00000000..b9e39d2f
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 31D.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 32.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 32.qview.xml
new file mode 100644
index 00000000..bd1c26cf
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 32.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 34.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 34.qview.xml
new file mode 100644
index 00000000..a36fdf61
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 34.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 37.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 37.qview.xml
new file mode 100644
index 00000000..bb68753a
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 37.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 41.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 41.qview.xml
new file mode 100644
index 00000000..19862483
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 41.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 42.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 42.qview.xml
new file mode 100644
index 00000000..c7bf32ff
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 42.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 43.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 43.qview.xml
new file mode 100644
index 00000000..79108e7d
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 43.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 44.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 44.qview.xml
new file mode 100644
index 00000000..3d603234
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 44.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 45.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 45.qview.xml
new file mode 100644
index 00000000..e2481c77
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 45.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 46.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 46.qview.xml
new file mode 100644
index 00000000..658e1193
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 46.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 50.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 50.qview.xml
new file mode 100644
index 00000000..8f32422b
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 50.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 52.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 52.qview.xml
new file mode 100644
index 00000000..ca879a03
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 52.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 53.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 53.qview.xml
new file mode 100644
index 00000000..83c77d53
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 53.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 54A.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 54A.qview.xml
new file mode 100644
index 00000000..8babff4b
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 54A.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorCases/Building 54B.qview.xml b/nirc_ehr/resources/queries/study/behaviorCases/Building 54B.qview.xml
new file mode 100644
index 00000000..6bc01e82
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorCases/Building 54B.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations.sql b/nirc_ehr/resources/queries/study/behaviorObservations.sql
new file mode 100644
index 00000000..315eda4d
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations.sql
@@ -0,0 +1,2 @@
+SELECT * FROM study.clinical_observations
+WHERE type = 'Behavior'
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Clinical.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/.qview.xml
similarity index 70%
rename from nirc_ehr/resources/queries/study/clinical_observationsSummary/Clinical.qview.xml
rename to nirc_ehr/resources/queries/study/behaviorObservations/.qview.xml
index be71773b..f007448a 100644
--- a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Clinical.qview.xml
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/.qview.xml
@@ -1,4 +1,4 @@
-
+
@@ -12,7 +12,4 @@
-
-
-
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Area 11.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Area 11.qview.xml
new file mode 100644
index 00000000..170c2fc6
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Area 11.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Area 51.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Area 51.qview.xml
new file mode 100644
index 00000000..500340ff
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Area 51.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 10.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 10.qview.xml
new file mode 100644
index 00000000..baae82e9
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 10.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 10C.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 10C.qview.xml
new file mode 100644
index 00000000..a24fe82a
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 10C.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 27.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 27.qview.xml
new file mode 100644
index 00000000..e0a1bc21
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 27.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 28.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 28.qview.xml
new file mode 100644
index 00000000..0c54baa8
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 28.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 29.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 29.qview.xml
new file mode 100644
index 00000000..2cc1a93c
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 29.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 30.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 30.qview.xml
new file mode 100644
index 00000000..446ee7a2
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 30.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 31.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 31.qview.xml
new file mode 100644
index 00000000..236f3485
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 31.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 31C.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 31C.qview.xml
new file mode 100644
index 00000000..dafbd043
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 31C.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 31D.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 31D.qview.xml
new file mode 100644
index 00000000..ad0e8138
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 31D.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 32.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 32.qview.xml
new file mode 100644
index 00000000..cf6d82ad
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 32.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 34.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 34.qview.xml
new file mode 100644
index 00000000..55b578a8
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 34.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 37.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 37.qview.xml
new file mode 100644
index 00000000..8b4cd622
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 37.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 41.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 41.qview.xml
new file mode 100644
index 00000000..27a3b4cb
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 41.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 42.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 42.qview.xml
new file mode 100644
index 00000000..2ffd3947
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 42.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 43.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 43.qview.xml
new file mode 100644
index 00000000..0a1d68e2
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 43.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 44.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 44.qview.xml
new file mode 100644
index 00000000..09bf5911
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 44.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 45.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 45.qview.xml
new file mode 100644
index 00000000..89c5fbb8
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 45.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 46.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 46.qview.xml
new file mode 100644
index 00000000..7fc98624
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 46.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 50.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 50.qview.xml
new file mode 100644
index 00000000..1af229c1
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 50.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 52.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 52.qview.xml
new file mode 100644
index 00000000..fed3ee58
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 52.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 53.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 53.qview.xml
new file mode 100644
index 00000000..7969d672
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 53.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 54A.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 54A.qview.xml
new file mode 100644
index 00000000..15d80661
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 54A.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/behaviorObservations/Building 54B.qview.xml b/nirc_ehr/resources/queries/study/behaviorObservations/Building 54B.qview.xml
new file mode 100644
index 00000000..966111fc
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/behaviorObservations/Building 54B.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/chemistryResults.query.xml b/nirc_ehr/resources/queries/study/chemistryResults.query.xml
new file mode 100644
index 00000000..caa0e9ee
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/chemistryResults.query.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ Date
+
+
+ Type
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/chemistryResults/.qview.xml b/nirc_ehr/resources/queries/study/chemistryResults/.qview.xml
new file mode 100644
index 00000000..9381f3c8
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/chemistryResults/.qview.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases.sql b/nirc_ehr/resources/queries/study/clinicalCases.sql
new file mode 100644
index 00000000..cc5cd34e
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases.sql
@@ -0,0 +1,2 @@
+SELECT * FROM study.cases
+WHERE category = 'Clinical'
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/.qview.xml
new file mode 100644
index 00000000..27cbbe4b
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/.qview.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Area 11.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Area 11.qview.xml
new file mode 100644
index 00000000..da8b8ce3
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Area 11.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Area 51.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Area 51.qview.xml
new file mode 100644
index 00000000..4abfd59c
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Area 51.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 10.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 10.qview.xml
new file mode 100644
index 00000000..44edca78
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 10.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 10C.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 10C.qview.xml
new file mode 100644
index 00000000..1bb31c10
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 10C.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 27.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 27.qview.xml
new file mode 100644
index 00000000..a9d64107
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 27.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 28.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 28.qview.xml
new file mode 100644
index 00000000..b7c61c08
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 28.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 29.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 29.qview.xml
new file mode 100644
index 00000000..dd71b417
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 29.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 30.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 30.qview.xml
new file mode 100644
index 00000000..774909ff
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 30.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 31.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 31.qview.xml
new file mode 100644
index 00000000..87e955c2
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 31.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 31C.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 31C.qview.xml
new file mode 100644
index 00000000..ae99331d
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 31C.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 31D.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 31D.qview.xml
new file mode 100644
index 00000000..b9e39d2f
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 31D.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 32.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 32.qview.xml
new file mode 100644
index 00000000..bd1c26cf
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 32.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 34.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 34.qview.xml
new file mode 100644
index 00000000..a36fdf61
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 34.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 37.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 37.qview.xml
new file mode 100644
index 00000000..bb68753a
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 37.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 41.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 41.qview.xml
new file mode 100644
index 00000000..19862483
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 41.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 42.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 42.qview.xml
new file mode 100644
index 00000000..c7bf32ff
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 42.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 43.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 43.qview.xml
new file mode 100644
index 00000000..79108e7d
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 43.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 44.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 44.qview.xml
new file mode 100644
index 00000000..3d603234
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 44.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 45.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 45.qview.xml
new file mode 100644
index 00000000..e2481c77
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 45.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 46.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 46.qview.xml
new file mode 100644
index 00000000..658e1193
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 46.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 50.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 50.qview.xml
new file mode 100644
index 00000000..8f32422b
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 50.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 52.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 52.qview.xml
new file mode 100644
index 00000000..ca879a03
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 52.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 53.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 53.qview.xml
new file mode 100644
index 00000000..83c77d53
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 53.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 54A.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 54A.qview.xml
new file mode 100644
index 00000000..8babff4b
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 54A.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalCases/Building 54B.qview.xml b/nirc_ehr/resources/queries/study/clinicalCases/Building 54B.qview.xml
new file mode 100644
index 00000000..6bc01e82
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalCases/Building 54B.qview.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations.sql b/nirc_ehr/resources/queries/study/clinicalObservations.sql
new file mode 100644
index 00000000..a3c3361a
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations.sql
@@ -0,0 +1,2 @@
+SELECT * FROM study.clinical_observations
+WHERE type = 'Clinical'
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/.qview.xml
new file mode 100644
index 00000000..d044aafc
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/.qview.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Area 11.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Area 11.qview.xml
new file mode 100644
index 00000000..bc281c45
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Area 11.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Area 51.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Area 51.qview.xml
new file mode 100644
index 00000000..a53c398c
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Area 51.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 10.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 10.qview.xml
new file mode 100644
index 00000000..766836fc
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 10.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 10C.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 10C.qview.xml
new file mode 100644
index 00000000..db495ee2
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 10C.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 27.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 27.qview.xml
new file mode 100644
index 00000000..bafb41c1
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 27.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 28.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 28.qview.xml
new file mode 100644
index 00000000..d65b4a09
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 28.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 29.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 29.qview.xml
new file mode 100644
index 00000000..14869430
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 29.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 30.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 30.qview.xml
new file mode 100644
index 00000000..c95af3ee
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 30.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 31.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 31.qview.xml
new file mode 100644
index 00000000..98c186b3
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 31.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 31C.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 31C.qview.xml
new file mode 100644
index 00000000..db72f9f8
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 31C.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 31D.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 31D.qview.xml
new file mode 100644
index 00000000..462d2d2f
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 31D.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 32.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 32.qview.xml
new file mode 100644
index 00000000..c89e0869
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 32.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 34.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 34.qview.xml
new file mode 100644
index 00000000..4f654ba7
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 34.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 37.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 37.qview.xml
new file mode 100644
index 00000000..91a399ea
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 37.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 41.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 41.qview.xml
new file mode 100644
index 00000000..a07d8706
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 41.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 42.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 42.qview.xml
new file mode 100644
index 00000000..94e97d5c
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 42.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 43.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 43.qview.xml
new file mode 100644
index 00000000..e590f5a6
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 43.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 44.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 44.qview.xml
new file mode 100644
index 00000000..58b5db55
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 44.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 45.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 45.qview.xml
new file mode 100644
index 00000000..52a9e3c7
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 45.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 46.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 46.qview.xml
new file mode 100644
index 00000000..971a3545
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 46.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 50.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 50.qview.xml
new file mode 100644
index 00000000..2b1161bf
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 50.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 52.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 52.qview.xml
new file mode 100644
index 00000000..f937e30c
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 52.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 53.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 53.qview.xml
new file mode 100644
index 00000000..1e6ba4cc
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 53.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 54A.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 54A.qview.xml
new file mode 100644
index 00000000..8412bc14
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 54A.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinicalObservations/Building 54B.qview.xml b/nirc_ehr/resources/queries/study/clinicalObservations/Building 54B.qview.xml
new file mode 100644
index 00000000..dcf3bde9
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinicalObservations/Building 54B.qview.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observations/.qview.xml b/nirc_ehr/resources/queries/study/clinical_observations/.qview.xml
new file mode 100644
index 00000000..d044aafc
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observations/.qview.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observations/Alopecia Scores.qview.xml b/nirc_ehr/resources/queries/study/clinical_observations/Alopecia Scores.qview.xml
index 7c4cce8e..d044aafc 100644
--- a/nirc_ehr/resources/queries/study/clinical_observations/Alopecia Scores.qview.xml
+++ b/nirc_ehr/resources/queries/study/clinical_observations/Alopecia Scores.qview.xml
@@ -1,4 +1,4 @@
-
+
diff --git a/nirc_ehr/resources/queries/study/clinical_observations/Behavior.qview.xml b/nirc_ehr/resources/queries/study/clinical_observations/Behavior.qview.xml
index 0d61d3a0..0797e8c6 100644
--- a/nirc_ehr/resources/queries/study/clinical_observations/Behavior.qview.xml
+++ b/nirc_ehr/resources/queries/study/clinical_observations/Behavior.qview.xml
@@ -1,4 +1,4 @@
-
+
diff --git a/nirc_ehr/resources/queries/study/clinical_observations/Clinical.qview.xml b/nirc_ehr/resources/queries/study/clinical_observations/Clinical.qview.xml
index e333ee9b..73d4eaa7 100644
--- a/nirc_ehr/resources/queries/study/clinical_observations/Clinical.qview.xml
+++ b/nirc_ehr/resources/queries/study/clinical_observations/Clinical.qview.xml
@@ -1,4 +1,4 @@
-
+
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary.sql b/nirc_ehr/resources/queries/study/clinical_observationsSummary.sql
index 5e629600..040b65f2 100644
--- a/nirc_ehr/resources/queries/study/clinical_observationsSummary.sql
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary.sql
@@ -10,6 +10,7 @@ SELECT
QCState,
type
FROM clinical_observations
+WHERE type = 'Clinical'
GROUP BY
Id,
date,
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/.qview.xml
new file mode 100644
index 00000000..f007448a
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/.qview.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Area 11.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Area 11.qview.xml
new file mode 100644
index 00000000..170c2fc6
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Area 11.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Area 51.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Area 51.qview.xml
new file mode 100644
index 00000000..500340ff
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Area 51.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 10.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 10.qview.xml
new file mode 100644
index 00000000..baae82e9
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 10.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 10C.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 10C.qview.xml
new file mode 100644
index 00000000..a24fe82a
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 10C.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 27.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 27.qview.xml
new file mode 100644
index 00000000..e0a1bc21
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 27.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 28.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 28.qview.xml
new file mode 100644
index 00000000..0c54baa8
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 28.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 29.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 29.qview.xml
new file mode 100644
index 00000000..2cc1a93c
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 29.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 30.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 30.qview.xml
new file mode 100644
index 00000000..446ee7a2
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 30.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 31.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 31.qview.xml
new file mode 100644
index 00000000..236f3485
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 31.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 31C.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 31C.qview.xml
new file mode 100644
index 00000000..dafbd043
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 31C.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 31D.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 31D.qview.xml
new file mode 100644
index 00000000..ad0e8138
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 31D.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 32.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 32.qview.xml
new file mode 100644
index 00000000..cf6d82ad
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 32.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 34.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 34.qview.xml
new file mode 100644
index 00000000..55b578a8
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 34.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 37.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 37.qview.xml
new file mode 100644
index 00000000..8b4cd622
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 37.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 41.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 41.qview.xml
new file mode 100644
index 00000000..27a3b4cb
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 41.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 42.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 42.qview.xml
new file mode 100644
index 00000000..2ffd3947
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 42.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 43.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 43.qview.xml
new file mode 100644
index 00000000..0a1d68e2
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 43.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 44.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 44.qview.xml
new file mode 100644
index 00000000..09bf5911
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 44.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 45.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 45.qview.xml
new file mode 100644
index 00000000..89c5fbb8
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 45.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 46.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 46.qview.xml
new file mode 100644
index 00000000..7fc98624
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 46.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 50.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 50.qview.xml
new file mode 100644
index 00000000..1af229c1
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 50.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 52.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 52.qview.xml
new file mode 100644
index 00000000..fed3ee58
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 52.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 53.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 53.qview.xml
new file mode 100644
index 00000000..7969d672
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 53.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 54A.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 54A.qview.xml
new file mode 100644
index 00000000..15d80661
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 54A.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 54B.qview.xml b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 54B.qview.xml
new file mode 100644
index 00000000..966111fc
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/clinical_observationsSummary/Building 54B.qview.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/flags.query.xml b/nirc_ehr/resources/queries/study/flags.query.xml
index b5039908..570a6455 100644
--- a/nirc_ehr/resources/queries/study/flags.query.xml
+++ b/nirc_ehr/resources/queries/study/flags.query.xml
@@ -23,7 +23,7 @@
ehr_lookups
flag_values
- code
+ objectid
value
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Area 11.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Area 11.qview.xml
new file mode 100644
index 00000000..01670ac0
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Area 11.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Area 51.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Area 51.qview.xml
new file mode 100644
index 00000000..b762ee27
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Area 51.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 10.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 10.qview.xml
new file mode 100644
index 00000000..fc29cc88
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 10.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 10C.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 10C.qview.xml
new file mode 100644
index 00000000..49981c8a
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 10C.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 27.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 27.qview.xml
new file mode 100644
index 00000000..0d16f854
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 27.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 28.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 28.qview.xml
new file mode 100644
index 00000000..bf89edba
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 28.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 29.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 29.qview.xml
new file mode 100644
index 00000000..03950cd5
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 29.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 30.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 30.qview.xml
new file mode 100644
index 00000000..b02c47bc
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 30.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 31.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 31.qview.xml
new file mode 100644
index 00000000..0093d5a5
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 31.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 31C.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 31C.qview.xml
new file mode 100644
index 00000000..98f69455
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 31C.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 31D.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 31D.qview.xml
new file mode 100644
index 00000000..ccd75a5e
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 31D.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 32.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 32.qview.xml
new file mode 100644
index 00000000..f25bb6ce
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 32.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 34.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 34.qview.xml
new file mode 100644
index 00000000..f8139b57
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 34.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 37.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 37.qview.xml
new file mode 100644
index 00000000..29150bc9
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 37.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 41.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 41.qview.xml
new file mode 100644
index 00000000..01751eb4
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 41.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 42.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 42.qview.xml
new file mode 100644
index 00000000..62ec797e
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 42.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 43.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 43.qview.xml
new file mode 100644
index 00000000..1decf968
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 43.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 44.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 44.qview.xml
new file mode 100644
index 00000000..66160960
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 44.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 45.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 45.qview.xml
new file mode 100644
index 00000000..4c1fbe44
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 45.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 46.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 46.qview.xml
new file mode 100644
index 00000000..03ecbd24
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 46.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 50.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 50.qview.xml
new file mode 100644
index 00000000..c20f1db4
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 50.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 52.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 52.qview.xml
new file mode 100644
index 00000000..414af148
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 52.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 53.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 53.qview.xml
new file mode 100644
index 00000000..1cece263
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 53.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 54A.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 54A.qview.xml
new file mode 100644
index 00000000..b2b14e75
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 54A.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/observationSchedule/Building 54B.qview.xml b/nirc_ehr/resources/queries/study/observationSchedule/Building 54B.qview.xml
new file mode 100644
index 00000000..d8c69c7d
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/observationSchedule/Building 54B.qview.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Area 11.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Area 11.qview.xml
new file mode 100644
index 00000000..11653e8f
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Area 11.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Area 51.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Area 51.qview.xml
new file mode 100644
index 00000000..53fe28bd
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Area 51.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 10.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 10.qview.xml
new file mode 100644
index 00000000..db8a5c4c
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 10.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 10C.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 10C.qview.xml
new file mode 100644
index 00000000..dc93c8f4
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 10C.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 27.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 27.qview.xml
new file mode 100644
index 00000000..d3a8ca7e
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 27.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 28.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 28.qview.xml
new file mode 100644
index 00000000..9e21ed4e
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 28.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 29.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 29.qview.xml
new file mode 100644
index 00000000..26167e03
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 29.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 30.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 30.qview.xml
new file mode 100644
index 00000000..66309087
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 30.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 31.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 31.qview.xml
new file mode 100644
index 00000000..848d038e
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 31.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 31C.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 31C.qview.xml
new file mode 100644
index 00000000..51e61ceb
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 31C.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 31D.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 31D.qview.xml
new file mode 100644
index 00000000..9cd95094
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 31D.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 32.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 32.qview.xml
new file mode 100644
index 00000000..b5ec59a5
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 32.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 34.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 34.qview.xml
new file mode 100644
index 00000000..942b358e
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 34.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 37.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 37.qview.xml
new file mode 100644
index 00000000..d242a4d0
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 37.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 41.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 41.qview.xml
new file mode 100644
index 00000000..53495e8f
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 41.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 42.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 42.qview.xml
new file mode 100644
index 00000000..dbfaa8b3
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 42.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 43.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 43.qview.xml
new file mode 100644
index 00000000..e92f4b68
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 43.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 44.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 44.qview.xml
new file mode 100644
index 00000000..6366b342
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 44.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 45.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 45.qview.xml
new file mode 100644
index 00000000..b2119abe
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 45.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 46.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 46.qview.xml
new file mode 100644
index 00000000..0416d53e
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 46.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 50.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 50.qview.xml
new file mode 100644
index 00000000..0b418a1d
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 50.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 52.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 52.qview.xml
new file mode 100644
index 00000000..9a4bf06a
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 52.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 53.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 53.qview.xml
new file mode 100644
index 00000000..3a42bfb0
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 53.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 54A.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 54A.qview.xml
new file mode 100644
index 00000000..5fc4ac5f
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 54A.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/prcSchedule/Building 54B.qview.xml b/nirc_ehr/resources/queries/study/prcSchedule/Building 54B.qview.xml
new file mode 100644
index 00000000..d0950628
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/prcSchedule/Building 54B.qview.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/serology.query.xml b/nirc_ehr/resources/queries/study/serology.query.xml
new file mode 100644
index 00000000..99f97bda
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/serology.query.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ Date
+
+
+ Lab
+
+
+ Type
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Area 11.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Area 11.qview.xml
new file mode 100644
index 00000000..7e382716
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Area 11.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Area 51.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Area 51.qview.xml
new file mode 100644
index 00000000..e360b172
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Area 51.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 10.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 10.qview.xml
new file mode 100644
index 00000000..84960163
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 10.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 10C.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 10C.qview.xml
new file mode 100644
index 00000000..8f2f4607
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 10C.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 27.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 27.qview.xml
new file mode 100644
index 00000000..f6538ff9
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 27.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 28.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 28.qview.xml
new file mode 100644
index 00000000..ce9f27ad
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 28.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 29.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 29.qview.xml
new file mode 100644
index 00000000..04a00f4e
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 29.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 30.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 30.qview.xml
new file mode 100644
index 00000000..a8dd24a4
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 30.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 31.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 31.qview.xml
new file mode 100644
index 00000000..fc07c78c
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 31.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 31C.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 31C.qview.xml
new file mode 100644
index 00000000..e7a3550b
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 31C.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 31D.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 31D.qview.xml
new file mode 100644
index 00000000..fd3ea709
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 31D.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 32.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 32.qview.xml
new file mode 100644
index 00000000..4b5072a1
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 32.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 34.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 34.qview.xml
new file mode 100644
index 00000000..e90fa70d
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 34.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 37.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 37.qview.xml
new file mode 100644
index 00000000..569c8522
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 37.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 41.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 41.qview.xml
new file mode 100644
index 00000000..fa1ead2f
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 41.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 42.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 42.qview.xml
new file mode 100644
index 00000000..6dbde175
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 42.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 43.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 43.qview.xml
new file mode 100644
index 00000000..0dbb8640
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 43.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 44.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 44.qview.xml
new file mode 100644
index 00000000..0214545f
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 44.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 45.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 45.qview.xml
new file mode 100644
index 00000000..a7afb757
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 45.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 46.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 46.qview.xml
new file mode 100644
index 00000000..33be6c2d
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 46.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 50.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 50.qview.xml
new file mode 100644
index 00000000..e4816f74
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 50.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 52.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 52.qview.xml
new file mode 100644
index 00000000..37d665b1
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 52.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 53.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 53.qview.xml
new file mode 100644
index 00000000..c7e54d65
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 53.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 54A.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 54A.qview.xml
new file mode 100644
index 00000000..1b1e5a3b
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 54A.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/queries/study/treatmentSchedule/Building 54B.qview.xml b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 54B.qview.xml
new file mode 100644
index 00000000..838b7dca
--- /dev/null
+++ b/nirc_ehr/resources/queries/study/treatmentSchedule/Building 54B.qview.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/nirc_ehr/resources/reports/additionalReports.tsv b/nirc_ehr/resources/reports/additionalReports.tsv
index 7a5477b7..61aecdea 100644
--- a/nirc_ehr/resources/reports/additionalReports.tsv
+++ b/nirc_ehr/resources/reports/additionalReports.tsv
@@ -19,12 +19,12 @@ activeClinicalObservationOrders Clinical query Active Clinical Observation Order
activeBehaviorObservationOrders Behavior query Active Behavior Observation Orders true study observation_order Active Behavior Orders date false false qcstate/publicdata This report contains a list of today's treatments to be administered
observationOrders Clinical query Observation Orders true study observation_order date false false qcstate/publicdata This report contains a list of today's treatments to be administered
alopecia Clinical query Alopecia Scores TRUE study clinical_observations Alopecia Scores date FALSE FALSE qcstate/publicdata This report contains the alopecia scores for the animal
-behaviorCases Behavior query Active Behavior Cases true study cases Active Behavior Cases date false false qcstate/publicdata This displays active behavioral cases
-allBehaviorCases Behavior query Behavior Cases true study cases All Behavior Cases date false false qcstate/publicdata This displays all behavioral cases
+behaviorCases Behavior query Active Behavior Cases true study activeBehaviorCases date false false qcstate/publicdata This displays active behavioral cases
+allBehaviorCases Behavior query Behavior Cases true study behaviorCases date false false qcstate/publicdata This displays all behavioral cases
behaviorRemarks
bloodSchedule
-cases Clinical query Active Clinical Cases true study cases Active Clinical Cases date false false qcstate/publicdata This displays active clinical cases
-clinCases Clinical query All Clinical Cases true study Cases All Clinical Cases date false false qcstate/publicdata This report contains one record for each clinical case
+cases Clinical query Active Clinical Cases true study activeClinicalCases date false false qcstate/publicdata This displays active clinical cases
+clinCases Clinical query All Clinical Cases true study clinicalCases date false false qcstate/publicdata This report contains one record for each clinical case
prcOrders Clinical query Procedure Orders true study prc_order_report date false false qcstate/publicdata This report contains one record for each procedure order
prcOverdue Daily Reports query Overdue Procedures true study prcOverdue date false false qcstate/publicdata This report contains one record for each overdue procedure
clinMedicationSchedule Daily Reports js Today's Medication Schedule true study clinMedicationSchedule date false false qcstate/publicdata This report contains a list of today's treatments to be administered
@@ -45,5 +45,5 @@ surgMedicationSchedule
surgMedicationScheduleDaily
pairings
behaviorRemarks Behavior query Behavior Remarks true study Clinical Remarks Behavior date false false qcstate/publicdata This report contains the behavior remarks entered about each animal
-clinObsBehavior Behavior query Observations true study clinical_observations Behavior date false false qcstate/publicdata This report contains one record for each encounter with each animal, including surergies, exams, procedures, etc.
+clinObsBehavior Behavior query Observations true study behaviorObservations date false false qcstate/publicdata This report contains one record for each encounter with each animal, including surergies, exams, procedures, etc.
clinremarks Clinical query Clinical Remarks true study Clinical Remarks Clinical date false false qcstate/publicdata This report contains the clinical remarks entered about each animal
diff --git a/nirc_ehr/resources/web/nirc_ehr/model/sources/NIRCDefault.js b/nirc_ehr/resources/web/nirc_ehr/model/sources/NIRCDefault.js
index 15f2e171..463c1f29 100644
--- a/nirc_ehr/resources/web/nirc_ehr/model/sources/NIRCDefault.js
+++ b/nirc_ehr/resources/web/nirc_ehr/model/sources/NIRCDefault.js
@@ -250,6 +250,32 @@ EHR.model.DataModelManager.registerMetadata('Default', {
width: 200
}
}
+ },
+ 'study.flags': {
+ flag: {
+ allowBlank: false,
+ lookup: {
+ columns: 'objectid,value,category,code',
+ sort: 'category,code,value',
+ filterArray: [LABKEY.Filter.create('datedisabled', null, LABKEY.Filter.Types.ISBLANK)]
+ },
+ columnConfig: {
+ width: 300
+ },
+ editorConfig: {
+ caseSensitive: false,
+ anyMatch: true,
+ plugins: [Ext4.create('LDK.plugin.UserEditableCombo', {
+ allowChooseOther: false
+ })],
+ listConfig: {
+ innerTpl: '{[(values.category ? ("" + LABKEY.Utils.encodeHtml(values.category) + ": ") : "") + LABKEY.Utils.encodeHtml(values.value)]}',
+ getInnerTpl: function () {
+ return this.innerTpl;
+ }
+ }
+ }
+ }
}
}
});
\ No newline at end of file
diff --git a/nirc_ehr/src/org/labkey/nirc_ehr/NIRC_EHRModule.java b/nirc_ehr/src/org/labkey/nirc_ehr/NIRC_EHRModule.java
index 9bfefb9e..5d8a06ef 100644
--- a/nirc_ehr/src/org/labkey/nirc_ehr/NIRC_EHRModule.java
+++ b/nirc_ehr/src/org/labkey/nirc_ehr/NIRC_EHRModule.java
@@ -225,6 +225,8 @@ private void registerDataEntry()
EHRService.get().registerFormType(new DefaultDataEntryFormFactory(NIRCPairingsFormType.class, this));
EHRService.get().registerFormType(new DefaultDataEntryFormFactory(NIRCBulkBehaviorFormType.class, this));
EHRService.get().registerFormType(new DefaultDataEntryFormFactory(NIRCBehaviorRoundsFormType.class, this));
+ EHRService.get().registerFormType(new DefaultDataEntryFormFactory(NIRCChemistryImportFormType.class, this));
+ EHRService.get().registerFormType(new DefaultDataEntryFormFactory(NIRCSerologyImportFormType.class, this));
}
@Override
diff --git a/nirc_ehr/src/org/labkey/nirc_ehr/dataentry/form/NIRCChemistryImportFormType.java b/nirc_ehr/src/org/labkey/nirc_ehr/dataentry/form/NIRCChemistryImportFormType.java
new file mode 100644
index 00000000..2a826c53
--- /dev/null
+++ b/nirc_ehr/src/org/labkey/nirc_ehr/dataentry/form/NIRCChemistryImportFormType.java
@@ -0,0 +1,42 @@
+package org.labkey.nirc_ehr.dataentry.form;
+
+import org.json.JSONObject;
+import org.labkey.api.ehr.dataentry.AbstractDataEntryForm;
+import org.labkey.api.ehr.dataentry.DataEntryFormContext;
+import org.labkey.api.ehr.security.EHRDataAdminPermission;
+import org.labkey.api.module.Module;
+import org.labkey.api.view.ActionURL;
+
+import java.util.ArrayList;
+
+public class NIRCChemistryImportFormType extends AbstractDataEntryForm
+{
+ private final DataEntryFormContext _formContext;
+
+ public NIRCChemistryImportFormType(DataEntryFormContext ctx, Module owner)
+ {
+ super(ctx, owner, "ChemistryImport", "Chemistry Import", "Lab Results", new ArrayList<>());
+ _formContext = ctx;
+ }
+
+ @Override
+ public JSONObject toJSON(boolean includeFormElements)
+ {
+ JSONObject json = super.toJSON(includeFormElements);
+
+ ActionURL url = new ActionURL("study", "import", _formContext.getContainer());
+ url.addParameter("datasetId", "1024");
+ json.put("url", url);
+
+ return json;
+ }
+
+ @Override
+ protected boolean canInsert()
+ {
+ if (!getCtx().getContainer().hasPermission(getCtx().getUser(), EHRDataAdminPermission.class))
+ return false;
+
+ return super.canInsert();
+ }
+}
diff --git a/nirc_ehr/src/org/labkey/nirc_ehr/dataentry/form/NIRCSerologyImportFormType.java b/nirc_ehr/src/org/labkey/nirc_ehr/dataentry/form/NIRCSerologyImportFormType.java
new file mode 100644
index 00000000..47773c3f
--- /dev/null
+++ b/nirc_ehr/src/org/labkey/nirc_ehr/dataentry/form/NIRCSerologyImportFormType.java
@@ -0,0 +1,42 @@
+package org.labkey.nirc_ehr.dataentry.form;
+
+import org.json.JSONObject;
+import org.labkey.api.ehr.dataentry.AbstractDataEntryForm;
+import org.labkey.api.ehr.dataentry.DataEntryFormContext;
+import org.labkey.api.ehr.security.EHRDataAdminPermission;
+import org.labkey.api.module.Module;
+import org.labkey.api.view.ActionURL;
+
+import java.util.ArrayList;
+
+public class NIRCSerologyImportFormType extends AbstractDataEntryForm
+{
+ private final DataEntryFormContext _formContext;
+
+ public NIRCSerologyImportFormType(DataEntryFormContext ctx, Module owner)
+ {
+ super(ctx, owner, "SerologyImport", "Serology Import", "Lab Results", new ArrayList<>());
+ _formContext = ctx;
+ }
+
+ @Override
+ public JSONObject toJSON(boolean includeFormElements)
+ {
+ JSONObject json = super.toJSON(includeFormElements);
+
+ ActionURL url = new ActionURL("study", "import", _formContext.getContainer());
+ url.addParameter("datasetId", "1032");
+ json.put("url", url);
+
+ return json;
+ }
+
+ @Override
+ protected boolean canInsert()
+ {
+ if (!getCtx().getContainer().hasPermission(getCtx().getUser(), EHRDataAdminPermission.class))
+ return false;
+
+ return super.canInsert();
+ }
+}