Class GroupHandler
- java.lang.Object
-
- org.linuxforhealth.fhir.bulkdata.export.group.resource.GroupHandler
-
public class GroupHandler extends java.lang.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 java.util.List<Group.Member>
getPageOfMembers(int pageNum, int pageSize)
get a page of members from this handlervoid
process(java.lang.String groupId)
resolve the groupId into a set of patients and add them to this handlervoid
register(FHIRPersistence fhirPersistence, java.lang.String provider)
register the fhir persistence from the calling class.
-
-
-
Field Detail
-
fhirPersistence
protected FHIRPersistence fhirPersistence
-
-
Method Detail
-
register
public void register(FHIRPersistence fhirPersistence, java.lang.String provider)
register the fhir persistence from the calling class.- Parameters:
fhirPersistence
-provider
-
-
process
public void process(java.lang.String groupId) throws java.lang.Exception
resolve the groupId into a set of patients and add them to this handler- Parameters:
groupId
-- Throws:
java.lang.Exception
-
getPageOfMembers
public java.util.List<Group.Member> getPageOfMembers(int pageNum, int pageSize)
get a page of members from this handler- Parameters:
pageNum
-pageSize
-- Returns:
-
-