#load the dependencies

R Markdown

##Tables and descriptives


Antenatal care, N = 5

Hypertension, N = 11

Neo-natal care, N = 3

Post-natal care, N = 1

Overall, N = 20

Facility.type
Clinic2 (40%)7 (64%)2 (67%)0 (0%)11 (55%)
District Hospital2 (40%)2 (18%)1 (33%)0 (0%)5 (25%)
Health center1 (20%)2 (18%)0 (0%)1 (100%)4 (20%)
Age
18-353 (60%)2 (18%)1 (33%)1 (100%)7 (35%)
36-502 (40%)0 (0%)2 (67%)0 (0%)4 (20%)
51-650 (0%)7 (64%)0 (0%)0 (0%)7 (35%)
66-800 (0%)2 (18%)0 (0%)0 (0%)2 (10%)
Sex
Female5 (100%)7 (64%)3 (100%)1 (100%)16 (80%)
Male0 (0%)4 (36%)0 (0%)0 (0%)4 (20%)
Educational.status
Completed primary3 (60%)1 (9.1%)0 (0%)0 (0%)4 (20%)
Completed secondary0 (0%)1 (9.1%)0 (0%)1 (100%)2 (10%)
More than secondary 1 (20%)1 (9.1%)0 (0%)0 (0%)2 (10%)
No education1 (20%)7 (64%)2 (67%)0 (0%)10 (50%)
Some primary schooling0 (0%)1 (9.1%)1 (33%)0 (0%)2 (10%)
Occupational.status
Informal sector- self employed3 (60%)5 (45%)3 (100%)1 (100%)12 (60%)
Office going- private sector0 (0%)1 (9.1%)0 (0%)0 (0%)1 (5.0%)
Office going-public sector1 (20%)0 (0%)0 (0%)0 (0%)1 (5.0%)
Unemployed1 (20%)5 (45%)0 (0%)0 (0%)6 (30%)
Health.decision.taken.by
Self3 (60%)11 (100%)3 (100%)0 (0%)17 (85%)
Spouse2 (40%)0 (0%)0 (0%)1 (100%)3 (15%)
Reason.for.selection
Elderly/disabled patient0 (0%)2 (18%)0 (0%)0 (0%)2 (10%)
Navigation pattern while seeking care5 (100%)9 (82%)3 (100%)1 (100%)18 (90%)
preconsultation.wait.timeconsultation.how.much.time.did.doctor.spend.in.consultationdiagnostics.and.measurement.how.long.did.the.measurement.process.takepharmacy.how.long.did.the.patient.spend.at.the.counter.while.getting.medicinepayment.how.long.did.the.patient.have.to.wait.to.make.payment.at.the.counterhow.long.did.the.payment.process.take
16.616.485.23.24.5

## Warning: attributes are not identical across measure variables; they will be
## dropped
## `summarise()` has grouped output by 'variable'. You can override using the
## `.groups` argument.

Note that the echo = FALSE parameter was added to the code chunk to prevent printing of the R code that generated the plot.

## Warning: attributes are not identical across measure variables; they will be
## dropped
## `summarise()` has grouped output by 'variable'. You can override using the
## `.groups` argument.

## Warning: attributes are not identical across measure variables; they will be
## dropped
## `summarise()` has grouped output by 'variable'. You can override using the
## `.groups` argument.

## Warning: attributes are not identical across measure variables; they will be
## dropped
## `summarise()` has grouped output by 'variable'. You can override using the
## `.groups` argument.

## [1] ""      "Yes\n"
## Warning: attributes are not identical across measure variables; they will be
## dropped
## `summarise()` has grouped output by 'variable'. You can override using the
## `.groups` argument.

##correlation tests

#let us examine the test the correlation between preconsultation wait time and rating of experience
# Calculate sPearman rank correlation coefficient


# Calculate correlation and p-value
cor_preconsul <- cor.test(shad$preconsultation.wait.time, shad$patient.rating.of.experience,method = "spearman")
## Warning in cor.test.default(shad$preconsultation.wait.time,
## shad$patient.rating.of.experience, : Cannot compute exact p-value with ties
# Print the correlation coefficient and p-value
print(cor_preconsul$estimate)  # Correlation coefficient
##       rho 
## 0.1291704
print(cor_preconsul$p.value)    # P-value
## [1] 0.6212391

The Spearman correlation coefficient between preconsultation wait time and patient rating of experience was 0.129, indicating a weak positive relationship. This suggests that, on average, as consultation wait time increased, patient ratings of experience tended to increase slightly.”

“However, the correlation was not found to be statistically significant, as the associated p-value (0.62) exceeded the commonly used significance level of 0.05. This implies that the observed relationship between consultation wait time and patient rating of experience may have occurred by random chance, and there is no strong evidence to support a meaningful association between the two variables in the dataset.”

we could also examine the test the correlation between the time spent during consultation with the doctor and rating of experience

Content analysis of open ended qualitative data. on the overall observation of what worked well- “shadowers” were of the view that Accessibility and proximity of the health care facility played a major role in the choice of the health facility. proximity of major markets and roads..patients on the other hand felt that friendly and accommodating health care personnel endeared them to the health facility.”Shadowers” were of the view that improving the hospital environment will make it more attractive. patients were of the view that more trained personnel/specialist should be made available in the health centers. The relative comfort and ease of which was experienced by most patients was hampered by structures which needed renovation. The toilet facilities were not maintained and needs to be improved upon.