+ Select an observation to see the full record. Approve only observations you have checked. +
+Recorded by {row['createdBy/DisplayName']}
+| Parameter | + {/* Hidden when there is no prior, as on the tablet */} + {prior && ( +
+ |
+ )}
+ Value | +Carry over | +Reason for change | +
|---|---|---|---|---|
| {f.label} | + {prior &&{prior[f.name] ?? '-'} | } ++ {isEditing ? ( + + ) : isMissing(f.name) ? ( + Missing + ) : ( + row[f.name] + )} + | ++ {f.carryOver && + (isEditing ? ( + + ) : row[f.carryOver] ? ( + 'Yes' + ) : ( + 'No' + ))} + | +e.field === f.name) ? 'needs-reason' : undefined} + > + {isEditing ? ( + setEdit(f.name, { reason: e.target.value })} + value={edits[f.name]?.reason ?? ''} + /> + ) : ( + row[`${f.name}Comments`] + )} + | +
+ Clinical Score: {displayScore(clinicalScore(edited))} + {prior && (prior {displayScore(clinicalScore(prior))})} +
+ {isEditing ? ( +Comment: {row.Comment}
+ )} + {isEditing && stillMissing.length > 0 && ( ++ Fill in every missing value before saving: {stillMissing.map(f => f.label).join(', ')}. +
+ )} + {errorMessage &&{errorMessage}
} + {isEditing ? ( + <> + + + > + ) : ( + + )} +