Class GroupHandler
- java.lang.Object
-
- com.ibm.fhir.bulkdata.export.group.resource.GroupHandler
-
public class GroupHandler extends Object
GroupHandler handles each Page of Members in a Group (enabling paging of the members of the Group)
-
-
Field Summary
Fields Modifier and Type Field Description protected FHIRPersistence
fhirPersistence
-
Constructor Summary
Constructors Constructor Description GroupHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Group.Member>
getPageOfMembers(int pageNum, int pageSize)
get a page of members from this handlervoid
process(String groupId)
resolve the groupId into a set of patients and add them to this handlervoid
register(FHIRPersistence fhirPersistence, String provider)
register the fhir persistence from the calling class.
-
-
-
Field Detail
-
fhirPersistence
protected FHIRPersistence fhirPersistence
-
-
Method Detail
-
register
public void register(FHIRPersistence fhirPersistence, String provider)
register the fhir persistence from the calling class.- Parameters:
fhirPersistence
-provider
-
-
process
public void process(String groupId) throws Exception
resolve the groupId into a set of patients and add them to this handler- Parameters:
groupId
-- Throws:
Exception
-
getPageOfMembers
public List<Group.Member> getPageOfMembers(int pageNum, int pageSize)
get a page of members from this handler- Parameters:
pageNum
-pageSize
-- Returns:
-
-