Created
November 21, 2012 17:47
-
-
Save vagnerzampieri/4126429 to your computer and use it in GitHub Desktop.
Patient
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
json.patients @patients do |patient| | |
json.id patient.id | |
json.name patient.name | |
json.anamnese patient.anamnese.id | |
json.cpf patient.cpf | |
json.cep patient.cep | |
json.address patient.address | |
json.number patient.number | |
json.complement patient.complement | |
json.neighborhood patient.neighborhood | |
json.city patient.city | |
json.state patient.state | |
json.country patient.country | |
json.rg patient.rg | |
json.birth_certificate patient.birth_certificate | |
json.ric patient.ric | |
json.age patient.age | |
json.birth patient.birth | |
json.mother_name patient.mother_name | |
json.place_of_birth patient.place_of_birth | |
json.civil_status patient.civil_status | |
json.cover_image_uid patient.cover_image_uid | |
json.cover_image_name patient.cover_image_name | |
json.url_image patient.cover_image.url | |
json.telephones patient.telephones do |phone| | |
json.id phone.id | |
json.ddd phone.ddd | |
json.tel phone.tel | |
json.branch_line phone.branch_line | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment