4 * FhirSearchParameterDefinition represents a field in FHIR that searches can be conducted against. It defines what fields
5 * that FHIR search field maps onto, whether that is a single OpenEMR data field or many fields (composite field). The
6 * type of field is represented in the definition.
9 * @link http://www.open-emr.org
10 * @author Stephen Nielson <stephen@nielson.org>
11 * @copyright Copyright (c) 2021 Stephen Nielson <stephen@nielson.org>
12 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
15 namespace OpenEMR\Services\Search
;
17 class FhirSearchParameterDefinition
31 private $mappedFields;
38 public function __construct($name, $type, $mappedFields, $options = array())
42 $this->mappedFields
= $mappedFields;
43 $this->options
= $options;
49 public function getMappedFields()
51 return $this->mappedFields
;
57 public function getType()
65 public function getName(): string
70 public function getOptions(): array
72 return $this->options
;