@startuml package PatientGeneration-ejb{ abstract class AbstractPatient class PatientAddress #lightgreen{ -String countryCode -String street -String streetNumber -String zipCode -String city -String addressLine -String state } } package PAMSimulator-ejb{ enum PhoneNumberType #lightgreen class PhoneNumber #lightgreen PhoneNumber -- PhoneNumberType #green AbstractPatient <|-- Patient AbstractPatient "1" -right- "*" PatientAddress #green Patient "1" -right- "*" PhoneNumber #green @enduml }