welkin.models.assessment ======================== .. py:module:: welkin.models.assessment Classes ------- .. autoapisummary:: welkin.models.assessment.Assessment welkin.models.assessment.Assessments welkin.models.assessment.AssessmentRecordAnswers welkin.models.assessment.AssessmentRecord welkin.models.assessment.AssessmentRecords Module Contents --------------- .. py:class:: Assessment Bases: :py:obj:`welkin.models.base.Resource` dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2) .. py:method:: create(patient_id: str, encounter_id: str) .. py:method:: get(patient_id: str, encounter_id: str) Return the value for key if key is in the dictionary, else default. .. py:method:: update(patient_id: str, encounter_id: str, **kwargs) D.update([E, ]**F) -> None. Update D from dict/iterable E and F. If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k] .. py:method:: delete(patient_id: str, encounter_id: str) .. py:class:: Assessments Bases: :py:obj:`welkin.models.base.Collection` Built-in mutable sequence. If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified. .. py:attribute:: resource .. py:attribute:: iterator .. py:method:: get(patient_id: str, encounter_id: str, *args, **kwargs) .. py:class:: AssessmentRecordAnswers Bases: :py:obj:`welkin.models.base.Resource` dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2) .. py:method:: update(patient_id: str, assessment_record_id: str) D.update([E, ]**F) -> None. Update D from dict/iterable E and F. If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k] .. py:class:: AssessmentRecord Bases: :py:obj:`welkin.models.base.Resource` dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2) .. py:attribute:: subresources .. py:method:: create(patient_id: str) .. py:method:: get(patient_id: str) Return the value for key if key is in the dictionary, else default. .. py:method:: update(patient_id: str) D.update([E, ]**F) -> None. Update D from dict/iterable E and F. If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k] .. py:method:: delete(patient_id: str) .. py:class:: AssessmentRecords Bases: :py:obj:`welkin.models.base.Collection` Built-in mutable sequence. If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified. .. py:attribute:: resource .. py:attribute:: iterator .. py:method:: get(patient_id: str, **kwargs)