4 * SearchFieldType represents the different parameter types that search parameters can be. Each parameter
5 * type has a different way they should be handled per the FHIR search specification.
6 * @see https://www.hl7.org/fhir/search.html for more information
8 * @link http://www.open-emr.org
9 * @author Stephen Nielson <stephen@nielson.org>
10 * @copyright Copyright (c) 2021 Stephen Nielson <stephen@nielson.org>
11 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
14 namespace OpenEMR\Services\Search
;
19 * @see https://www.hl7.org/fhir/search.html#table
21 const TOKEN
= 'token';
24 const STRING = 'string';
25 const NUMBER
= 'number';
26 const COMPOSITE
= "composite";
28 // we added datetime so we could better distinguish between types of dates here.
29 const DATETIME
= 'datetime';
31 const REFERENCE
= 'reference';