Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - see ballot notes). 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

Example CompartmentDefinition/device (XML)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: Informative

Raw XML (canonical form + also see XML Format Specification)

Compartment Definition for device

<?xml version="1.0" encoding="UTF-8"?>

<CompartmentDefinition xmlns="http://hl7.org/fhir">
  <id value="device"/> 
  <text> 
    <status value="extensions"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p> 
The following resources may be in this compartment:
</p> 

      <table class="grid">
 
        <tr> 
          <td> 
            <b> Resource</b> 
          </td> 
          <td> 
            <b> Inclusion Criteria</b> 
          </td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="account.html">Account</a> 
          </td> 
          <td> subject</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="appointment.html">Appointment</a> 
          </td> 
          <td> actor</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="appointmentresponse.html">AppointmentResponse</a> 
          </td> 
          <td> actor</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="auditevent.html">AuditEvent</a> 
          </td> 
          <td> agent</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="chargeitem.html">ChargeItem</a> 
          </td> 
          <td> enterer, performer-actor</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="claim.html">Claim</a> 
          </td> 
          <td> procedure-udi, item-udi, detail-udi, subdetail-udi</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="communication.html">Communication</a> 
          </td> 
          <td> sender, recipient</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="communicationrequest.html">CommunicationRequest</a> 
          </td> 
          <td> information-provider, recipient</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="composition.html">Composition</a> 
          </td> 
          <td> author</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="detectedissue.html">DetectedIssue</a> 
          </td> 
          <td> author</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="devicerequest.html">DeviceRequest</a> 
          </td> 
          <td> subject, requester, performer</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="diagnosticreport.html">DiagnosticReport</a> 
          </td> 
          <td> subject</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="documentmanifest.html">DocumentManifest</a> 
          </td> 
          <td> subject, author</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="documentreference.html">DocumentReference</a> 
          </td> 
          <td> subject, author</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="explanationofbenefit.html">ExplanationOfBenefit</a> 
          </td> 
          <td> procedure-udi, item-udi, detail-udi, subdetail-udi</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="flag.html">Flag</a> 
          </td> 
          <td> author</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="group.html">Group</a> 
          </td> 
          <td> member</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="invoice.html">Invoice</a> 
          </td> 
          <td> participant</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="list.html">List</a> 
          </td> 
          <td> subject, source</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="medicationadministration.html">MedicationAdministration</a> 
          </td> 
          <td> device</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="messageheader.html">MessageHeader</a> 
          </td> 
          <td> target</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="observation.html">Observation</a> 
          </td> 
          <td> subject, device</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="provenance.html">Provenance</a> 
          </td> 
          <td> agent</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="questionnaireresponse.html">QuestionnaireResponse</a> 
          </td> 
          <td> author</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="requestorchestration.html">RequestOrchestration</a> 
          </td> 
          <td> author</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="researchsubject.html">ResearchSubject</a> 
          </td> 
          <td> subject</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="riskassessment.html">RiskAssessment</a> 
          </td> 
          <td> performer</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="schedule.html">Schedule</a> 
          </td> 
          <td> actor</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="servicerequest.html">ServiceRequest</a> 
          </td> 
          <td> performer, requester</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="specimen.html">Specimen</a> 
          </td> 
          <td> subject</td> 
        </tr> 
 
        <tr> 
          <td> 
            <a href="supplyrequest.html">SupplyRequest</a> 
          </td> 
          <td> requester</td> 
        </tr> 

      </table> 

      <p> 
A resource is in this compartment if the nominated search parameter (or chain)
         refers to the patient resource that defines the compartment.
</p> 

      <p> 

</p> 

      <p> 
