Patient <%= patient.first%> <%= patient.last%>
Date of birth <%= Time.at(patient.birthdate).utc.to_formatted_s(:long_ordinal)%> Sex <%= (patient.gender == 'M') ? "Male" : (patient.gender == 'F') ? 'Female' : 'Unknown'%>
Race <%= patient.race.nil? ? 'Unknown' : (patient.race['name'] ? patient.race['name'] : "CDC-RE: #{patient.race['code']}") %> Ethnicity <%= patient.ethnicity.nil? ? 'Unknown' : (patient.ethnicity['name'] ? patient.ethnicity['name'] : "CDC-RE: #{patient.ethnicity['code']}") %>
Insurance Providers <%= (patient.insurance_providers.map {|provider| provider.name }).join(", ") %> Patient IDs <%= patient.id %> Cypress
Contact info Pirmary Home: 202 Burlington Rd. Bedford, MA 01730
Tel: +1-781-271-3000
Document Id <%= patient.id %> 2.16.840.1.113883.3.72
Document Created: <%= Time.now.utc.to_formatted_s(:long_ordinal)%>
Author Auto Generated
Contact info
Tel: +1-781-271-3000
Document maintained by Cypress
Contact info 202 Burlington Rd.
Bedford, MA 01730
Tel: +1-781-271-3000