{
  "resourceType": "SearchParameter",
  "id": "cafex-bundle-composition-patient",
  "url": "http://fhir.infoway-inforoute.ca/io/cafex/SearchParameter/cafex-bundle-composition-patient",
  "name": "CAFeXBundleCompositionPatient",
  "status": "draft",
  "experimental": false,
  "date": "2024-05-09",
  "publisher": "Canada Health Infoway",
  "description": "**Search by composition using chained patient** This parameter has been separated from the chained parameter for bundle.composition.patient.identifier to allow for application of different conformance expectations in the CapabilityStatement",
  "code": "composition",
  "base": [
    "Bundle"
  ],
  "type": "reference",
  "expression": "Bundle.entry[0].resource.as(Composition).subject.where(resolve() is Patient)",
  "chain": [
    "patient"
  ]
}