{
  "resourceType": "CodeSystem",
  "id": "compartment-type",
  "meta": {
    "lastUpdated": "2023-03-26T15:21:02.749+11:00",
    "profile": [
      "http://hl7.org/fhir/StructureDefinition/shareablecodesystem"
    ]
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This code system <code>http://hl7.org/fhir/compartment-type</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">Patient<a name=\"compartment-type-Patient\"> </a></td><td>The compartment definition is for the patient compartment.</td></tr><tr><td style=\"white-space:nowrap\">Encounter<a name=\"compartment-type-Encounter\"> </a></td><td>The compartment definition is for the encounter compartment.</td></tr><tr><td style=\"white-space:nowrap\">RelatedPerson<a name=\"compartment-type-RelatedPerson\"> </a></td><td>The compartment definition is for the related-person compartment.</td></tr><tr><td style=\"white-space:nowrap\">Practitioner<a name=\"compartment-type-Practitioner\"> </a></td><td>The compartment definition is for the practitioner compartment.</td></tr><tr><td style=\"white-space:nowrap\">Device<a name=\"compartment-type-Device\"> </a></td><td>The compartment definition is for the device compartment.</td></tr><tr><td style=\"white-space:nowrap\">EpisodeOfCare<a name=\"compartment-type-EpisodeOfCare\"> </a></td><td>The compartment definition is for the episodeofcare compartment.</td></tr></table></div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 1
    }
  ],
  "url": "http://hl7.org/fhir/compartment-type",
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.4.642.4.787"
    },
    {
      "use": "old",
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.4.642.1.770"
    }
  ],
  "version": "5.0.0",
  "name": "CompartmentType",
  "title": "Compartment Type",
  "status": "active",
  "experimental": false,
  "date": "2021-01-05T10:01:24+11:00",
  "publisher": "HL7 (FHIR Project)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        },
        {
          "system": "email",
          "value": "fhir@lists.hl7.org"
        }
      ]
    }
  ],
  "description": "Which type a compartment definition describes.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001",
          "display": "World"
        }
      ]
    }
  ],
  "caseSensitive": true,
  "valueSet": "http://hl7.org/fhir/ValueSet/compartment-type",
  "content": "complete",
  "concept": [
    {
      "code": "Patient",
      "display": "Patient",
      "definition": "The compartment definition is for the patient compartment."
    },
    {
      "code": "Encounter",
      "display": "Encounter",
      "definition": "The compartment definition is for the encounter compartment."
    },
    {
      "code": "RelatedPerson",
      "display": "RelatedPerson",
      "definition": "The compartment definition is for the related-person compartment."
    },
    {
      "code": "Practitioner",
      "display": "Practitioner",
      "definition": "The compartment definition is for the practitioner compartment."
    },
    {
      "code": "Device",
      "display": "Device",
      "definition": "The compartment definition is for the device compartment."
    },
    {
      "code": "EpisodeOfCare",
      "display": "EpisodeOfCare",
      "definition": "The compartment definition is for the episodeofcare compartment."
    }
  ]
}