{
  "resourceType" : "SearchParameter",
  "id" : "organizationaffiliation-primary-organization",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: SearchParameter organizationaffiliation-primary-organization</b></p><a name=\"organizationaffiliation-primary-organization\"> </a><a name=\"hcorganizationaffiliation-primary-organization\"> </a><h2>OrganizationAffiliationPrimaryOrganizationSearchParameter</h2><p>Parameter <code>primary-organization</code>:<code>reference</code></p><div><p>Select OrganizationAffiliation with the specified primary organization</p>\n</div><table class=\"grid\"><tr><td>Resource</td><td><a href=\"http://hl7.org/fhir/R4/organizationaffiliation.html\">OrganizationAffiliation</a></td></tr><tr><td>Expression</td><td><code>OrganizationAffiliation.organization</code></td></tr><tr><td>Processing Mode</td><td>Normal</td></tr><tr><td>Target Resources</td><td><a href=\"http://hl7.org/fhir/R4/organization.html\">Organization</a></td></tr><tr><td>Multiples</td><td><ul><li>multipleAnd: It's up to the server whether the parameter may repeat in order to specify multiple values that must all be true</li><li>multipleOr: It's up to the server whether the parameter can have multiple values (separated by comma) where at least one must be true</li></ul></td></tr><tr><td>Modifiers</td><td>Allowed: above, below</td></tr><tr><td>Chains</td><td>Allowed: identifier, name, address, partof, type</td></tr></table></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "pa"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 4,
    "_valueInteger" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/us/ndh/ImplementationGuide/hl7.fhir.us.ndh"
      }]
    }
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use",
    "_valueCode" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/us/ndh/ImplementationGuide/hl7.fhir.us.ndh"
      }]
    }
  }],
  "url" : "http://hl7.org/fhir/us/ndh/SearchParameter/organizationaffiliation-primary-organization",
  "version" : "2.0.0-current",
  "name" : "OrganizationAffiliationPrimaryOrganizationSearchParameter",
  "derivedFrom" : "http://hl7.org/fhir/SearchParameter/OrganizationAffiliation-primary-organization",
  "status" : "active",
  "date" : "2026-03-30T14:03:58+00:00",
  "publisher" : "HL7 International / Patient Administration",
  "contact" : [{
    "name" : "HL7 International / Patient Administration",
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/pafm"
    },
    {
      "system" : "email",
      "value" : "pafm@lists.hl7.org"
    }]
  }],
  "description" : "Select OrganizationAffiliation with the specified primary organization",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "urn:iso:std:iso:3166",
      "code" : "US",
      "display" : "United States of America"
    }]
  }],
  "code" : "primary-organization",
  "base" : ["OrganizationAffiliation"],
  "type" : "reference",
  "expression" : "OrganizationAffiliation.organization",
  "xpathUsage" : "normal",
  "target" : ["Organization"],
  "modifier" : ["above",
  "below"],
  "chain" : ["identifier",
  "name",
  "address",
  "partof",
  "type"]
}