{
  "resourceType": "CodeSystem",
  "id": "diagnosis-role",
  "meta": {
    "lastUpdated": "2017-04-18T21:44:43.294+00:00",
    "profile": [
      "http://hl7.org/fhir/StructureDefinition/shareablecodesystem"
    ]
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n            <h2>DiagnosisRole</h2>\n            <div>\n              <p>This value set defines a set of codes that can be used to express the role of a diagnosis on the Encounter or EpisodeOfCare record.</p>\n\n            </div>\n            <p>This code system http://hl7.org/fhir/diagnosis-role defines the following codes:</p>\n            <table class=\"codes\">\n              <tr>\n                <td>\n                  <b>Code</b>\n                </td>\n                <td>\n                  <b>Display</b>\n                </td>\n                <td>\n                  <b>Definition</b>\n                </td>\n              </tr>\n              <tr>\n                <td>AD\n                  <a name=\"diagnosis-role-AD\"> </a>\n                </td>\n                <td>Admission diagnosis</td>\n                <td/>\n              </tr>\n              <tr>\n                <td>DD\n                  <a name=\"diagnosis-role-DD\"> </a>\n                </td>\n                <td>Discharge diagnosis</td>\n                <td/>\n              </tr>\n              <tr>\n                <td>CC\n                  <a name=\"diagnosis-role-CC\"> </a>\n                </td>\n                <td>Chief complaint</td>\n                <td/>\n              </tr>\n              <tr>\n                <td>CM\n                  <a name=\"diagnosis-role-CM\"> </a>\n                </td>\n                <td>Comorbidity diagnosis</td>\n                <td/>\n              </tr>\n              <tr>\n                <td>pre-op\n                  <a name=\"diagnosis-role-pre-op\"> </a>\n                </td>\n                <td>pre-op diagnosis</td>\n                <td/>\n              </tr>\n              <tr>\n                <td>post-op\n                  <a name=\"diagnosis-role-post-op\"> </a>\n                </td>\n                <td>post-op diagnosis</td>\n                <td/>\n              </tr>\n              <tr>\n                <td>billing\n                  <a name=\"diagnosis-role-billing\"> </a>\n                </td>\n                <td>Billing</td>\n                <td/>\n              </tr>\n            </table>\n          </div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status",
      "valueString": "Informative"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 2
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "pa"
    }
  ],
  "url": "http://hl7.org/fhir/diagnosis-role",
  "identifier": {
    "system": "urn:ietf:rfc:3986",
    "value": "urn:oid:2.16.840.1.113883.4.642.1.49"
  },
  "version": "3.0.1",
  "name": "DiagnosisRole",
  "status": "draft",
  "experimental": true,
  "publisher": "FHIR Project team",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        }
      ]
    }
  ],
  "description": "This value set defines a set of codes that can be used to express the role of a diagnosis on the Encounter or EpisodeOfCare record.",
  "caseSensitive": true,
  "valueSet": "http://hl7.org/fhir/ValueSet/diagnosis-role",
  "content": "complete",
  "concept": [
    {
      "code": "AD",
      "display": "Admission diagnosis"
    },
    {
      "code": "DD",
      "display": "Discharge diagnosis"
    },
    {
      "code": "CC",
      "display": "Chief complaint"
    },
    {
      "code": "CM",
      "display": "Comorbidity diagnosis"
    },
    {
      "code": "pre-op",
      "display": "pre-op diagnosis"
    },
    {
      "code": "post-op",
      "display": "post-op diagnosis"
    },
    {
      "code": "billing",
      "display": "Billing"
    }
  ]
}