The following resources are never in this compartment:
</p> 

      <ul> 
 
        <li> 
          <a href="activitydefinition.html">ActivityDefinition</a> 
        </li> 
 
        <li> 
          <a href="actordefinition.html">ActorDefinition</a> 
        </li> 
 
        <li> 
          <a href="administrableproductdefinition.html">AdministrableProductDefinition</a> 
        </li> 
 
        <li> 
          <a href="adverseevent.html">AdverseEvent</a> 
        </li> 
 
        <li> 
          <a href="allergyintolerance.html">AllergyIntolerance</a> 
        </li> 
 
        <li> 
          <a href="artifactassessment.html">ArtifactAssessment</a> 
        </li> 
 
        <li> 
          <a href="basic.html">Basic</a> 
        </li> 
 
        <li> 
          <a href="binary.html">Binary</a> 
        </li> 
 
        <li> 
          <a href="biologicallyderivedproduct.html">BiologicallyDerivedProduct</a> 
        </li> 
 
        <li> 
          <a href="bodystructure.html">BodyStructure</a> 
        </li> 
 
        <li> 
          <a href="bundle.html">Bundle</a> 
        </li> 
 
        <li> 
          <a href="capabilitystatement.html">CapabilityStatement</a> 
        </li> 
 
        <li> 
          <a href="careplan.html">CarePlan</a> 
        </li> 
 
        <li> 
          <a href="careteam.html">CareTeam</a> 
        </li> 
 
        <li> 
          <a href="chargeitemdefinition.html">ChargeItemDefinition</a> 
        </li> 
 
        <li> 
          <a href="citation.html">Citation</a> 
        </li> 
 
        <li> 
          <a href="claimresponse.html">ClaimResponse</a> 
        </li> 
 
        <li> 
          <a href="clinicalimpression.html">ClinicalImpression</a> 
        </li> 
 
        <li> 
          <a href="clinicalusedefinition.html">ClinicalUseDefinition</a> 
        </li> 
 
        <li> 
          <a href="codesystem.html">CodeSystem</a> 
        </li> 
 
        <li> 
          <a href="compartmentdefinition.html">CompartmentDefinition</a> 
        </li> 
 
        <li> 
          <a href="conceptmap.html">ConceptMap</a> 
        </li> 
 
        <li> 
          <a href="condition.html">Condition</a> 
        </li> 
 
        <li> 
          <a href="conditiondefinition.html">ConditionDefinition</a> 
        </li> 
 
        <li> 
          <a href="consent.html">Consent</a> 
        </li> 
 
        <li> 
          <a href="contract.html">Contract</a> 
        </li> 
 
        <li> 
          <a href="coverage.html">Coverage</a> 
        </li> 
 
        <li> 
          <a href="coverageeligibilityrequest.html">CoverageEligibilityRequest</a> 
        </li> 
 
        <li> 
          <a href="coverageeligibilityresponse.html">CoverageEligibilityResponse</a> 
        </li> 
 
        <li> 
          <a href="device.html">Device</a> 
        </li> 
 
        <li> 
          <a href="devicedefinition.html">DeviceDefinition</a> 
        </li> 
 
        <li> 
          <a href="devicedispense.html">DeviceDispense</a> 
        </li> 
 
        <li> 
          <a href="devicemetric.html">DeviceMetric</a> 
        </li> 
 
        <li> 
          <a href="deviceusage.html">DeviceUsage</a> 
        </li> 
 
        <li> 
          <a href="encounter.html">Encounter</a> 
        </li> 
 
        <li> 
          <a href="endpoint.html">Endpoint</a> 
        </li> 
 
        <li> 
          <a href="enrollmentrequest.html">EnrollmentRequest</a> 
        </li> 
 
        <li> 
          <a href="enrollmentresponse.html">EnrollmentResponse</a> 
        </li> 
 
        <li> 
          <a href="episodeofcare.html">EpisodeOfCare</a> 
        </li> 
 
        <li> 
          <a href="eventdefinition.html">EventDefinition</a> 
        </li> 
 
        <li> 
          <a href="evidence.html">Evidence</a> 
        </li> 
 
        <li> 
          <a href="evidencereport.html">EvidenceReport</a> 
        </li> 
 
        <li> 
          <a href="evidencevariable.html">EvidenceVariable</a> 
        </li> 
 
        <li> 
          <a href="examplescenario.html">ExampleScenario</a> 
        </li> 
 
        <li> 
          <a href="familymemberhistory.html">FamilyMemberHistory</a> 
        </li> 
 
        <li> 
          <a href="formularyitem.html">FormularyItem</a> 
        </li> 
 
        <li> 
          <a href="genomicstudy.html">GenomicStudy</a> 
        </li> 
 
        <li> 
          <a href="goal.html">Goal</a> 
        </li> 
 
        <li> 
          <a href="graphdefinition.html">GraphDefinition</a> 
        </li> 
 
        <li> 
          <a href="guidanceresponse.html">GuidanceResponse</a> 
        </li> 
 
        <li> 
          <a href="healthcareservice.html">HealthcareService</a> 
        </li> 
 
        <li> 
          <a href="imagingselection.html">ImagingSelection</a> 
        </li> 
 
        <li> 
          <a href="imagingstudy.html">ImagingStudy</a> 
        </li> 
 
        <li> 
          <a href="immunization.html">Immunization</a> 
        </li> 
 
        <li> 
          <a href="immunizationevaluation.html">ImmunizationEvaluation</a> 
        </li> 
 
        <li> 
          <a href="immunizationrecommendation.html">ImmunizationRecommendation</a> 
        </li> 
 
        <li> 
          <a href="implementationguide.html">ImplementationGuide</a> 
        </li> 
 
        <li> 
          <a href="ingredient.html">Ingredient</a> 
        </li> 
 
        <li> 
          <a href="insuranceplan.html">InsurancePlan</a> 
        </li> 
 
        <li> 
          <a href="inventoryreport.html">InventoryReport</a> 
        </li> 
 
        <li> 
          <a href="library.html">Library</a> 
        </li> 
 
        <li> 
          <a href="linkage.html">Linkage</a> 
        </li> 
 
        <li> 
          <a href="location.html">Location</a> 
        </li> 
 
        <li> 
          <a href="manufactureditemdefinition.html">ManufacturedItemDefinition</a> 
        </li> 
 
        <li> 
          <a href="measure.html">Measure</a> 
        </li> 
 
        <li> 
          <a href="measurereport.html">MeasureReport</a> 
        </li> 
 
        <li> 
          <a href="medication.html">Medication</a> 
        </li> 
 
        <li> 
          <a href="medicationdispense.html">MedicationDispense</a> 
        </li> 
 
        <li> 
          <a href="medicationknowledge.html">MedicationKnowledge</a> 
        </li> 
 
        <li> 
          <a href="medicationrequest.html">MedicationRequest</a> 
        </li> 
 
        <li> 
          <a href="medicationusage.html">MedicationUsage</a> 
        </li> 
 
        <li> 
          <a href="medicinalproductdefinition.html">MedicinalProductDefinition</a> 
        </li> 
 
        <li> 
          <a href="messagedefinition.html">MessageDefinition</a> 
        </li> 
 
        <li> 
          <a href="molecularsequence.html">MolecularSequence</a> 
        </li> 
 
        <li> 
          <a href="namingsystem.html">NamingSystem</a> 
        </li> 
 
        <li> 
          <a href="nutritionintake.html">NutritionIntake</a> 
        </li> 
 
        <li> 
          <a href="nutritionorder.html">NutritionOrder</a> 
        </li> 
 
        <li> 
          <a href="nutritionproduct.html">NutritionProduct</a> 
        </li> 
 
        <li> 
          <a href="observationdefinition.html">ObservationDefinition</a> 
        </li> 
 
        <li> 
          <a href="operationdefinition.html">OperationDefinition</a> 
        </li> 
 
        <li> 
          <a href="operationoutcome.html">OperationOutcome</a> 
        </li> 
 
        <li> 
          <a href="organization.html">Organization</a> 
        </li> 
 
        <li> 
          <a href="organizationaffiliation.html">OrganizationAffiliation</a> 
        </li> 
 
        <li> 
          <a href="packagedproductdefinition.html">PackagedProductDefinition</a> 
        </li> 
 
        <li> 
          <a href="patient.html">Patient</a> 
        </li> 
 
        <li> 
          <a href="paymentnotice.html">PaymentNotice</a> 
        </li> 
 
        <li> 
          <a href="paymentreconciliation.html">PaymentReconciliation</a> 
        </li> 
 
        <li> 
          <a href="permission.html">Permission</a> 
        </li> 
 
        <li> 
          <a href="person.html">Person</a> 
        </li> 
 
        <li> 
          <a href="plandefinition.html">PlanDefinition</a> 
        </li> 
 
        <li> 
          <a href="practitioner.html">Practitioner</a> 
        </li> 
 
        <li> 
          <a href="practitionerrole.html">PractitionerRole</a> 
        </li> 
 
        <li> 
          <a href="procedure.html">Procedure</a> 
        </li> 
 
        <li> 
          <a href="questionnaire.html">Questionnaire</a> 
        </li> 
 
        <li> 
          <a href="regulatedauthorization.html">RegulatedAuthorization</a> 
        </li> 
 
        <li> 
          <a href="relatedperson.html">RelatedPerson</a> 
        </li> 
 
        <li> 
          <a href="requirements.html">Requirements</a> 
        </li> 
 
        <li> 
          <a href="researchstudy.html">ResearchStudy</a> 
        </li> 
 
        <li> 
          <a href="searchparameter.html">SearchParameter</a> 
        </li> 
 
        <li> 
          <a href="slot.html">Slot</a> 
        </li> 
 
        <li> 
          <a href="specimendefinition.html">SpecimenDefinition</a> 
        </li> 
 
        <li> 
          <a href="structuredefinition.html">StructureDefinition</a> 
        </li> 
 
        <li> 
          <a href="structuremap.html">StructureMap</a> 
        </li> 
 
        <li> 
          <a href="subscription.html">Subscription</a> 
        </li> 
 
        <li> 
          <a href="subscriptionstatus.html">SubscriptionStatus</a> 
        </li> 
 
        <li> 
          <a href="subscriptiontopic.html">SubscriptionTopic</a> 
        </li> 
 
        <li> 
          <a href="substance.html">Substance</a> 
        </li> 
 
        <li> 
          <a href="substancedefinition.html">SubstanceDefinition</a> 
        </li> 
 
        <li> 
          <a href="substancenucleicacid.html">SubstanceNucleicAcid</a> 
        </li> 
 
        <li> 
          <a href="substancepolymer.html">SubstancePolymer</a> 
        </li> 
 
        <li> 
          <a href="substanceprotein.html">SubstanceProtein</a> 
        </li> 
 
        <li> 
          <a href="substancereferenceinformation.html">SubstanceReferenceInformation</a> 
        </li> 
 
        <li> 
          <a href="substancesourcematerial.html">SubstanceSourceMaterial</a> 
        </li> 
 
        <li> 
          <a href="supplydelivery.html">SupplyDelivery</a> 
        </li> 
 
        <li> 
          <a href="task.html">Task</a> 
        </li> 
 
        <li> 
          <a href="terminologycapabilities.html">TerminologyCapabilities</a> 
        </li> 
 
        <li> 
          <a href="testreport.html">TestReport</a> 
        </li> 
 
        <li> 
          <a href="testscript.html">TestScript</a> 
        </li> 
 
        <li> 
          <a href="transport.html">Transport</a> 
        </li> 
 
        <li> 
          <a href="valueset.html">ValueSet</a> 
        </li> 
 
        <li> 
          <a href="verificationresult.html">VerificationResult</a> 
        </li> 
 
        <li> 
          <a href="visionprescription.html">VisionPrescription</a> 
        </li> 

      </ul> 
    </div> 
  </text> 
  <url value="http://hl7.org/fhir/CompartmentDefinition/device"/> 
  <version value="5.0.0-ballot"/> 
  <name value="Base FHIR compartment definition for Device"/> 
  <status value="draft"/> 
  <experimental value="true"/> 
  <date value="2022-09-10T04:52:37+10:00"/> 
  <publisher value="FHIR Project Team"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://hl7.org/fhir"/> 
    </telecom> 
  </contact> 
  <description value="There is an instance of the device compartment for each Device resource, and the
   identity of the compartment is the same as the Device. The set of resources associated
   with a particular device"/> 
  <code value="Device"/> 
  <search value="true"/> 
  <resource> 
    <code value="Account"/> 
    <param value="subject"/> 
  </resource> 
  <resource> 
    <code value="ActivityDefinition"/> 
  </resource> 
  <resource> 
    <code value="ActorDefinition"/> 
  </resource> 
  <resource> 
    <code value="AdministrableProductDefinition"/> 
  </resource> 
  <resource> 
    <code value="AdverseEvent"/> 
  </resource> 
  <resource> 
    <code value="AllergyIntolerance"/> 
  </resource> 
  <resource> 
    <code value="Appointment"/> 
    <param value="actor"/> 
  </resource> 
  <resource> 
    <code value="AppointmentResponse"/> 
    <param value="actor"/> 
  </resource> 
  <resource> 
    <code value="ArtifactAssessment"/> 
  </resource> 
  <resource> 
    <code value="AuditEvent"/> 
    <param value="agent"/> 
  </resource> 
  <resource> 
    <code value="Basic"/> 
  </resource> 
  <resource> 
    <code value="Binary"/> 
  </resource> 
  <resource> 
    <code value="BiologicallyDerivedProduct"/> 
  </resource> 
  <resource> 
    <code value="BodyStructure"/> 
  </resource> 
  <resource> 
    <code value="Bundle"/> 
  </resource> 
  <resource> 
    <code value="CapabilityStatement"/> 
  </resource> 
  <resource> 
    <code value="CarePlan"/> 
  </resource> 
  <resource> 
    <code value="CareTeam"/> 
  </resource> 
  <resource> 
    <code value="ChargeItem"/> 
    <param value="enterer"/> 
    <param value="performer-actor"/> 
  </resource> 
  <resource> 
    <code value="ChargeItemDefinition"/> 
  </resource> 
  <resource> 
    <code value="Citation"/> 
  </resource> 
  <resource> 
    <code value="Claim"/> 
    <param value="procedure-udi"/> 
    <param value="item-udi"/> 
    <param value="detail-udi"/> 
    <param value="subdetail-udi"/> 
  </resource> 
  <resource> 
    <code value="ClaimResponse"/> 
  </resource> 
  <resource> 
    <code value="ClinicalImpression"/> 
  </resource> 
  <resource> 
    <code value="ClinicalUseDefinition"/> 
  </resource> 
  <resource> 
    <code value="CodeSystem"/> 
  </resource> 
  <resource> 
    <code value="Communication"/> 
    <param value="sender"/> 
    <param value="recipient"/> 
  </resource> 
  <resource> 
    <code value="CommunicationRequest"/> 
    <param value="information-provider"/> 
    <param value="recipient"/> 
  </resource> 
  <resource> 
    <code value="CompartmentDefinition"/> 
  </resource> 
  <resource> 
    <code value="Composition"/> 
    <param value="author"/> 
  </resource> 
  <resource> 
    <code value="ConceptMap"/> 
  </resource> 
  <resource> 
    <code value="Condition"/> 
  </resource> 
  <resource> 
    <code value="ConditionDefinition"/> 
  </resource> 
  <resource> 
    <code value="Consent"/> 
  </resource> 
  <resource> 
    <code value="Contract"/> 
  </resource> 
  <resource> 
    <code value="Coverage"/> 
  </resource> 
  <resource> 
    <code value="CoverageEligibilityRequest"/> 
  </resource> 
  <resource> 
    <code value="CoverageEligibilityResponse"/> 
  </resource> 
  <resource> 
    <code value="DetectedIssue"/> 
    <param value="author"/> 
  </resource> 
  <resource> 
    <code value="Device"/> 
  </resource> 
  <resource> 
    <code value="DeviceDefinition"/> 
  </resource> 
  <resource> 
    <code value="DeviceDispense"/> 
  </resource> 
  <resource> 
    <code value="DeviceMetric"/> 
  </resource> 
  <resource> 
    <code value="DeviceRequest"/> 
    <param value="subject"/> 
    <param value="requester"/> 
    <param value="performer"/> 
  </resource> 
  <resource> 
    <code value="DeviceUsage"/> 
  </resource> 
  <resource> 
    <code value="DiagnosticReport"/> 
    <param value="subject"/> 
  </resource> 
  <resource> 
    <code value="DocumentManifest"/> 
    <param value="subject"/> 
    <param value="author"/> 
  </resource> 
  <resource> 
    <code value="DocumentReference"/> 
    <param value="subject"/> 
    <param value="author"/> 
  </resource> 
  <resource> 
    <code value="Encounter"/> 
  </resource> 
  <resource> 
    <code value="Endpoint"/> 
  </resource> 
  <resource> 
    <code value="EnrollmentRequest"/> 
  </resource> 
  <resource> 
    <code value="EnrollmentResponse"/> 
  </resource> 
  <resource> 
    <code value="EpisodeOfCare"/> 
  </resource> 
  <resource> 
    <code value="EventDefinition"/> 
  </resource> 
  <resource> 
    <code value="Evidence"/> 
  </resource> 
  <resource> 
    <code value="EvidenceReport"/> 
  </resource> 
  <resource> 
    <code value="EvidenceVariable"/> 
  </resource> 
  <resource> 
    <code value="ExampleScenario"/> 
  </resource> 
  <resource> 
    <code value="ExplanationOfBenefit"/> 
    <param value="procedure-udi"/> 
    <param value="item-udi"/> 
    <param value="detail-udi"/> 
    <param value="subdetail-udi"/> 
  </resource> 
  <resource> 
    <code value="FamilyMemberHistory"/> 
  </resource> 
  <resource> 
    <code value="Flag"/> 
    <param value="author"/> 
  </resource> 
  <resource> 
    <code value="FormularyItem"/> 
  </resource> 
  <resource> 
    <code value="GenomicStudy"/> 
  </resource> 
  <resource> 
    <code value="Goal"/> 
  </resource> 
  <resource> 
    <code value="GraphDefinition"/> 
  </resource> 
  <resource> 
    <code value="Group"/> 
    <param value="member"/> 
  </resource> 
  <resource> 
    <code value="GuidanceResponse"/> 
  </resource> 
  <resource> 
    <code value="HealthcareService"/> 
  </resource> 
  <resource> 
    <code value="ImagingSelection"/> 
  </resource> 
  <resource> 
    <code value="ImagingStudy"/> 
  </resource> 
  <resource> 
    <code value="Immunization"/> 
  </resource> 
  <resource> 
    <code value="ImmunizationEvaluation"/> 
  </resource> 
  <resource> 
    <code value="ImmunizationRecommendation"/> 
  </resource> 
  <resource> 
    <code value="ImplementationGuide"/> 
  </resource> 
  <resource> 
    <code value="Ingredient"/> 
  </resource> 
  <resource> 
    <code value="InsurancePlan"/> 
  </resource> 
  <resource> 
    <code value="InventoryReport"/> 
  </resource> 
  <resource> 
    <code value="Invoice"/> 
    <param value="participant"/> 
  </resource> 
  <resource> 
    <code value="Library"/> 
  </resource> 
  <resource> 
    <code value="Linkage"/> 
  </resource> 
  <resource> 
    <code value="List"/> 
    <param value="subject"/> 
    <param value="source"/> 
  </resource> 
  <resource> 
    <code value="Location"/> 
  </resource> 
  <resource> 
    <code value="ManufacturedItemDefinition"/> 
  </resource> 
  <resource> 
    <code value="Measure"/> 
  </resource> 
  <resource> 
    <code value="MeasureReport"/> 
  </resource> 
  <resource> 
    <code value="Medication"/> 
  </resource> 
  <resource> 
    <code value="MedicationAdministration"/> 
    <param value="device"/> 
  </resource> 
  <resource> 
    <code value="MedicationDispense"/> 
  </resource> 
  <resource> 
    <code value="MedicationKnowledge"/> 
  </resource> 
  <resource> 
    <code value="MedicationRequest"/> 
  </resource> 
  <resource> 
    <code value="MedicationUsage"/> 
  </resource> 
  <resource> 
    <code value="MedicinalProductDefinition"/> 
  </resource> 
  <resource> 
    <code value="MessageDefinition"/> 
  </resource> 
  <resource> 
    <code value="MessageHeader"/> 
    <param value="target"/> 
  </resource> 
  <resource> 
    <code value="MolecularSequence"/> 
  </resource> 
  <resource> 
    <code value="NamingSystem"/> 
  </resource> 
  <resource> 
    <code value="NutritionIntake"/> 
  </resource> 
  <resource> 
    <code value="NutritionOrder"/> 
  </resource> 
  <resource> 
    <code value="NutritionProduct"/> 
  </resource> 
  <resource> 
    <code value="Observation"/> 
    <param value="subject"/> 
    <param value="device"/> 
  </resource> 
  <resource> 
    <code value="ObservationDefinition"/> 
  </resource> 
  <resource> 
    <code value="OperationDefinition"/> 
  </resource> 
  <resource> 
    <code value="OperationOutcome"/> 
  </resource> 
  <resource> 
    <code value="Organization"/> 
  </resource> 
  <resource> 
    <code value="OrganizationAffiliation"/> 
  </resource> 
  <resource> 
    <code value="PackagedProductDefinition"/> 
  </resource> 
  <resource> 
    <code value="Patient"/> 
  </resource> 
  <resource> 
    <code value="PaymentNotice"/> 
  </resource> 
  <resource> 
    <code value="PaymentReconciliation"/> 
  </resource> 
  <resource> 
    <code value="Permission"/> 
  </resource> 
  <resource> 
    <code value="Person"/> 
  </resource> 
  <resource> 
    <code value="PlanDefinition"/> 
  </resource> 
  <resource> 
    <code value="Practitioner"/> 
  </resource> 
  <resource> 
    <code value="PractitionerRole"/> 
  </resource> 
  <resource> 
    <code value="Procedure"/> 
  </resource> 
  <resource> 
    <code value="Provenance"/> 
    <param value="agent"/> 
  </resource> 
  <resource> 
    <code value="Questionnaire"/> 
  </resource> 
  <resource> 
    <code value="QuestionnaireResponse"/> 
    <param value="author"/> 
  </resource> 
  <resource> 
    <code value="RegulatedAuthorization"/> 
  </resource> 
  <resource> 
    <code value="RelatedPerson"/> 
  </resource> 
  <resource> 
    <code value="RequestOrchestration"/> 
    <param value="author"/> 
  </resource> 
  <resource> 
    <code value="Requirements"/> 
  </resource> 
  <resource> 
    <code value="ResearchStudy"/> 
  </resource> 
  <resource> 
    <code value="ResearchSubject"/> 
    <param value="subject"/> 
  </resource> 
  <resource> 
    <code value="RiskAssessment"/> 
    <param value="performer"/> 
  </resource> 
  <resource> 
    <code value="Schedule"/> 
    <param value="actor"/> 
  </resource> 
  <resource> 
    <code value="SearchParameter"/> 
  </resource> 
  <resource> 
    <code value="ServiceRequest"/> 
    <param value="performer"/> 
    <param value="requester"/> 
  </resource> 
  <resource> 
    <code value="Slot"/> 
  </resource> 
  <resource> 
    <code value="Specimen"/> 
    <param value="subject"/> 
  </resource> 
  <resource> 
    <code value="SpecimenDefinition"/> 
  </resource> 
  <resource> 
    <code value="StructureDefinition"/> 
  </resource> 
  <resource> 
    <code value="StructureMap"/> 
  </resource> 
  <resource> 
    <code value="Subscription"/> 
  </resource> 
  <resource> 
    <code value="SubscriptionStatus"/> 
  </resource> 
  <resource> 
    <code value="SubscriptionTopic"/> 
  </resource> 
  <resource> 
    <code value="Substance"/> 
  </resource> 
  <resource> 
    <code value="SubstanceDefinition"/> 
  </resource> 
  <resource> 
    <code value="SubstanceNucleicAcid"/> 
  </resource> 
  <resource> 
    <code value="SubstancePolymer"/> 
  </resource> 
  <resource> 
    <code value="SubstanceProtein"/> 
  </resource> 
  <resource> 
    <code value="SubstanceReferenceInformation"/> 
  </resource> 
  <resource> 
    <code value="SubstanceSourceMaterial"/> 
  </resource> 
  <resource> 
    <code value="SupplyDelivery"/> 
  </resource> 
  <resource> 
    <code value="SupplyRequest"/> 
    <param value="requester"/> 
  </resource> 
  <resource> 
    <code value="Task"/> 
  </resource> 
  <resource> 
    <code value="TerminologyCapabilities"/> 
  </resource> 
  <resource> 
    <code value="TestReport"/> 
  </resource> 
  <resource> 
    <code value="TestScript"/> 
  </resource> 
  <resource> 
    <code value="Transport"/> 
  </resource> 
  <resource> 
    <code value="ValueSet"/> 
  </resource> 
  <resource> 
    <code value="VerificationResult"/> 
  </resource> 
  <resource> 
    <code value="VisionPrescription"/> 
  </resource> 
</CompartmentDefinition> 

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.