This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2 Content Examples Detailed Descriptions Mappings Profiles 6.19.8 Resource SearchParameter - Examples Example Index: General example for searching on an extension XML JSON Search parameter for an extension example XML JSON 6.19.8.1 General XML General example for searching on an extension (id = "example") Raw XML Search by resource identifier - e.g. same as the read interaction, but can return included resources </SearchParameter> JSON General example for searching on an extension Raw JSON ( Canonical ) { "resourceType": "SearchParameter", "id": "example", "text": { "status": "generated", "div": "<div>!-- Snipped for Brevity --></div>" }, "url": "http://hl7.org/fhir/SearchParameter/example", "name": "Example Search Parameter", "publisher": "HL7 FHIR Project", "contact": [ { "telecom": [ { "system": "url", "value": "http://hl7.org/fhir" } ] } ], "base": "Resource", "type": "token", "description": "Search by resource identifier - e.g. same as the read interaction, but can return included resources", "xpath": "f:id" } 6.19.8.2 Extension XML Search parameter for an extension example (id = "example-extension") Raw XML </SearchParameter> JSON Search parameter for an extension example Raw JSON ( Canonical ) { "resourceType": "SearchParameter", "id": "example-extension", "text": { "status": "generated", "div": "<div>!-- Snipped for Brevity --></div>" }, "url": "http://hl7.org/fhir/SearchParameter/example-extension", "name": "Example Search Parameter on an extension", "publisher": "HL7 FHIR Project", "contact": [ { "telecom": [ { "system": "url", "value": "http://hl7.org/fhir" } ] } ], "base": "Patient", "type": "token", "description": "Search by url for a participation agreement", "xpath": "http://example.org/fhir/StructureDefinition/participation-agreement" } Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification. © HL7.org 2011+. FHIR DSTU (v0.4.0-4902) generated on Fri, Mar 27, 2015 00:23+1100. Links: What's a DSTU? | Version History | Specification Map | Compare to DSTU1 | | Propose a change