-
+ {appointments?.total &&
{appointments?.entry?.map((entry) => {
const resource = entry.resource as R4.IAppointment;
const display = getDisplayFromExtensions(resource.extension);
@@ -125,7 +127,8 @@ if(patient && appointments && encounters){
);
})}
-
+
}
+ {!appointments?.total &&
The patient has no appointments.
}