-

-
- {paciente.nomeCompleto}
-
-
CPF: {paciente.cpf}
-
+ <>
+
+
MediConnect
+
+
+
+
+
+

+
+
+
{paciente.nome || "Nome Completo"}
+
{paciente.cpf || "CPF"}
+
+
+
+
+
+
+ {/* ------------------ DADOS PESSOAIS ------------------ */}
+
+
Dados Pessoais
+
+
+
+
+
{paciente.nome || "-"}
+
+
+
+
{paciente.nomeSocial || "-"}
+
+
+
+
{paciente.dataNascimento || "-"}
+
+
+
+
{paciente.sexo || "-"}
+
+
+
+
{paciente.documento || "-"}
+
+
+
+
{paciente.numeroDocumento || "-"}
+
+
+
+
{paciente.cpf || "-"}
+
+
+
+
{paciente.profissao || "-"}
+
+
+
+
{paciente.nomeMae || "-"}
+
+
+
+
{paciente.profissaoMae || "-"}
+
+
+
+
{paciente.nomePai || "-"}
+
+
+
+
{paciente.profissaoPai || "-"}
+
+
+
+
{paciente.nomeResponsavel || "-"}
+
+
+
+
{paciente.cpfResponsavel || "-"}
+
+
+
+
{paciente.nomeConjuge || "-"}
+
+
+
+
{paciente.outroId || "-"}
+
+
- {/* Dados pessoais */}
-
-
Dados Pessoais
+ {/* ------------------ ENDEREÇO ------------------ */}
+
+
Endereço
+
+
+
+
+
{paciente.cep || "-"}
+
+
+
+
{paciente.rua || "-"}
+
+
+
+
{paciente.bairro || "-"}
+
+
+
+
{paciente.cidade || "-"}
+
+
+
+
{paciente.estado || "-"}
+
+
+
+
{paciente.numero || "-"}
+
+
+
+
{paciente.complemento || "-"}
+
+
+
+
+ {/* ------------------ CONTATO ------------------ */}
+
+
Contato
+
+
+
+
+
{paciente.email || "-"}
+
+
+
+
{paciente.telefone1 || "-"}
+
+
+
+
{paciente.telefone2 || "-"}
+
+
+
+
{paciente.telefone3 || "-"}
+
+
+
+
+ {/* ------------------ INFORMAÇÕES ADICIONAIS ------------------ */}
+
+
Informações Adicionais
+
+
+
+
{paciente.observacoes || "-"}
+
+
+
+ {/* Dados pessoais
+
+
Dados Pessoais
Nome Completo: {paciente.nomeCompleto}
CPF: {paciente.cpf}
@@ -51,9 +197,9 @@ const Details = ({ patientID, setCurrentPage }) => {
Etnia: {paciente.etnia}
-
+ */}
{/* Contato */}
-
+ {/*
Informações de Contato
E-mail: {paciente.email}
@@ -61,88 +207,89 @@ const Details = ({ patientID, setCurrentPage }) => {
Telefone 1: {paciente.telefone1 || "-"}
Telefone 2: {paciente.telefone2 || "-"}
-
-
+
*/}
+
+ >
);
};
-const styles = {
- container: {
- width: "80%",
- maxWidth: "800px",
- margin: "30px auto",
- background: "#fff",
- borderRadius: "10px",
- padding: "20px",
- boxShadow: "0 2px 8px rgba(0,0,0,0.1)",
- fontFamily: "Arial, sans-serif",
- position: "relative"
- },
- backBtn: {
- background: "#ddd",
- border: "none",
- borderRadius: "6px",
- padding: "8px 14px",
- cursor: "pointer",
- marginBottom: "15px"
- },
- header: {
- textAlign: "center",
- marginBottom: "20px",
- position: "relative"
- },
- avatar: {
- width: "80px",
- height: "80px",
- borderRadius: "50%",
- background: "#ddd",
- display: "block",
- margin: "0 auto"
- },
- nome: {
- margin: "10px 0 5px"
- },
- vip: {
- color: "#f7b500",
- fontWeight: "bold",
- marginLeft: "5px"
- },
- cpf: {
- margin: "5px 0",
- color: "#555"
- },
- editBtn: {
- background: "#0d6efd",
- color: "white",
- padding: "8px 14px",
- border: "none",
- borderRadius: "6px",
- cursor: "pointer",
- position: "absolute",
- right: "20px",
- top: "20px"
- },
- section: {
- marginBottom: "20px",
- border: "1px solid #e0e0e0",
- borderRadius: "8px",
- padding: "15px"
- },
- sectionTitle: {
- marginTop: 0,
- borderBottom: "1px solid #ddd",
- paddingBottom: "8px",
- fontSize: "18px"
- },
- grid: {
- display: "grid",
- gridTemplateColumns: "1fr 1fr",
- gap: "10px 20px",
- marginTop: "10px"
- },
- item: {
- fontSize: "14px"
- }
-};
+// const styles = {
+// container: {
+// width: "80%",
+// maxWidth: "800px",
+// margin: "30px auto",
+// background: "#fff",
+// borderRadius: "10px",
+// padding: "20px",
+// boxShadow: "0 2px 8px rgba(0,0,0,0.1)",
+// fontFamily: "Arial, sans-serif",
+// position: "relative"
+// },
+// backBtn: {
+// background: "#ddd",
+// border: "none",
+// borderRadius: "6px",
+// padding: "8px 14px",
+// cursor: "pointer",
+// marginBottom: "15px"
+// },
+// header: {
+// textAlign: "center",
+// marginBottom: "20px",
+// position: "relative"
+// },
+// avatar: {
+// width: "80px",
+// height: "80px",
+// borderRadius: "50%",
+// background: "#ddd",
+// display: "block",
+// margin: "0 auto"
+// },
+// nome: {
+// margin: "10px 0 5px"
+// },
+// vip: {
+// color: "#f7b500",
+// fontWeight: "bold",
+// marginLeft: "5px"
+// },
+// cpf: {
+// margin: "5px 0",
+// color: "#555"
+// },
+// editBtn: {
+// background: "#0d6efd",
+// color: "white",
+// padding: "8px 14px",
+// border: "none",
+// borderRadius: "6px",
+// cursor: "pointer",
+// position: "absolute",
+// right: "20px",
+// top: "20px"
+// },
+// section: {
+// marginBottom: "20px",
+// border: "1px solid #e0e0e0",
+// borderRadius: "8px",
+// padding: "15px"
+// },
+// sectionTitle: {
+// marginTop: 0,
+// borderBottom: "1px solid #ddd",
+// paddingBottom: "8px",
+// fontSize: "18px"
+// },
+// grid: {
+// display: "grid",
+// gridTemplateColumns: "1fr 1fr",
+// gap: "10px 20px",
+// marginTop: "10px"
+// },
+// item: {
+// fontSize: "14px"
+// }
+// };
export default Details;
\ No newline at end of file