Giter VIP home page Giter VIP logo

Comments (10)

jcjohnsonmo avatar jcjohnsonmo commented on May 27, 2024 1

Only "allowed"/"happened" because we were using paper so we couldn't prevent people from being inconsistent. Sigh.

from eacjr.

frgeof avatar frgeof commented on May 27, 2024 1

Yes.
push2portal.php

if ($input_data[array_search("recent_hf_d1", $header_array, TRUE)] == "1")
 ...
if ((strlen($pt_baseline) < 1) && ($input_data[array_search("head_face_6week_d3", $header_array, TRUE)] == "1"))

from eacjr.

frgeof avatar frgeof commented on May 27, 2024

I use baseline reported from 24hr unless no baseline was reported with 24hr and is reported with 72hr. Why would we allow have a baseline value change between the two reports?

from push2portal.php

example: Lines 149-158:

if ($input_data[array_search("recent_hf_d1", $header_array, TRUE)] == "1")
	{
		$pt_baseline = "Yes";
																	
		if ($input_data[array_search("worst_hf_d1", $header_array, TRUE)] == "0") { $pt_baseline_severity = "Not present"; }
		if ($input_data[array_search("worst_hf_d1", $header_array, TRUE)] == "1") { $pt_baseline_severity = "Mild"; }
		if ($input_data[array_search("worst_hf_d1", $header_array, TRUE)] == "2") { $pt_baseline_severity = "Moderate";}
		if ($input_data[array_search("worst_hf_d1", $header_array, TRUE)] == "3") { $pt_baseline_severity = "Severe";}
		if ($input_data[array_search("worst_hf_d1", $header_array, TRUE)] == "4") { $pt_baseline_severity = "Very Severe";}
	}

and example lines 177-186:

if ((strlen($pt_baseline) < 1) && ($input_data[array_search("head_face_6week_d3", $header_array, TRUE)] == "1"))
	{
		$pt_baseline = "Yes";

		if ($input_data[array_search("head_face_worst_d3", $header_array, TRUE)] == "0") { $pt_baseline_severity = "Not present"; }
		if ($input_data[array_search("head_face_worst_d3", $header_array, TRUE)] == "1") { $pt_baseline_severity = "Mild"; }
		if ($input_data[array_search("head_face_worst_d3", $header_array, TRUE)] == "2") { $pt_baseline_severity = "Moderate";}
		if ($input_data[array_search("head_face_worst_d3", $header_array, TRUE)] == "3") { $pt_baseline_severity = "Severe";}
		if ($input_data[array_search("head_face_worst_d3", $header_array, TRUE)] == "4") { $pt_baseline_severity = "Very Severe";}
	}

from eacjr.

frgeof avatar frgeof commented on May 27, 2024

Okay, how do we want push2portal.php to handle this?

from eacjr.

jcjohnsonmo avatar jcjohnsonmo commented on May 27, 2024

Is it possible to handle this in what is displayed in the Baseline Severity column? There are examples of how I handled it in the Phase 1 template (see issue #13). Participant 17 had different baselines for 24 hr and 72 hr. Participant 69 had no 24 hr baseline, just 72 hr.

from eacjr.

frgeof avatar frgeof commented on May 27, 2024
I use baseline reported from 24hr unless no baseline was reported with 24hr and is reported with 72hr. 

from eacjr.

jcjohnsonmo avatar jcjohnsonmo commented on May 27, 2024

I hadn't seen any examples in any of the participants I checked so I hadn't seen that yet. So you are displaying the 72 hr baseline in Baseline Severity column if there was no 24 hr baseline?

from eacjr.

jcjohnsonmo avatar jcjohnsonmo commented on May 27, 2024

Is there a way to add an indicator that it came from 72 hr instead of 24 hr?

from eacjr.

frgeof avatar frgeof commented on May 27, 2024

Yes.. sort of, there wouldn't be a severity in the 24hr block.

from eacjr.

jcjohnsonmo avatar jcjohnsonmo commented on May 27, 2024

That will work, I think. I'm not sure the EAC members really cared where the baseline came from anyway. ¯_(ツ)_/¯

from eacjr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.