/// <summary>
 /// Creates a patient scorecard item from its JSON representation
 /// </summary>
 /// <param name="proKnow">Root object for interfacing with the ProKnow API</param>
 /// <param name="workspaceId">The workspace ProKnow ID</param>
 /// <param name="patientId">The patient ProKnow ID</param>
 /// <param name="patientScorecards">Interacts with scorecards for an patient in a ProKnow organization</param>
 /// <param name="json">JSON representation of the patient scorecard item</param>
 internal PatientScorecardItem(ProKnowApi proKnow, string workspaceId, string patientId,
                               PatientScorecards patientScorecards, string json) : base(proKnow, json)
 {
     _workspaceId       = workspaceId;
     _patientId         = patientId;
     _patientScorecards = patientScorecards;
 }
 /// <summary>
 /// Finishes initialization of object after deserialization from JSON
 /// </summary>
 /// <param name="proKnow">Root object for interfacing with the ProKnow API</param>
 /// <param name="workspaceId">The workspace ProKnow ID</param>
 /// <param name="patientId">The patient ProKnow ID</param>
 /// <param name="patientScorecards">Interacts with scorecards for a patient in a ProKnow organization</param>
 internal void PostProcessDeserialization(ProKnowApi proKnow, string workspaceId, string patientId,
                                          PatientScorecards patientScorecards)
 {
     _proKnow           = proKnow;
     _workspaceId       = workspaceId;
     _patientId         = patientId;
     _patientScorecards = patientScorecards;
 }
 /// <summary>
 /// Creates an patient scorecard item
 /// </summary>
 /// <param name="proKnow">Root object for interfacing with the ProKnow API</param>
 /// <param name="workspaceId">The workspace ProKnow ID</param>
 /// <param name="patientId">The patient ProKnow ID</param>
 /// <param name="patientScorecards">Interacts with scorecards for an patient in a ProKnow organization</param>
 /// <param name="id">The patient scorecard ProKnow ID</param>
 /// <param name="name">The name</param>
 /// <param name="computedMetrics">The computed metrics</param>
 /// <param name="customMetrics">The custom metrics</param>
 internal PatientScorecardItem(ProKnowApi proKnow, string workspaceId, string patientId,
                               PatientScorecards patientScorecards, string id, string name, IList <ComputedMetric> computedMetrics,
                               IList <CustomMetricItem> customMetrics) : base(proKnow, id, name, computedMetrics, customMetrics)
 {
     _workspaceId       = workspaceId;
     _patientId         = patientId;
     _patientScorecards = patientScorecards;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Finishes initialization of object after deserialization from JSON
 /// </summary>
 /// <param name="proKnow">Root object for interfacing with the ProKnow API</param>
 /// <param name="patientScorecards">Interacts with scorecards for a patient in a ProKnow organization</param>
 internal void PostProcessDeserialization(ProKnowApi proKnow, PatientScorecards patientScorecards)
 {
     _proKnow           = proKnow;
     _patientScorecards = patientScorecards;
 }