ConformanceThis is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
| Responsible Owner: FHIR Infrastructure Work Group | Standards 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="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <p class="res-header-id"> <b> Generated Narrative: CompartmentDefinition device</b> </p> <a name="device"> </a> <a name="hcdevice"> </a> <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="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="device.html">DEVICE</a> </td> <td> {def}</td> </tr> <tr> <td> <a href="devicealert.html">DEVICEALERT</a> </td> <td> subject, device, annunciator-device, acknowledged-by</td> </tr> <tr> <td> <a href="deviceassociation.html">DEVICEASSOCIATION</a> </td> <td> device, focus</td> </tr> <tr> <td> <a href="devicemetric.html">DEVICEMETRIC</a> </td> <td> device</td> </tr> <tr> <td> <a href="devicerequest.html">DEVICEREQUEST</a> </td> <td> subject, requester, performer, device</td> </tr> <tr> <td> <a href="diagnosticreport.html">DIAGNOSTICREPORT</a> </td> <td> subject</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="list.html">LIST</a> </td> <td> subject, source</td> </tr> <tr> <td> <a href="messageheader.html">MESSAGEHEADER</a> </td> <td> receiver</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> </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="claimresponse.html">CLAIMRESPONSE</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="consent.html">CONSENT</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="devicedefinition.html">DEVICEDEFINITION</a> </li> <li> <a href="encounter.html">ENCOUNTER</a> </li> <li> <a href="endpoint.html">ENDPOINT</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="evidencevariable.html">EVIDENCEVARIABLE</a> </li> <li> <a href="examplescenario.html">EXAMPLESCENARIO</a> </li> <li> <a href="familymemberhistory.html">FAMILYMEMBERHISTORY</a> </li> <li> <a href="goal.html">GOAL</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="implementationguide.html">IMPLEMENTATIONGUIDE</a> </li> <li> <a href="ingredient.html">INGREDIENT</a> </li> <li> <a href="library.html">LIBRARY</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="medicationadministration.html">MEDICATIONADMINISTRATION</a> </li> <li> <a href="medicationdispense.html">MEDICATIONDISPENSE</a> </li> <li> <a href="medicationrequest.html">MEDICATIONREQUEST</a> </li> <li> <a href="medicationstatement.html">MEDICATIONSTATEMENT</a> </li> <li> <a href="medicinalproductdefinition.html">MEDICINALPRODUCTDEFINITION</a> </li> <li> <a href="messagedefinition.html">MESSAGEDEFINITION</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="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="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="task.html">TASK</a> </li> <li> <a href="terminologycapabilities.html">TERMINOLOGYCAPABILITIES</a> </li> <li> <a href="valueset.html">VALUESET</a> </li> <li> <a href="visionprescription.html">VISIONPRESCRIPTION</a> </li> </ul> </div> </text> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"> <valueCode value="fhir"/> </extension> <url value="http://hl7.org/fhir/CompartmentDefinition/device"/> <version value="6.0.0-snapshot1"/> <name value="Base FHIR compartment definition for Device"/> <status value="draft"/> <experimental value="false"/> <date value="2026-09-23T23:22:21+00:00"/> <publisher value="HL7 International / FHIR Infrastructure"/> <contact> <telecom> <system value="url"/> <value value="http://www.hl7.org/Special/committees/fiwg"/> </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"/> <startParam value="period"/> <endParam value="period"/> </resource> <resource> <code value="ActivityDefinition"/> </resource> <resource> <code value="ActorDefinition"/> </resource> <resource> <code value="AdministrableProductDefinition"/> </resource> <resource> <code value="AdverseEvent"/> <startParam value="occurrence"/> <endParam value="occurrence"/> </resource> <resource> <code value="AllergyIntolerance"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="Appointment"/> <param value="actor"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="AppointmentResponse"/> <param value="actor"/> </resource> <resource> <code value="ArtifactAssessment"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="AuditEvent"/> <param value="agent"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="Basic"/> <startParam value="created"/> <endParam value="created"/> </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"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="CareTeam"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="Claim"/> <param value="procedure-udi"/> <param value="item-udi"/> <param value="detail-udi"/> <param value="subdetail-udi"/> <startParam value="created"/> <endParam value="created"/> </resource> <resource> <code value="ClaimResponse"/> <startParam value="created"/> <endParam value="created"/> </resource> <resource> <code value="ClinicalUseDefinition"/> </resource> <resource> <code value="CodeSystem"/> </resource> <resource> <code value="Communication"/> <param value="sender"/> <param value="recipient"/> <startParam value="sent"/> <endParam value="sent"/> </resource> <resource> <code value="CommunicationRequest"/> <param value="information-provider"/> <param value="recipient"/> <startParam value="authored"/> <endParam value="authored"/> </resource> <resource> <code value="CompartmentDefinition"/> </resource> <resource> <code value="Composition"/> <param value="author"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="ConceptMap"/> </resource> <resource> <code value="Condition"/> </resource> <resource> <code value="Consent"/> <startParam value="period"/> <endParam value="period"/> </resource> <resource> <code value="Coverage"/> <startParam value="period"/> <endParam value="period"/> </resource> <resource> <code value="CoverageEligibilityRequest"/> <startParam value="created"/> <endParam value="created"/> </resource> <resource> <code value="CoverageEligibilityResponse"/> <startParam value="created"/> <endParam value="created"/> </resource> <resource> <code value="DetectedIssue"/> <param value="author"/> <startParam value="identified"/> <endParam value="identified"/> </resource> <resource> <code value="Device"/> <param value="{def}"/> </resource> <resource> <code value="DeviceAlert"/> <param value="subject"/> <param value="device"/> <param value="annunciator-device"/> <param value="acknowledged-by"/> <startParam value="occurrence"/> <endParam value="occurrence"/> </resource> <resource> <code value="DeviceAssociation"/> <param value="device"/> <param value="focus"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="DeviceDefinition"/> </resource> <resource> <code value="DeviceMetric"/> <param value="device"/> </resource> <resource> <code value="DeviceRequest"/> <param value="subject"/> <param value="requester"/> <param value="performer"/> <param value="device"/> <startParam value="event-date"/> <endParam value="event-date"/> </resource> <resource> <code value="DiagnosticReport"/> <param value="subject"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="DocumentReference"/> <param value="subject"/> <param value="author"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="Encounter"/> <startParam value="date-start"/> <endParam value="date-start"/> </resource> <resource> <code value="Endpoint"/> </resource> <resource> <code value="EpisodeOfCare"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="EventDefinition"/> </resource> <resource> <code value="Evidence"/> </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"/> <startParam value="created"/> <endParam value="created"/> </resource> <resource> <code value="FamilyMemberHistory"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="Flag"/> <param value="author"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="Goal"/> <startParam value="start-date"/> <endParam value="start-date"/> </resource> <resource> <code value="Group"/> <param value="member"/> </resource> <resource> <code value="GuidanceResponse"/> </resource> <resource> <code value="HealthcareService"/> </resource> <resource> <code value="ImagingSelection"/> <startParam value="issued"/> <endParam value="issued"/> </resource> <resource> <code value="ImagingStudy"/> <startParam value="started"/> <endParam value="started"/> </resource> <resource> <code value="Immunization"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="ImplementationGuide"/> </resource> <resource> <code value="Ingredient"/> </resource> <resource> <code value="Library"/> </resource> <resource> <code value="List"/> <param value="subject"/> <param value="source"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="Location"/> </resource> <resource> <code value="ManufacturedItemDefinition"/> </resource> <resource> <code value="Measure"/> </resource> <resource> <code value="MeasureReport"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="Medication"/> </resource> <resource> <code value="MedicationAdministration"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="MedicationDispense"/> <startParam value="whenhandedover"/> <endParam value="whenhandedover"/> </resource> <resource> <code value="MedicationRequest"/> <startParam value="combo-date"/> <endParam value="combo-date"/> </resource> <resource> <code value="MedicationStatement"/> <startParam value="effective"/> <endParam value="effective"/> </resource> <resource> <code value="MedicinalProductDefinition"/> </resource> <resource> <code value="MessageDefinition"/> </resource> <resource> <code value="MessageHeader"/> <param value="receiver"/> </resource> <resource> <code value="NamingSystem"/> </resource> <resource> <code value="NutritionIntake"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="NutritionOrder"/> <startParam value="datetime"/> <endParam value="datetime"/> </resource> <resource> <code value="NutritionProduct"/> </resource> <resource> <code value="Observation"/> <param value="subject"/> <param value="device"/> <startParam value="date"/> <endParam value="date"/> </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"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="PackagedProductDefinition"/> </resource> <resource> <code value="Patient"/> </resource> <resource> <code value="PaymentNotice"/> <startParam value="created"/> <endParam value="created"/> </resource> <resource> <code value="PaymentReconciliation"/> <startParam value="created"/> <endParam value="created"/> </resource> <resource> <code value="Person"/> </resource> <resource> <code value="PlanDefinition"/> </resource> <resource> <code value="Practitioner"/> </resource> <resource> <code value="PractitionerRole"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="Procedure"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="Provenance"/> <param value="agent"/> <startParam value="when"/> <endParam value="when"/> </resource> <resource> <code value="Questionnaire"/> </resource> <resource> <code value="QuestionnaireResponse"/> <param value="author"/> <startParam value="answer-date"/> <endParam value="answer-date"/> </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"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="ResearchSubject"/> <param value="subject"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="RiskAssessment"/> <param value="performer"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="Schedule"/> <param value="actor"/> <startParam value="date"/> <endParam value="date"/> </resource> <resource> <code value="SearchParameter"/> </resource> <resource> <code value="ServiceRequest"/> <param value="performer"/> <param value="requester"/> <startParam value="occurrence"/> <endParam value="occurrence"/> </resource> <resource> <code value="Slot"/> </resource> <resource> <code value="Specimen"/> <param value="subject"/> <startParam value="collected"/> <endParam value="collected"/> </resource> <resource> <code value="SpecimenDefinition"/> </resource> <resource> <code value="StructureDefinition"/> </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="Task"/> <startParam value="period"/> <endParam value="period"/> </resource> <resource> <code value="TerminologyCapabilities"/> </resource> <resource> <code value="ValueSet"/> </resource> <resource> <code value="VisionPrescription"/> <startParam value="datewritten"/> <endParam value="datewritten"/> </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.
FHIR ®© HL7.org 2011+. FHIR R6 hl7.fhir.r6.core#6.0.0-snapshot1 generated on Wed, Sep 23, 2026 23:23+0000.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R4 |
Compare to R5 |
Compare to Last Ballot |
|
Propose a change