{
  "resourceType": "SearchParameter",
  "id": "example-constraint",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    }
  ],
  "url": "http://hl7.org/fhir/SearchParameter/example-constraint",
  "name": "Exampleconstraint",
  "title": "example-constraint",
  "status": "draft",
  "experimental": true,
  "publisher": "HL7 International / FHIR Infrastructure",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description": "Search Composition Bundle",
  "code": "example-constraint",
  "aliasCode": [
    "constraint-example"
  ],
  "base": [
    "Bundle"
  ],
  "type": "reference",
  "expression": "Bundle.entry[0].resource",
  "processingMode": "normal",
  "constraint": "Bundle.type \u003d \u0027document\u0027 and Bundle.entry[0].resource is Composition",
  "target": [
    "Composition"
  ]
}