The Patient service

The Patient service in is the client side representation of a patient model.


The Patient service is instantiated with the Patient data that comes back from the Patient JSON API. It will cast any Episode data to Episode objects, and any PatientSubrecord data to Item objects

    var patient = new Patient(json_data)