Closed mberg closed 11 years ago
+1 for filtering. To keep it simple for 1.1 I would probably enforce some basic rules. Here are some thoughts:
For example: ?properties.services=OBG&properties.services=ER would filter all facilities offering OBG OR ER, where as ?identifiers.id=2030&identifiers.agency=MOH would filter facilities with an identifier 2030 AND identifier assigned by MOH.
Pattern matches can perhaps be controlled by a control parameter of ?matching=exact or ?matching=pattern with the default being "exact". This way you can roll pattern matching into 1.2 and it would still be backwards compatible with 1.1 & 1.0. Also this leads a future pathway to other matching algorithms such as ?matching=soundex or ?matching=geobounds
implementing justin's suggestions
For now we only support exact matches.
Not a huge fun of properties. 'namespaces' but OK with it to help consensus
Incorporated in 1.1 docs. Close for now.
Filtering Facilities
Properties apply to all core and user defined facility properties