need help Fixing the errors in the pseudocode and creating a diagram //This clas
ID: 3939106 • Letter: N
Question
need help Fixing the errors in the pseudocode and creating a diagram
//This class diagram describes a Patient class used by a doctor's office Patient patientNum: num +name: string phone: string birthDate: string insuranceCarrier: string +setPatientNum(patNum: num): num +setName(name: string): void +setPhone(phone: string): void +setBirthDatefdate: string): void +setInsuranceCarier(carrier: string): void +getPatientNum(): num +getName(): string +getPhone(): string +getBi rthDate(): num +getInsuranceCarrier(): stringExplanation / Answer
The code here gives the exact fields that are available in the classes, to draw a digram and psuedocode, we need the process flow. We have to know what the doctor's office is doing with the class, either they are registering the patient details or providing adminssion details for the patient, in what way the data are used.
Only with that process flow we can generate Psuedocode and flow diagram for this class. Please be more specific about the operation that are perfomed using the data.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.