Make this simple C++ code add data into a file called "Medical Database" preferably an excel file.
Also ask the patient for blood type and if they're donors.
Anytime I run this code, it should add new data into the same Medical Database file.
Use comments to explain what each line of code is doing. (including the one I have written)
Side note: I'm trying to explain how data mining works in the medical field and the medical database file is acting a the real database hospitals use for patients.
*Also if can you put a note explaining steps taken to put real data into a real Database. API calling or anything.*
#include<iostream>
#include<string>
using namespace std;
int main() {
string name;
int sytolic,diastolic;
sytolic=diastolic=0;
cout<<"Enter name of Patient: ";
getline(cin,name);
cout<<"Enter "<<name<<"'s sytolic number: ";
cin>>sytolic;
cout<<"Enter "<<name<<"'s diastolic number: ";
cin>>diastolic;
cout<<"Below is "<<name<<"'s blood pressure rating: "<<endl;
cout<<"----------------------------------------------"<<endl;
cout<<"Name of Patient: "<<name<<endl;
cout<<"Blood Pressure Ratings: "<<sytolic<<"/"<<diastolic<<endl;
if(sytolic<120 && diastolic<80)
cout<<"Blood Pressure Category: Normal"<<endl;
if(120<=sytolic && sytolic<=129 && diastolic<80)
cout<<"Blood Pressure Category: Elevated"<<endl;
if((130<=sytolic && sytolic<=139) || (80<=diastolic && diastolic<=89))
cout<<"Blood Pressure Category: HBP - Stage 1"<<endl;
if((140<=sytolic) || (90<=diastolic))
cout<<"Blood Pressure Category: HBP - Stage 2"<<endl;
}
In: Computer Science
case study
you are working
as an administrative assistant in a busy GP practice in a suburb
where the community consists of people newly arrived in Australia
and a younger cohort of individuals who have moved to the area and
are heroin addicts. The GP clinic is the only clinic in the area
that provides a bulk billing service and needle exchange
program.
Mrs. Rizzo is an elderly lady of 78 years, from Italy. Mrs. Rizzo was brought to Australia by her son and daughter in law after her husband died. Mrs. Rizzo does not speak any English but relies on her son to interpret for her. Mrs. Rizzo has been in Australia for over 10 years but has made no effort to learn English and except for when her son accompanies her rarely leaves the house.
On arrival at the surgery it was apparent that Mrs. Rizzo was in pain. There was a lot of yelling, gesturing, pulling of hair and crying. Another patient attending the clinic tells her to shut up™ and asks if you could put the old bag outside™. Her son became very upset and soon both the son and the other client were yelling at each other. Mrs. Rizzo continued to wail.
You need to deal with this situation but privately
you felt that Mrs. Rizzo was making a lot of fuss.
in this case study
use Gibbs cycle of reflection
In: Nursing
Out of 20 unhealthiest countries in the world in 2019, the Indigo Wellbeing Index (IWI) has identified St. Lucia as the second unhealthiest country, Barbados as the fifth unhealthiest country, Haiti as the ninth unhealthiest country, Trinidad and Tobago as the fourteenth unhealthiest country, Jamaica as the sixteenth unhealthiest country, and Dominican Republic as the nineteenth unhealthiest country. There are only three African countries in the cohort: South Africa as the first unhealthiest country, Central African Republic as the eighth unhealthiest country and Egypt as the eighteenth unhealthiest country.
(a) Discuss in the context of this sample that wealthy country is not necessarily healthy country.
(b) Suppose that you are an advisor to Barbados Ministry of Health and Wellness and that your task is to mount and defend policies to improve Barbados’s IWI ranking, for example, from 0.34 to 0.60 in the long run. Present and discuss the policies of interest.
Notes: (i) IWI goes from 0 (unhealthiest) to 1( healthiest). It is based on 10 items: blood pressure, blood glucose, obesity, depression, happiness, alcohol use, tobacco use, exercise, healthy life expectancy, and government spending on health care.
(ii) The sizes of 2019 GDP per capita (using purchasing power parity, PPP) in international $, are the following: Central African Republic 681 (2017); Haiti 1,940; Jamaica 9,726; South Africa 13,498 (2017); St. Lucia 15,225; Egypt 16,953 (2017); Barbados 18,886; Dominican Republic 19,452; and Trinidad and Tobago 33,026.
In: Economics
Which of the following is an example of a famous intervention study?:
Which of the following is an example of a famous cohort study?
One advantage of a case-control study is that they _______.
All of the following factors influence the validity of results except:
The purpose of the Institutional Review Board (IRB) is to ensure:
A false positive means that:
An estimated 24% of Americans have metabolic syndrome. Metabolic Syndrome is characterized by all of the following except:
In: Nursing
Study 4
In a study of people with Hypertension, 65,000 people with hypertension were followed for 5 years. All were screened negative for Parkinson’s diseases (PD) when they entered the study. To control their hypertension the population was taking either calcium channel blockers (CCBs), angiotensin converting enzyme inhibitors (ACEIs) or angiotensin receptor blockers (ARBs). 25,000 people were taking CCBs, 20,000 were taking ACEIs and 20,000 were taking ARBs. This study wanted to look at the exposure to CCBs and ARBs and if it led to PD. The incidence of PD in those taking CCBs was 27/1000 and the incidence for those taking ARBs was 22/1,000.
Label the table and fill it in.
1. What type of study is this?
a. cross-sectional
b. case report/series
c. ecologic
d. case-control
e. cohort
f. clinical trial
g. community intervention
2. What is the most appropriate measure of association?
a. odd ratio
b. relative risk
c. Attributable risk
d. none of these
3. Calculate the measure of association (use two decimal places).
4. How would you best describe the relationship between the exposure and the outcome?
a. no relationship
b. positive relationship
c. negative relationship
5. If appropriate, calculate the attributable risk per 1000 people (use 2 decimal places).
***would you mind showing all of your work? Thank you!
In: Statistics and Probability
Coronary heart disease (CHD) begins in young adulthood and is the fifth leading cause of death among adults aged 20 to 24 years. However, studies of serum cholesterol levels among college students are scarce. One study at a southern university investigated the lipid levels in a cohort of sedentary university students. A total of 85 students volunteered for the study and met the eligibility criteria. The following table summarizes the sample data collected for the blood lipid levels, in milligrams per deciliter (mg/dl), of the participants broken down by gender:
|
Females (n1 = 48) |
Males (n2 = 37) |
|||
|
Mean |
Standard deviation |
Mean |
Standard deviation |
|
|
Total cholesterol |
173.70 |
34.79 |
171.86 |
33.24 |
|
LDL |
96.38 |
29.78 |
109.44 |
31.05 |
|
HDL |
61.62 |
13.75 |
46.47 |
7.94 |
Construct a 95% confidence interval estimate for the mean difference in total cholesterol levels for sedentary female and male university students.
Note: Do not do any intermediate rounding in your calculations!
ANSWER: (Click to select)+-± ≤ (Click to select)(π1 - π2)(x-bar1 - x-bar2)(μ1 - μ2)(s1 - s2)(σ1 - σ2)μd(n1 - n2)(p1 - p2) ≤ (Click to select)±-+ (report your answers to 4 decimal places, using conventional rounding rules.)
PLEASE ROUND 4 DECIMAL PLACES
In: Math
An ac voltage, whose peak value is 150 V, is across a 330 -Ω resistor.
What is the peak current in the resistor? answer in A
What is the rms current in the resistor? answer in A
In: Physics
Referring to the definition of the Helmholtz energy (Eq. 6.5 in your text), show that dA represents the maximum amount of total work that a system can perform at constant T and V.
In: Chemistry
In: Computer Science
Calculate the Standard Reduction potential of Substance B when e = -0.62 V at 25 °C; [Breduced] = 50 µM, and [Boxidized] = 2 µM. Assume that n = 2.
In: Chemistry