def generate_complex_medical_record(): od = collections.OrderedDict() od['blood_pressure'] = clinical.blood_pressure() od['ICD'] = '"' + clinical.ICD() + '"' od['glycohemoglobin'] = clinical.glycohemoglobin() od['patient_status'] = '"' + clinical.patient_status() + '"' return od
def generate_simple_medical_record(): od = collections.OrderedDict() # od['phn'] = demographics.ID() # od['first_name'] = name.first_name() # od['last_name'] = name.last_name() # od['birthdate'] = demographics.birthdate() # od['city'] = address.ca_city() # od['postal_code'] = address.ca_postal_code(od['city']) # od['education'] = demographics.education_code() od['systolic'] = clinical.systolic() od['diastolic'] = clinical.diastolic(od['systolic']) od['ICD'] = clinical.ICD_code() od['glycohemoglobin'] = clinical.glycohemoglobin() od['patient_status'] = '"' + clinical.patient_status() + '"' return od