b.well SDK v0.20.0

b.well SDK v0.20.0 Change Log

The following changes are included in this release.

New Additions

  • Base resources (non-groups) can now be filtered by lastUpdated date.
    • This will enable SDK users to retrieve only new and updated data.
    • Detailed documentation on use of lastUpdated can be found here.
  • getMemberConnections now returns a connection status of EXPIRED
    • This allows the SDK user to differentiate a connection that has been disconnected through the use of disconnectConnection and one that has been disconnected due to an expired token.
  • CarePlan data now includes additional fields for Activity details.
    • activity.detail.status
    • activity.detail.scheduled[x]
      • scheduledTiming
      • scheduledPeriod
      • scheduledString

Bug Fixes

  • getEncounters properly filters by groupCode.

Important Changes

Import Statement Changes

  • import com.bwell.common.models.domain.healthdata.observation.Observation
    is now
    import com.bwell.common.models.domain.healthdata.common.observation.Observation
  • import com.bwell.healthdata.lab.requests.LabGroupsRequest
    is now
    import com.bwell.healthdata.healthsummary.requests.procedure.LabGroupsRequest

Schema Changes

Schema changes have been made that have resulted in type name changes. These were included in a previous post for review prior to release.

Description
Field 'AllergyIntoleranceResource.reaction' changed type from '[AllergyIntoleranceReaction]' to '[Reaction]'
Field 'CarePlanResource.activity' changed type from '[CarePlanActivity]' to '[Activity]'
Field 'ConditionResource.recorder' changed type from 'ConditionRecorder' to 'Recorder'
Field 'EncounterResource.participant' changed type from '[EncounterParticipant]' to '[Participant]'
Field 'ImmunizationResource.encounter' changed type from 'ImmunizationEncounter' to 'EncounterResource'
Field 'ImmunizationResource.reaction' changed type from '[ImmunizationReaction]' to '[Reaction]'
Field 'ImmunizationResource.protocolApplied' changed type from '[ImmunizationProtocolApplied]' to '[ProtocolApplied]'
Field 'ImmunizationResource.performer' changed type from '[ImmunizationPerformer]' to '[Performer]'
Field 'MedicationStatementResource.requester' changed type from 'PerformerActor' to 'Actor'
Field 'ObservationResource.value' changed type from 'ObservationValue' to 'Value'
Field 'ObservationResource.referenceRange' changed type from '[ObservationReferenceRange]' to '[ReferenceRange]'
Field 'ObservationResource.component' changed type from '[ObservationComponent]' to '[Component]'
Field 'ObservationResource.encounter' changed type from 'Encounter' to 'EncounterResource'
Field 'ObservationResource.performer' changed type from '[ObservationPerformer]' to '[Performer]'
Field 'ProcedureResource.performer' changed type from '[ProcedurePerformer]' to '[Performer]'
Field 'ProcedureResource.encounter' changed type from 'ProcedureEncounter' to 'EncounterResource'
Field 'LabGroup.value' changed type from 'ObservationValue' to 'Value'
Field 'LabGroup.referenceRange' changed type from '[ObservationReferenceRange]' to '[ReferenceRange]'
Field 'LabGroup.component' changed type from '[ObservationComponent]' to '[Component]'
Field 'VitalSignGroup.value' changed type from 'ObservationValue' to 'Value'
Field 'VitalSignGroup.referenceRange' changed type from '[ObservationReferenceRange]' to '[ReferenceRange]'
Field 'VitalSignGroup.component' changed type from '[ObservationComponent]' to '[Component]'