{
  "resourceType": "CodeSystem",
  "id": "graph-compartment-rule",
  "meta": {
    "lastUpdated": "2017-04-18T21:44:43.294+00:00"
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>GraphCompartmentRule</h2><div><p>How a compartment must be linked</p></div><p>This code system http://hl7.org/fhir/graph-compartment-rule defines the following codes:</p><table class=\"codes\"><tr><td><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td>identical\r\n                  <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>matching\r\n                  <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>different\r\n                  <a name=\"graph-compartment-rule-different\"></a></td><td>Different</td><td>The compartment must be different</td></tr><tr><td>custom\r\n                  <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-ballot-status",
      "valueString": "Informative"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 0
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    }
  ],
  "url": "http://hl7.org/fhir/graph-compartment-rule",
  "identifier": {
    "system": "urn:ietf:rfc:3986",
    "value": "urn:oid:2.16.840.1.113883.4.642.1.276"
  },
  "version": "3.0.1",
  "name": "GraphCompartmentRule",
  "status": "draft",
  "experimental": false,
  "date": "2017-04-18T21:44:43+00:00",
  "publisher": "HL7 (FHIR Project)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        },
        {
          "system": "email",
          "value": "fhir@lists.hl7.org"
        }
      ]
    }
  ],
  "description": "How a compartment must be linked",
  "caseSensitive": true,
  "valueSet": "http://hl7.org/fhir/ValueSet/graph-compartment-rule",
  "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"
    }
  ]
}