Class: Lifen::Patient
Instance Method Summary collapse
Instance Method Details
#fhir_payload ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/lifen/patient.rb', line 8 def fhir_payload { id: "patient", resourceType: "Patient", name: [ { family: [ last_name ], given: [ first_name ] } ], birthDate: birthdate.to_s } end |