{
  "resourceType" : "CodeSystem",
  "id" : "graph-compartment-rule",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem graph-compartment-rule</b></p><a name=\"graph-compartment-rule\"> </a><a name=\"hcgraph-compartment-rule\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/graph-compartment-rule</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">identical<a name=\"graph-compartment-rule-identical\"> </a></td><td>Identical</td><td>The compartment must be identical (the same literal reference).</td></tr><tr><td style=\"white-space:nowrap\">matching<a name=\"graph-compartment-rule-matching\"> </a></td><td>Matching</td><td>The compartment must be the same - the record must be about the same patient, but the reference may be different.</td></tr><tr><td style=\"white-space:nowrap\">different<a name=\"graph-compartment-rule-different\"> </a></td><td>Different</td><td>The compartment must be different.</td></tr><tr><td style=\"white-space:nowrap\">custom<a name=\"graph-compartment-rule-custom\"> </a></td><td>Custom</td><td>The compartment rule is defined in the accompanying FHIRPath expression.</td></tr></table></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 1
  },
  {
    "extension" : [{
      "url" : "packageId",
      "valueId" : "hl7.fhir.uv.xver-r4.r3"
    },
    {
      "url" : "version",
      "valueString" : "0.1.0"
    },
    {
      "url" : "uri",
      "valueUri" : "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r3"
    }],
    "url" : "http://hl7.org/fhir/StructureDefinition/package-source"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "fhir"
  }],
  "url" : "http://hl7.org/fhir/graph-compartment-rule",
  "version" : "4.0.1",
  "name" : "GraphCompartmentRule",
  "title" : "GraphCompartmentRule",
  "status" : "draft",
  "experimental" : false,
  "date" : "2019-10-31T17:29:23-05:00",
  "publisher" : "FHIR Infrastructure",
  "contact" : [{
    "name" : "FHIR Infrastructure",
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/fiwg"
    }]
  }],
  "description" : "How a compartment must be linked.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "caseSensitive" : true,
  "valueSet" : "http://hl7.org/fhir/ValueSet/graph-compartment-rule|3.0.2",
  "content" : "complete",
  "concept" : [{
    "code" : "identical",
    "display" : "Identical",
    "definition" : "The compartment must be identical (the same literal reference)."
  },
  {
    "code" : "matching",
    "display" : "Matching",
    "definition" : "The compartment must be the same - the record must be about the same patient, but the reference may be different."
  },
  {
    "code" : "different",
    "display" : "Different",
    "definition" : "The compartment must be different."
  },
  {
    "code" : "custom",
    "display" : "Custom",
    "definition" : "The compartment rule is defined in the accompanying FHIRPath expression."
  }]
}