Class NearLocationHandler

    • Constructor Detail

      • NearLocationHandler

        public NearLocationHandler()
    • Method Detail

      • createBoundingBox

        public BoundingBox createBoundingBox​(double latitude,
                                             double longitude,
                                             double distance,
                                             String unit)
                                      throws FHIRSearchException
        build a bounding box given a latitude, longitude and distance.
        WGS84 format [latitude]|[longitude]|[distance]|[units]
        Parameters:
        latitude -
        longitude -
        distance -
        unit -
        Returns:
        Throws:
        FHIRSearchException
      • createBoundingRadius

        public Bounding createBoundingRadius​(double latitude,
                                             double longitude,
                                             double distance,
                                             String unit)
                                      throws FHIRSearchException
        create bounding radius.
        Parameters:
        latitude -
        longitude -
        distance -
        unit -
        Returns:
        Throws:
        FHIRSearchException
      • setBounding

        public void setBounding​(boolean boundingRadius)
        overrides the bounding functionality.
        Parameters:
        boundingRadius -