Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
456 changes: 264 additions & 192 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"@mui/icons-material": "^5.8.4",
"@mui/lab": "^5.0.0-alpha.88",
"@mui/material": "^5.8.6",
"@tanstack/react-table": "^8.21.3",
"dayjs": "^1.11.19",
"fhirclient": "^2.4.0",
"react": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/PatientInfo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Patient from "@/models/Patient";
export default function PatientInfo(props) {
const theme = useTheme();
const { patient } = props;
const patientObj = new Patient(patient);
const patientObj = patient ? new Patient(patient) : {};
const getPatientName = () => {
return patientObj.name ? patientObj.name : "Patient name unknown";
};
Expand Down
Loading
Loading