Class HttpHealthcareApiClient.FhirResourcePagesIterator

  • All Implemented Interfaces:
    java.util.Iterator<com.google.gson.JsonArray>
    Enclosing class:
    HttpHealthcareApiClient

    public static class HttpHealthcareApiClient.FhirResourcePagesIterator
    extends java.lang.Object
    implements java.util.Iterator<com.google.gson.JsonArray>
    The type FhirResourcePagesIterator for methods which return paged output.
    • Method Detail

      • ofSearch

        public static HttpHealthcareApiClient.FhirResourcePagesIterator ofSearch​(HealthcareApiClient client,
                                                                                 java.lang.String fhirStore,
                                                                                 java.lang.String resourceType,
                                                                                 @Nullable java.util.Map<java.lang.String,​java.lang.Object> parameters)
        Instantiates a new search FHIR resource pages iterator.
        Parameters:
        client - the client
        fhirStore - the Fhir store
        resourceType - the Fhir resource type to search for
        parameters - the query parameters
      • ofPatientEverything

        public static HttpHealthcareApiClient.FhirResourcePagesIterator ofPatientEverything​(HealthcareApiClient client,
                                                                                            java.lang.String resourceName,
                                                                                            @Nullable java.util.Map<java.lang.String,​java.lang.Object> parameters)
        Instantiates a new GetPatientEverything FHIR resource pages iterator.
        Parameters:
        client - the client
        resourceName - the FHIR resource name
        parameters - the filter parameters
      • hasNext

        public boolean hasNext()
                        throws java.util.NoSuchElementException
        Specified by:
        hasNext in interface java.util.Iterator<com.google.gson.JsonArray>
        Throws:
        java.util.NoSuchElementException
      • next

        public com.google.gson.JsonArray next()
                                       throws java.util.NoSuchElementException
        Specified by:
        next in interface java.util.Iterator<com.google.gson.JsonArray>
        Throws:
        java.util.NoSuchElementException