--- type: "codesystem" title: "Compartment Type" codesystem: "compartment-type" --- # Compartment Type - **Official URL**: http://hl7.org/fhir/compartment-type - **Version**: 6.0.0 - **Status**: active - **Name**: CompartmentType - **Title**: Compartment Type - **Publisher**: HL7 (FHIR Project) - **Description**: Which type a compartment definition describes. - **Case Sensitive**: true - **Content**: complete ## Concepts | Code | Display | Definition | | --- | --- | --- | | Patient | Patient | The compartment definition is for the patient compartment. | | Encounter | Encounter | The compartment definition is for the encounter compartment. | | RelatedPerson | RelatedPerson | The compartment definition is for the related-person compartment. | | Practitioner | Practitioner | The compartment definition is for the practitioner compartment. | | Device | Device | The compartment definition is for the device compartment. | | EpisodeOfCare | EpisodeOfCare | The compartment definition is for the episodeofcare compartment. | ## CodeSystem XML ```xml <status value="active"/> <experimental value="false"/> <date value="2021-01-05T10:01:24+11:00"/> <publisher value="HL7 (FHIR Project)"/> <contact> <telecom> <system value="url"/> <value value="http://hl7.org/fhir"/> </telecom> <telecom> <system value="email"/> <value value="fhir@lists.hl7.org"/> </telecom> </contact> <description value="Which type a compartment definition describes."/> <caseSensitive value="true"/> <valueSet value="http://hl7.org/fhir/ValueSet/compartment-type"/> <content value="complete"/> <concept> <code value="Patient"/> <display value="Patient"/> <definition value="The compartment definition is for the patient compartment."/> </concept> <concept> <code value="Encounter"/> <display value="Encounter"/> <definition value="The compartment definition is for the encounter compartment."/> </concept> <concept> <code value="RelatedPerson"/> <display value="RelatedPerson"/> <definition value="The compartment definition is for the related-person compartment."/> </concept> <concept> <code value="Practitioner"/> <display value="Practitioner"/> <definition value="The compartment definition is for the practitioner compartment."/> </concept> <concept> <code value="Device"/> <display value="Device"/> <definition value="The compartment definition is for the device compartment."/> </concept> <concept> <code value="EpisodeOfCare"/> <display value="EpisodeOfCare"/> <definition value="The compartment definition is for the episodeofcare compartment."/> </concept> </CodeSystem> ```