Method: DdeClient::DdeService#create_patient
- Defined in:
- app/services/dde_client/dde_service.rb
#create_patient(patient) ⇒ Object
Registers local OpenMRS patient in Dde
On success patient get two identifiers under the types ‘Dde person document ID’ and ‘National id’. The ‘Dde person document ID’ is the patient’s record ID in the local Dde instance and the ‘National ID’ is the national unique identifier for the patient.
55 56 57 |
# File 'app/services/dde_client/dde_service.rb', line 55 def create_patient(patient) push_local_patient_to_dde(patient) end |