code: @GET
      @Path("/{id}/{compartment}")
      public Response findCompartment(@PathParam("id") final String id, @PathParam("compartment") final String compartment)
              throws IOException {
          final Builder theRequest = getResourceRequest(RequestTypeEnum.GET, RestOperationTypeEnum.SEARCH_TYPE).id(id).compartment(
                  compartment);
          return execute(theRequest, compartment);
      }
docs: Compartment Based Access
  
  @param id the resource to which the compartment belongs
  @param compartment the compartment
  @return the repsonse
  @see <a href="https://www.hl7.org/fhir/http.html#search">https://www.hl7.org/fhir/http.html#search</a>
  @see <a href="https://www.hl7.org/fhir/compartments.html#compartment">https://www.hl7.org/fhir/compartments.html#compartment</a>