DSTU2

This page is part of the FHIR Specification (v0.0.82: (v1.0.2: DSTU 1). 2). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Condition.profile.xml Condition.profile.json

Raw JSON ( canonical form )

Profile StructureDefinition for condition

{
  "resourceType": "Profile",

  "resourceType": "StructureDefinition",
  "id": "Condition",
  "meta": {
    "lastUpdated": "2015-10-24T07:41:03.495+11:00"
  },

  "text": {
    "status": "generated",
    "div": "<div><pre>\r\n&lt;<a title=\"Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary.\" class=\"dict\" href=\"condition-definitions.html#Condition\"><b>Condition</b></a> xmlns=&quot;http://hl7.org/fhir&quot;&gt; <span style=\"float: right\"><a title=\"Documentation for this format\" href=\"formats.html\"><img alt=\"doco\" src=\"help.png\"/></a></span>\r\n &lt;!-- from <a href=\"resources.html\">Resource</a>: <a href=\"extensibility.html\">extension</a>, <a href=\"extensibility.html#modifierExtension\">modifierExtension</a>, language, <a href=\"narrative.html#Narrative\">text</a>, and <a href=\"references.html#contained\">contained</a> --&gt;\r\n &lt;<a title=\"This records identifiers associated with this condition that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).\" class=\"dict\" href=\"condition-definitions.html#Condition.identifier\"><b>identifier</b></a>&gt;<span style=\"color: Gray\">&lt;!--</span> <span style=\"color: brown\"><b>0..*</b></span> <span style=\"color: darkgreen\"><a href=\"datatypes.html#Identifier\">Identifier</a></span> <span style=\"color: navy\">External Ids for this condition</span><span style=\"color: Gray\"> --&gt;</span>&lt;/identifier&gt;\r\n &lt;<a title=\"Indicates the patient who the condition record is associated with.\" class=\"dict\" href=\"condition-definitions.html#Condition.subject\"><b>subject</b></a>&gt;<span style=\"color: Gray\">&lt;!--</span> <span style=\"color: brown\"><b>1..1</b></span> <span style=\"color: darkgreen\"><a href=\"references.html#Resource\">Resource</a>(<a href=\"patient.html#Patient\">Patient</a>)</span> <span style=\"color: navy\">Who has the condition?</span><span style=\"color: Gray\"> --&gt;</span>&lt;/subject&gt;\r\n &lt;<a title=\"Encounter during which the condition was first asserted.\" class=\"dict\" href=\"condition-definitions.html#Condition.encounter\"><b>encounter</b></a>&gt;<span style=\"color: Gray\">&lt;!--</span> <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: darkgreen\"><a href=\"references.html#Resource\">Resource</a>(<a href=\"encounter.html#Encounter\">Encounter</a>)</span> <span style=\"color: navy\">Encounter when condition first asserted</span><span style=\"color: Gray\"> --&gt;</span>&lt;/encounter&gt;\r\n &lt;<a title=\"Person who takes responsibility for asserting the existence of the condition as part of the electronic record.\" class=\"dict\" href=\"condition-definitions.html#Condition.asserter\"><b>asserter</b></a>&gt;<span style=\"color: Gray\">&lt;!--</span> <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: darkgreen\"><a href=\"references.html#Resource\">Resource</a>(<a href=\"practitioner.html#Practitioner\">Practitioner</a>|<a href=\"patient.html#Patient\">Patient</a>)</span> <span style=\"color: navy\">Person who asserts this condition</span><span style=\"color: Gray\"> --&gt;</span>&lt;/asserter&gt;\r\n &lt;<a title=\"Estimated or actual date the condition/problem/diagnosis was first detected/suspected.\" class=\"dict\" href=\"condition-definitions.html#Condition.dateAsserted\"><b>dateAsserted</b></a> value=&quot;[<span style=\"color: darkgreen\"><a href=\"datatypes.html#date\">date</a></span>]&quot;/&gt;<span style=\"color: Gray\">&lt;!--</span> <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: navy\">When first detected/suspected/entered</span><span style=\"color: Gray\"> --&gt;</span>\r\n &lt;<a title=\"Identification of the condition, problem or diagnosis.\" class=\"dict\" href=\"condition-definitions.html#Condition.code\"><b>code</b></a>&gt;<span style=\"color: Gray\">&lt;!--</span> <span style=\"color: brown\"><b>1..1</b></span> <span style=\"color: darkgreen\"><a href=\"datatypes.html#CodeableConcept\">CodeableConcept</a></span> <span style=\"color: navy\"><a style=\"color: navy\" href=\"valueset-condition-code.html\">Identification of the condition, problem or diagnosis</a></span><span style=\"color: Gray\"> --&gt;</span>&lt;/code&gt;\r\n &lt;<a title=\"A category assigned to the condition. E.g. complaint | symptom | finding | diagnosis.\" class=\"dict\" href=\"condition-definitions.html#Condition.category\"><b>category</b></a>&gt;<span style=\"color: Gray\">&lt;!--</span> <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: darkgreen\"><a href=\"datatypes.html#CodeableConcept\">CodeableConcept</a></span> <span style=\"color: navy\"><a style=\"color: navy\" href=\"valueset-condition-category.html\">E.g. complaint | symptom | finding | diagnosis</a></span><span style=\"color: Gray\"> --&gt;</span>&lt;/category&gt;\r\n &lt;<a title=\"The clinical status of the condition (this element modifies the meaning of other elements)\" class=\"dict\" href=\"condition-definitions.html#Condition.status\"><span style=\"text-decoration: underline\"><b>status</b></span></a> value=&quot;[<span style=\"color: darkgreen\"><a href=\"datatypes.html#code\">code</a></span>]&quot;/&gt;<span style=\"color: Gray\">&lt;!--</span> <span style=\"color: brown\"><b>1..1</b></span> <span style=\"color: navy\"><a style=\"color: navy\" href=\"condition-status.html\">provisional | working | confirmed | refuted</a></span><span style=\"color: Gray\"> --&gt;</span>\r\n &lt;<a title=\"The degree of confidence that this condition is correct (this element modifies the meaning of other elements)\" class=\"dict\" href=\"condition-definitions.html#Condition.certainty\"><span style=\"text-decoration: underline\"><b>certainty</b></span></a>&gt;<span style=\"color: Gray\">&lt;!--</span> <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: darkgreen\"><a href=\"datatypes.html#CodeableConcept\">CodeableConcept</a></span> <span style=\"color: navy\"><a style=\"color: navy\" href=\"valueset-condition-certainty.html\">Degree of confidence</a></span><span style=\"color: Gray\"> --&gt;</span>&lt;/certainty&gt;\r\n &lt;<a title=\"A subjective assessment of the severity of the condition as evaluated by the clinician.\" class=\"dict\" href=\"condition-definitions.html#Condition.severity\"><b>severity</b></a>&gt;<span style=\"color: Gray\">&lt;!--</span> <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: darkgreen\"><a href=\"datatypes.html#CodeableConcept\">CodeableConcept</a></span> <span style=\"color: navy\"><a style=\"color: navy\" href=\"valueset-condition-severity.html\">Subjective severity of condition</a></span><span style=\"color: Gray\"> --&gt;</span>&lt;/severity&gt;\r\n &lt;<a title=\"Estimated or actual date the condition began, in the opinion of the clinician.\" class=\"dict\" href=\"condition-definitions.html#Condition.onset_x_\"><b>onset[x]</b></a>&gt;<span style=\"color: Gray\">&lt;!--</span> <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: darkgreen\"><a href=\"datatypes.html#date\">date</a>|<a href=\"datatypes.html#Age\">Age</a></span> <span style=\"color: navy\">Estimated or actual date, or age</span><span style=\"color: Gray\"> --&gt;</span>&lt;/onset[x]&gt;\r\n &lt;<a title=\"The date or estimated date that the condition resolved or went into remission. This is called &quot;abatement&quot; because of the many overloaded connotations associated with &quot;remission&quot; or &quot;resolution&quot; - Conditions are never really resolved, but they can abate.\" class=\"dict\" href=\"condition-definitions.html#Condition.abatement_x_\"><b>abatement[x]</b></a>&gt;<span style=\"color: Gray\">&lt;!--</span> <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: darkgreen\"><a href=\"datatypes.html#date\">date</a>|<a href=\"datatypes.html#Age\">Age</a>|<a href=\"datatypes.html#boolean\">boolean</a></span> <span style=\"color: navy\">If/when in resolution/remission</span><span style=\"color: Gray\"> --&gt;</span>&lt;/abatement[x]&gt;\r\n &lt;<a title=\"Clinical stage or grade of a condition. May include formal severity assessments.\" class=\"dict\" href=\"condition-definitions.html#Condition.stage\"><b>stage</b></a>&gt;  <span style=\"color: Gray\">&lt;!-- <span style=\"color: brown\"><b>0..1</b></span> Stage/grade, usually assessed formally --&gt;</span>\r\n  &lt;<a title=\"A simple summary of the stage such as &quot;Stage 3&quot;. The determination of the stage is disease-specific.\" class=\"dict\" href=\"condition-definitions.html#Condition.stage.summary\"><b>summary</b></a>&gt;<span style=\"color: Gray\">&lt;!--</span> <span title=\"Inv-1: Stage SHALL have summary or assessment\" style=\"color: brown\"><b><img alt=\"??\" src=\"lock.png\"/> 0..1</b></span> <span style=\"color: darkgreen\"><a href=\"datatypes.html#CodeableConcept\">CodeableConcept</a></span> <span style=\"color: navy\">Simple summary (disease specific)</span><span style=\"color: Gray\"> --&gt;</span>&lt;/summary&gt;\r\n  &lt;<a title=\"Reference to a formal record of the evidence on which the staging assessment is based.\" class=\"dict\" href=\"condition-definitions.html#Condition.stage.assessment\"><b>assessment</b></a>&gt;<span style=\"color: Gray\">&lt;!--</span> <span title=\"Inv-1: Stage SHALL have summary or assessment\" style=\"color: brown\"><b><img alt=\"??\" src=\"lock.png\"/> 0..*</b></span> <span style=\"color: darkgreen\"><a href=\"references.html#Resource\">Resource</a>(<a href=\"resourcelist.html\">Any</a>)</span> <span style=\"color: navy\">Formal record of assessment</span><span style=\"color: Gray\"> --&gt;</span>&lt;/assessment&gt;\r\n &lt;/stage&gt;\r\n &lt;<a title=\"Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.\" class=\"dict\" href=\"condition-definitions.html#Condition.evidence\"><b>evidence</b></a>&gt;  <span style=\"color: Gray\">&lt;!-- <span style=\"color: brown\"><b>0..*</b></span> Supporting evidence --&gt;</span>\r\n  &lt;<a title=\"A manifestation or symptom that led to the recording of this condition.\" class=\"dict\" href=\"condition-definitions.html#Condition.evidence.code\"><b>code</b></a>&gt;<span style=\"color: Gray\">&lt;!--</span> <span title=\"Inv-2: evidence SHALL have code or details\" style=\"color: brown\"><b><img alt=\"??\" src=\"lock.png\"/> 0..1</b></span> <span style=\"color: darkgreen\"><a href=\"datatypes.html#CodeableConcept\">CodeableConcept</a></span> <span style=\"color: navy\">Manifestation/symptom</span><span style=\"color: Gray\"> --&gt;</span>&lt;/code&gt;\r\n  &lt;<a title=\"Links to other relevant information, including pathology reports.\" class=\"dict\" href=\"condition-definitions.html#Condition.evidence.detail\"><b>detail</b></a>&gt;<span style=\"color: Gray\">&lt;!--</span> <span title=\"Inv-2: evidence SHALL have code or details\" style=\"color: brown\"><b><img alt=\"??\" src=\"lock.png\"/> 0..*</b></span> <span style=\"color: darkgreen\"><a href=\"references.html#Resource\">Resource</a>(<a href=\"resourcelist.html\">Any</a>)</span> <span style=\"color: navy\">Supporting information found elsewhere</span><span style=\"color: Gray\"> --&gt;</span>&lt;/detail&gt;\r\n &lt;/evidence&gt;\r\n &lt;<a title=\"The anatomical location where this condition manifests itself.\" class=\"dict\" href=\"condition-definitions.html#Condition.location\"><b>location</b></a>&gt;  <span style=\"color: Gray\">&lt;!-- <span style=\"color: brown\"><b>0..*</b></span> Anatomical location, if relevant --&gt;</span>\r\n  &lt;<a title=\"Code that identifies the structural location.\" class=\"dict\" href=\"condition-definitions.html#Condition.location.code\"><b>code</b></a>&gt;<span style=\"color: Gray\">&lt;!--</span> <span title=\"Inv-3: location SHALL have code or details\" style=\"color: brown\"><b><img alt=\"??\" src=\"lock.png\"/> 0..1</b></span> <span style=\"color: darkgreen\"><a href=\"datatypes.html#CodeableConcept\">CodeableConcept</a></span> <span style=\"color: navy\">Location - may include laterality</span><span style=\"color: Gray\"> --&gt;</span>&lt;/code&gt;\r\n  &lt;<a title=\"Detailed anatomical location information.\" class=\"dict\" href=\"condition-definitions.html#Condition.location.detail\"><b>detail</b></a> value=&quot;[<span style=\"color: darkgreen\"><a href=\"datatypes.html#string\">string</a></span>]&quot;/&gt;<span style=\"color: Gray\">&lt;!--</span> <span title=\"Inv-3: location SHALL have code or details\" style=\"color: brown\"><b><img alt=\"??\" src=\"lock.png\"/> 0..1</b></span> <span style=\"color: navy\">Precise location details</span><span style=\"color: Gray\"> --&gt;</span>\r\n &lt;/location&gt;\r\n &lt;<a title=\"Further conditions, problems, diagnoses, procedures or events that are related in some way to this condition, or the substance that caused/triggered this Condition.\" class=\"dict\" href=\"condition-definitions.html#Condition.relatedItem\"><b>relatedItem</b></a>&gt;  <span style=\"color: Gray\">&lt;!-- <span style=\"color: brown\"><b>0..*</b></span> Causes or precedents for this Condition --&gt;</span>\r\n  &lt;<a title=\"The type of relationship that this condition has to the related item.\" class=\"dict\" href=\"condition-definitions.html#Condition.relatedItem.type\"><b>type</b></a> value=&quot;[<span style=\"color: darkgreen\"><a href=\"datatypes.html#code\">code</a></span>]&quot;/&gt;<span style=\"color: Gray\">&lt;!--</span> <span style=\"color: brown\"><b>1..1</b></span> <span style=\"color: navy\"><a style=\"color: navy\" href=\"condition-relationship-type.html\">due-to | following</a></span><span style=\"color: Gray\"> --&gt;</span>\r\n  &lt;<a title=\"Code that identifies the target of this relationship. The code takes the place of a detailed instance target.\" class=\"dict\" href=\"condition-definitions.html#Condition.relatedItem.code\"><b>code</b></a>&gt;<span style=\"color: Gray\">&lt;!--</span> <span title=\"Inv-4: Relationship SHALL have either a code or a target\" style=\"color: brown\"><b><img alt=\"??\" src=\"lock.png\"/> 0..1</b></span> <span style=\"color: darkgreen\"><a href=\"datatypes.html#CodeableConcept\">CodeableConcept</a></span> <span style=\"color: navy\"><a style=\"color: navy\" href=\"valueset-condition-code.html\">Relationship target by means of a predefined code</a></span><span style=\"color: Gray\"> --&gt;</span>&lt;/code&gt;\r\n  &lt;<a title=\"Target of the relationship.\" class=\"dict\" href=\"condition-definitions.html#Condition.relatedItem.target\"><b>target</b></a>&gt;<span style=\"color: Gray\">&lt;!--</span> <span title=\"Inv-4: Relationship SHALL have either a code or a target\" style=\"color: brown\"><b><img alt=\"??\" src=\"lock.png\"/> 0..1</b></span> <span style=\"color: darkgreen\"><a href=\"references.html#Resource\">Resource</a>(<a href=\"condition.html#Condition\">Condition</a>|<a href=\"procedure.html#Procedure\">Procedure</a>|<a href=\"medicationadministration.html#MedicationAdministration\">MedicationAdministration</a>|\r\n    <a href=\"immunization.html#Immunization\">Immunization</a>|<a href=\"medicationstatement.html#MedicationStatement\">MedicationStatement</a>)</span> <span style=\"color: navy\">Relationship target resource</span><span style=\"color: Gray\"> --&gt;</span>&lt;/target&gt;\r\n &lt;/relatedItem&gt;\r\n &lt;<a title=\"Additional information about the Condition. This is a general notes/comments entry  for description of the Condition, its diagnosis and prognosis.\" class=\"dict\" href=\"condition-definitions.html#Condition.notes\"><b>notes</b></a> value=&quot;[<span style=\"color: darkgreen\"><a href=\"datatypes.html#string\">string</a></span>]&quot;/&gt;<span style=\"color: Gray\">&lt;!--</span> <span style=\"color: brown\"><b>0..1</b></span> <span style=\"color: navy\">Additional information about the Condition</span><span style=\"color: Gray\"> --&gt;</span>\r\n&lt;/Condition&gt;\r\n</pre></div>"

    "div": "<div>!-- Snipped for Brevity --></div>"

  },
  "name": "condition",
  "publisher": "FHIR Project",
  "description": "Basic Profile. Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary.",

  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 2
    }
  ],
  "url": "http://hl7.org/fhir/StructureDefinition/Condition",
  "name": "Condition",

  "status": "draft",
  "date": "2014-09-30",
  "requirements": "Scope and Usage This resource is used to record detailed information about a specific aspect of or issue with the health state of a patient. It is intended for use for issues that have been identified as relevant for tracking and reporting purposes or where there's a need to capture a concrete diagnosis or the gathering of data such as signs and symptoms. There are situations where the same information might appear as both an observation as well as a condition. For example, the appearance of a rash or an instance of a fever are signs and symptoms that would typically be captured using the Observation resource. However, a pattern of ongoing fevers or a persistent or severe rash requiring treatment might be captured as a condition. The Condition resource specifically excludes AdverseReactions and AllergyIntolerances as those are handled with their own resources. \r\n\r\nThe Condition resource may be used to record positive aspects of the health state of a patient (e.g. pregnancy) as well as the major use, which is for problems/concerns (e.g. hypertension). \r\n\r\nConditions are frequently referenced by other resources as \"reasons\" for an action (Prescription, Procedure, DiagnosticOrder, etc.) \r\n\r\nThe conditions represented in this resources are sometimes described as \"Problems\", and kept as part of a problem list.",

  "publisher": "Health Level Seven International (Patient Care)",
  "contact": [
    {
      "telecom": [
        {
          "system": "other",
          "value": "http://hl7.org/fhir"
        }
      ]
    },
    {
      "telecom": [
        {
          "system": "other",
          "value": "http://www.hl7.org/Special/committees/patientcare/index.cfm"
        }
      ]
    }
  ],
  "date": "2015-10-24T07:41:03+11:00",
  "description": "Base StructureDefinition for Condition Resource",
  "fhirVersion": "1.0.2",

  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2"
    },
    {

      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2"

      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"

    }
  ],
  "structure": [
    {
      "type": "Condition",
      "publish": true,
      "element": [
        {
          "path": "Condition",
          "definition": {
            "short": "Detailed information about conditions, problems or diagnoses",
            "formal": "Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a Diagnosis during an Encounter; populating a problem List or a Summary Statement, such as a Discharge Summary.",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "Resource"
              }
            ],
            "isModifier": false,
            "mapping": [
              {
                "identity": "rim",
                "map": "Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value<Diagnosis]"
              },
              {
                "identity": "v2",
                "map": "PPR message"
              }
            ]

  "kind": "resource",
  "abstract": false,
  "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
  "snapshot": {
    "element": [
      {
        "path": "Condition",
        "short": "Detailed information about conditions, problems or diagnoses",
        "definition": "Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a diagnosis during an encounter; populating a problem list or a summary statement, such as a discharge summary.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "DomainResource"

          }
        },
        {
          "path": "Condition.extension",
          "definition": {
            "short": "Additional Content defined by implementations",
            "formal": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comments": "there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone.",
            "synonym": [
              "extensions",
              "user content"
            ],
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": false

        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PPR message"
          },
          {
            "identity": "rim",
            "map": "Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value<Diagnosis]"
          },
          {
            "identity": "w5",
            "map": "clinical.general"

          }
        },
        {
          "path": "Condition.modifierExtension",
          "definition": {
            "short": "Extensions that cannot be ignored",
            "formal": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
            "comments": "there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone.",
            "synonym": [
              "extensions",
              "user content"
            ],
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": false

        ]
      },
      {
        "path": "Condition.id",
        "short": "Logical id of this artifact",
        "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
        "comments": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"

          }
        },
        {
          "path": "Condition.text",
          "definition": {
            "short": "Text summary of the resource, for human interpretation",
            "formal": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
            "comments": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative.",
            "synonym": [
              "narrative",
              "html",
              "xhtml",
              "display"
            ],
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "Narrative"
              }
            ],
            "isModifier": false

        ],
        "isSummary": true
      },
      {
        "path": "Condition.meta",
        "short": "Metadata about the resource",
        "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Meta"

          }
        },
        {
          "path": "Condition.contained",
          "definition": {
            "short": "Contained, inline Resources",
            "formal": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
            "comments": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
            "synonym": [
              "inline resources",
              "anonymous resources",
              "contained resources"
            ],
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Resource"
              }
            ],
            "isModifier": false

        ],
        "isSummary": true
      },
      {
        "path": "Condition.implicitRules",
        "short": "A set of rules under which this content was created",
        "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
        "comments": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "uri"

          }
        },
        {
          "path": "Condition.identifier",
          "definition": {
            "short": "External Ids for this condition",
            "formal": "This records identifiers associated with this condition that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Identifier"
              }
            ],
            "isModifier": false,
            "mapping": [
              {
                "identity": "rim",
                "map": ".id"
              }
            ]

        ],
        "isModifier": true,
        "isSummary": true
      },
      {
        "path": "Condition.language",
        "short": "Language of the resource content",
        "definition": "The base language in which the resource is written.",
        "comments": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"

          }
        },
        {
          "path": "Condition.subject",
          "definition": {
            "short": "Who has the condition?",
            "formal": "Indicates the patient who the condition record is associated with.",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "ResourceReference",
                "profile": "http://hl7.org/fhir/profiles/Patient"
              }
            ],
            "isModifier": false,
            "mapping": [
              {
                "identity": "rim",
                "map": ".participation[typeCode=SBJ].role[classCode=PAT]"
              },
              {
                "identity": "v2",
                "map": "PID-3"
              }
            ]

        ],
        "binding": {
          "strength": "required",
          "description": "A human language.",
          "valueSetUri": "http://tools.ietf.org/html/bcp47"
        }
      },
      {
        "path": "Condition.text",
        "short": "Text summary of the resource, for human interpretation",
        "definition": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
        "comments": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative.",
        "alias": [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Narrative"

          }
        },
        {
          "path": "Condition.encounter",
          "definition": {
            "short": "Encounter when condition first asserted",
            "formal": "Encounter during which the condition was first asserted.",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "ResourceReference",
                "profile": "http://hl7.org/fhir/profiles/Encounter"
              }
            ],
            "isModifier": false,
            "mapping": [
              {
                "identity": "rim",
                "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"
              },
              {
                "identity": "v2",
                "map": "PV1-19 (+PV1-54)"
              }
            ]

        ],
        "condition": [
          "dom-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Act.text?"

          }
        },
        {
          "path": "Condition.asserter",
          "definition": {
            "short": "Person who asserts this condition",
            "formal": "Person who takes responsibility for asserting the existence of the condition as part of the electronic record.",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "ResourceReference",
                "profile": "http://hl7.org/fhir/profiles/Practitioner"
              },
              {
                "code": "ResourceReference",
                "profile": "http://hl7.org/fhir/profiles/Patient"
              }
            ],
            "isModifier": false,
            "mapping": [
              {
                "identity": "rim",
                "map": ".participation[typeCode=AUT].role"
              },
              {
                "identity": "v2",
                "map": "REL-7.1 identifier + REL-7.12 type code"
              }
            ]

        ]
      },
      {
        "path": "Condition.contained",
        "short": "Contained, inline Resources",
        "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
        "comments": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
        "alias": [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Resource"

          }
        },
        {
          "path": "Condition.dateAsserted",
          "definition": {
            "short": "When first detected/suspected/entered",
            "formal": "Estimated or actual date the condition/problem/diagnosis was first detected/suspected.",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "date"
              }
            ],
            "isModifier": false,
            "mapping": [
              {
                "identity": "rim",
                "map": ".participation[typeCode=AUT].time"
              },
              {
                "identity": "v2",
                "map": "REL-11"
              }

        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Condition.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Condition.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Condition.identifier",
        "short": "External Ids for this condition",
        "definition": "This records identifiers associated with this condition that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).",
        "requirements": "Need to allow connection to a wider workflow.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".id"
          },
          {
            "identity": "w5",
            "map": "id"
          }
        ]
      },
      {
        "path": "Condition.patient",
        "short": "Who has the condition?",
        "definition": "Indicates the patient who the condition record is associated with.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"

            ]
          }
        },
        {
          "path": "Condition.code",
          "definition": {
            "short": "Identification of the condition, problem or diagnosis",
            "formal": "Identification of the condition, problem or diagnosis.",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isModifier": false,
            "binding": {
              "name": "ConditionKind",
              "isExtensible": true,
              "conformance": "example",
              "referenceResource": {
                "reference": "http://hl7.org/fhir/vs/condition-code"
              }
            },
            "mapping": [
              {
                "identity": "rim",
                "map": ".value"
              },
              {
                "identity": "v2",
                "map": "PRB-3"
              }

        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-3"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role[classCode=PAT]"
          },
          {
            "identity": "w5",
            "map": "who.focus"
          }
        ]
      },
      {
        "path": "Condition.encounter",
        "short": "Encounter when condition first asserted",
        "definition": "Encounter during which the condition was first asserted.",
        "comments": "This record indicates the encounter this particular record is associated with.  In the case of a \"new\" diagnosis reflecting ongoing/revised information about the condition, this might be distinct from the first encounter in which the underlying condition was first \"known\".",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Encounter"

            ]
          }
        },
        {
          "path": "Condition.category",
          "definition": {
            "short": "E.g. complaint | symptom | finding | diagnosis",
            "formal": "A category assigned to the condition. E.g. complaint | symptom | finding | diagnosis.",
            "comments": "The categorization is often highly contextual and may appear poorly differentiated or not very useful in other contexts.",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isModifier": false,
            "binding": {
              "name": "ConditionCategory",
              "isExtensible": true,
              "conformance": "preferred",
              "referenceResource": {
                "reference": "http://hl7.org/fhir/vs/condition-category"
              }
            },
            "mapping": [
              {
                "identity": "rim",
                "map": ".code"
              },
              {
                "identity": "v2",
                "map": "'problem' if from PRB-3. 'diagnosis' if from DG1 segment in PV1 message"
              }

        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PV1-19 (+PV1-54)"
          },
          {
            "identity": "rim",
            "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"
          },
          {
            "identity": "w5",
            "map": "context"
          }
        ]
      },
      {
        "path": "Condition.asserter",
        "short": "Person who asserts this condition",
        "definition": "Individual who is making the condition statement.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner"

            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "REL-7.1 identifier + REL-7.12 type code"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT].role"
          },
          {
            "identity": "w5",
            "map": "who.author"
          }
        ]
      },
      {
        "path": "Condition.dateRecorded",
        "short": "When first entered",
        "definition": "A date, when  the Condition statement was documented.",
        "comments": "The Date Recorded represents the date when this particular Condition record was created in the EHR, not the date of the most recent update in terms of when severity, abatement, etc. were specified.  The date of the last record modification can be retrieved from the resource metadata.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "date"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "REL-11"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT].time"
          },
          {
            "identity": "w5",
            "map": "when.recorded"
          }
        ]
      },
      {
        "path": "Condition.code",
        "short": "Identification of the condition, problem or diagnosis",
        "definition": "Identification of the condition, problem or diagnosis.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "example",
          "description": "Identification of the condition or diagnosis.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/condition-code"

          }
        },
        {
          "path": "Condition.status",
          "definition": {
            "short": "provisional | working | confirmed | refuted",
            "formal": "The clinical status of the condition.",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": true,
            "binding": {
              "name": "ConditionStatus",
              "isExtensible": false,
              "conformance": "required",
              "referenceResource": {
                "reference": "http://hl7.org/fhir/vs/condition-status"
              }
            },
            "mapping": [
              {
                "identity": "rim",
                "map": ".code (pre or post-coordinated in)\n\nCan use valueNegationInd for refuted"
              },
              {
                "identity": "v2",
                "map": "PRB-14 / DG1-6"
              }
            ]

        "mapping": [
          {
            "identity": "v2",
            "map": "PRB-3"
          },
          {
            "identity": "rim",
            "map": ".value"
          },
          {
            "identity": "w5",
            "map": "what"
          }
        ]
      },
      {
        "path": "Condition.category",
        "short": "complaint | symptom | finding | diagnosis",
        "definition": "A category assigned to the condition.",
        "comments": "The categorization is often highly contextual and may appear poorly differentiated or not very useful in other contexts.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "preferred",
          "description": "A category assigned to the condition.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/condition-category"

          }
        },
        {
          "path": "Condition.certainty",
          "definition": {
            "short": "Degree of confidence",
            "formal": "The degree of confidence that this condition is correct.",
            "comments": "May be a percentage.",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isModifier": true,
            "binding": {
              "name": "ConditionCertainty",
              "isExtensible": true,
              "conformance": "example",
              "referenceResource": {
                "reference": "http://hl7.org/fhir/vs/condition-certainty"
              }
            },
            "mapping": [
              {
                "identity": "rim",
                "map": ".uncertaintyCode"
              },
              {
                "identity": "v2",
                "map": "PRB-19"
              }
            ]

        "mapping": [
          {
            "identity": "v2",
            "map": "'problem' if from PRB-3. 'diagnosis' if from DG1 segment in PV1 message"
          },
          {
            "identity": "rim",
            "map": ".code"
          },
          {
            "identity": "w5",
            "map": "class"
          }
        ]
      },
      {
        "path": "Condition.clinicalStatus",
        "short": "active | relapse | remission | resolved",
        "definition": "The clinical status of the condition.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "binding": {
          "strength": "preferred",
          "description": "The clinical status of the condition or diagnosis.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/condition-clinical"

          }
        },
        {
          "path": "Condition.severity",
          "definition": {
            "short": "Subjective severity of condition",
            "formal": "A subjective assessment of the severity of the condition as evaluated by the clinician.",
            "comments": "Coding of the severity with a terminology is preferred, where possible.",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isModifier": false,
            "binding": {
              "name": "ConditionSeverity",
              "isExtensible": true,
              "conformance": "example",
              "referenceResource": {
                "reference": "http://hl7.org/fhir/vs/condition-severity"
              }
            },
            "mapping": [
              {
                "identity": "rim",
                "map": "Can be pre/post-coordinated into value.  Or\n./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"severity\"].value"
              },
              {
                "identity": "v2",
                "map": "PRB-26 / ABS-3"
              }
            ]

        "mapping": [
          {
            "identity": "v2",
            "map": "PRB-14 / DG1-6"
          },
          {
            "identity": "w5",
            "map": "status"
          }
        ]
      },
      {
        "path": "Condition.verificationStatus",
        "short": "provisional | differential | confirmed | refuted | entered-in-error | unknown",
        "definition": "The verification status to support the clinical status of the condition.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "description": "The verification status to support or decline the clinical status of the condition or diagnosis.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/condition-ver-status"

          }
        },
        {
          "path": "Condition.onset[x]",
          "definition": {
            "short": "Estimated or actual date, or age",
            "formal": "Estimated or actual date the condition began, in the opinion of the clinician.",
            "comments": "Age is generally used when the patient reports an age at which the Condition began to occur.",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "date"
              },
              {
                "code": "Age"
              }
            ],
            "isModifier": false,
            "mapping": [
              {
                "identity": "rim",
                "map": ".effectiveTime.low\nor\n.inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at onset\"].value"
              },
              {
                "identity": "v2",
                "map": "PRB-16"
              }
            ]

        "mapping": [
          {
            "identity": "v2",
            "map": "PRB-13"
          },
          {
            "identity": "rim",
            "map": ".code (pre or post-coordinated in)  Can use valueNegationInd for refuted"
          },
          {
            "identity": "w5",
            "map": "status"
          }
        ]
      },
      {
        "path": "Condition.severity",
        "short": "Subjective severity of condition",
        "definition": "A subjective assessment of the severity of the condition as evaluated by the clinician.",
        "comments": "Coding of the severity with a terminology is preferred, where possible.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "preferred",
          "description": "A subjective assessment of the severity of the condition as evaluated by the clinician.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/condition-severity"

          }
        },
        {
          "path": "Condition.abatement[x]",
          "definition": {
            "short": "If/when in resolution/remission",
            "formal": "The date or estimated date that the condition resolved or went into remission. This is called \"abatement\" because of the many overloaded connotations associated with \"remission\" or \"resolution\" - Conditions are never really resolved, but they can abate.",
            "comments": "There is no explicit distinction between resolution and remission because in many cases the distinction is not clear. Age is generally used when the patient reports an age at which the Condition abated.\n\nIf there is no abatement element, it is unknown whether the condition has resolved or entered remission; applications and users should generally assume that the condition is still valid.",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "date"
              },
              {
                "code": "Age"
              },
              {
                "code": "boolean"
              }
            ],
            "isModifier": false,
            "mapping": [
              {
                "identity": "rim",
                "map": ".effectiveTime.high\nor\n.inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at remission\"].value\nor\n.inboundRelationship[typeCode=SUBJ]source[classCode=CONC, moodCode=EVN].status=completed"
              }

        "mapping": [
          {
            "identity": "v2",
            "map": "PRB-26 / ABS-3"
          },
          {
            "identity": "rim",
            "map": "Can be pre/post-coordinated into value.  Or ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"severity\"].value"
          },
          {
            "identity": "w5",
            "map": "grade"
          }
        ]
      },
      {
        "path": "Condition.onset[x]",
        "short": "Estimated or actual date,  date-time, or age",
        "definition": "Estimated or actual date or date-time  the condition began, in the opinion of the clinician.",
        "comments": "Age is generally used when the patient reports an age at which the Condition began to occur.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Age"

            ]
          },
          {
            "code": "Period"
          },
          {
            "code": "Range"
          },
          {
            "code": "string"

          }
        },
        {
          "path": "Condition.stage",
          "definition": {
            "short": "Stage/grade, usually assessed formally",
            "formal": "Clinical stage or grade of a condition. May include formal severity assessments.",
            "min": 0,
            "max": "1",
            "constraint": [
              {
                "key": "1",
                "name": "Stage rule",
                "severity": "error",
                "human": "Stage SHALL have summary or assessment",
                "xpath": "exists(f:summary) or exists(f:assessment)"
              }
            ],
            "isModifier": false,
            "mapping": [
              {
                "identity": "rim",
                "map": "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]"
              }

        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PRB-16"
          },
          {
            "identity": "rim",
            "map": ".effectiveTime.low or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at onset\"].value"
          },
          {
            "identity": "w5",
            "map": "when.init"
          }
        ]
      },
      {
        "path": "Condition.abatement[x]",
        "short": "If/when in resolution/remission",
        "definition": "The date or estimated date that the condition resolved or went into remission. This is called \"abatement\" because of the many overloaded connotations associated with \"remission\" or \"resolution\" - Conditions are never really resolved, but they can abate.",
        "comments": "There is no explicit distinction between resolution and remission because in many cases the distinction is not clear. Age is generally used when the patient reports an age at which the Condition abated.  If there is no abatement element, it is unknown whether the condition has resolved or entered remission; applications and users should generally assume that the condition is still valid.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Age"

            ]
          },
          {
            "code": "boolean"
          },
          {
            "code": "Period"
          },
          {
            "code": "Range"
          },
          {
            "code": "string"

          }
        },
        {
          "path": "Condition.stage.extension",
          "definition": {
            "short": "Additional Content defined by implementations",
            "formal": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comments": "there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone.",
            "synonym": [
              "extensions",
              "user content"
            ],
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": false

        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".effectiveTime.high or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at remission\"].value or .inboundRelationship[typeCode=SUBJ]source[classCode=CONC, moodCode=EVN].status=completed"
          },
          {
            "identity": "w5",
            "map": "when.done"

          }
        },
        {
          "path": "Condition.stage.modifierExtension",
          "definition": {
            "short": "Extensions that cannot be ignored",
            "formal": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
            "comments": "there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone.",
            "synonym": [
              "extensions",
              "user content"
            ],
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": false

        ]
      },
      {
        "path": "Condition.stage",
        "short": "Stage/grade, usually assessed formally",
        "definition": "Clinical stage or grade of a condition. May include formal severity assessments.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"

          }
        },
        {
          "path": "Condition.stage.summary",
          "definition": {
            "short": "Simple summary (disease specific)",
            "formal": "A simple summary of the stage such as \"Stage 3\". The determination of the stage is disease-specific.",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isModifier": false,
            "mapping": [
              {
                "identity": "rim",
                "map": ".value"
              }
            ]

        ],
        "constraint": [
          {
            "key": "con-1",
            "severity": "error",
            "human": "Stage SHALL have summary or assessment",
            "xpath": "exists(f:summary) or exists(f:assessment)"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]"
          }
        ]
      },
      {
        "path": "Condition.stage.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Condition.stage.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Condition.stage.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Condition.stage.summary",
        "short": "Simple summary (disease specific)",
        "definition": "A simple summary of the stage such as \"Stage 3\". The determination of the stage is disease-specific.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "condition": [
          "con-1"
        ],
        "isSummary": true,
        "binding": {
          "strength": "example",
          "description": "Codes describing condition stages (e.g. Cancer stages).",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/condition-stage"

          }
        },
        {
          "path": "Condition.stage.assessment",
          "definition": {
            "short": "Formal record of assessment",
            "formal": "Reference to a formal record of the evidence on which the staging assessment is based.",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ResourceReference",
                "profile": "http://hl7.org/fhir/profiles/Any"
              }
            ],
            "isModifier": false,
            "mapping": [
              {
                "identity": "rim",
                "map": ".self"
              }

        "mapping": [
          {
            "identity": "v2",
            "map": "PRB-14"
          },
          {
            "identity": "rim",
            "map": ".value"
          }
        ]
      },
      {
        "path": "Condition.stage.assessment",
        "short": "Formal record of assessment",
        "definition": "Reference to a formal record of the evidence on which the staging assessment is based.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/ClinicalImpression"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Observation"

            ]
          }
        ],
        "condition": [
          "con-1"
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".self"
          }
        ]
      },
      {
        "path": "Condition.evidence",
        "short": "Supporting evidence",
        "definition": "Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.",
        "comments": "The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "con-2",
            "severity": "error",
            "human": "evidence SHALL have code or details",
            "xpath": "exists(f:code) or exists(f:detail)"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "path": "Condition.evidence.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Condition.evidence.extension",
        "short": "Additional Content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "path": "Condition.evidence.modifierExtension",
        "short": "Extensions that cannot be ignored",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "path": "Condition.evidence.code",
        "short": "Manifestation/symptom",
        "definition": "A manifestation or symptom that led to the recording of this condition.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "condition": [
          "con-2"
        ],
        "isSummary": true,
        "binding": {
          "strength": "example",
          "description": "Codes that describe the manifestation or symptoms of a condition.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/manifestation-or-symptom"
          }

        },
        {
          "path": "Condition.evidence",
          "definition": {
            "short": "Supporting evidence",
            "formal": "Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.",
            "comments": "The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.",
            "min": 0,
            "max": "*",
            "constraint": [
              {
                "key": "2",
                "name": "Evidence",
                "severity": "error",
                "human": "evidence SHALL have code or details",
                "xpath": "exists(f:code) or exists(f:detail)"
              }
            ],
            "isModifier": false,
            "mapping": [
              {
                "identity": "rim",
                "map": ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]"
              }

        "mapping": [
          {
            "identity": "rim",
            "map": "[code=\"diagnosis\"].value"
          }
        ]
      },
      {
        "path": "Condition.evidence.detail",
        "short": "Supporting information found elsewhere",
        "definition": "Links to other relevant information, including pathology reports.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Resource"

            ]
          }
        },
        {
          "path": "Condition.evidence.extension",
          "definition": {
            "short": "Additional Content defined by implementations",
            "formal": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comments": "there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone.",
            "synonym": [
              "extensions",
              "user content"
            ],
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": false

        ],
        "condition": [
          "con-2"
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".self"

          }
        },
        {
          "path": "Condition.evidence.modifierExtension",
          "definition": {
            "short": "Extensions that cannot be ignored",
            "formal": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
            "comments": "there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone.",
            "synonym": [
              "extensions",
              "user content"
            ],
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": false

        ]
      },
      {
        "path": "Condition.bodySite",
        "short": "Anatomical location, if relevant",
        "definition": "The anatomical location where this condition manifests itself.",
        "comments": "May be a summary code, or a reference to a very precise definition of the location, or both.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "example",
          "description": "Codes describing anatomical locations. May include laterality.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/body-site"

          }
        },
        {
          "path": "Condition.evidence.code",
          "definition": {
            "short": "Manifestation/symptom",
            "formal": "A manifestation or symptom that led to the recording of this condition.",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isModifier": false,
            "mapping": [
              {
                "identity": "rim",
                "map": "[code=\"diagnosis\"].value"
              }

        "mapping": [
          {
            "identity": "rim",
            "map": ".targetBodySiteCode"
          }
        ]
      },
      {
        "path": "Condition.notes",
        "short": "Additional information about the Condition",
        "definition": "Additional information about the Condition. This is a general notes/comments entry  for description of the Condition, its diagnosis and prognosis.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "NTE child of PRB"
          },
          {
            "identity": "rim",
            "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "path": "Condition",
        "short": "Detailed information about conditions, problems or diagnoses",
        "definition": "Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a diagnosis during an encounter; populating a problem list or a summary statement, such as a discharge summary.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "DomainResource"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PPR message"
          },
          {
            "identity": "rim",
            "map": "Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value<Diagnosis]"
          },
          {
            "identity": "w5",
            "map": "clinical.general"
          }
        ]
      },
      {
        "path": "Condition.identifier",
        "short": "External Ids for this condition",
        "definition": "This records identifiers associated with this condition that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).",
        "requirements": "Need to allow connection to a wider workflow.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".id"
          },
          {
            "identity": "w5",
            "map": "id"
          }
        ]
      },
      {
        "path": "Condition.patient",
        "short": "Who has the condition?",
        "definition": "Indicates the patient who the condition record is associated with.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"

            ]
          }
        },
        {
          "path": "Condition.evidence.detail",
          "definition": {
            "short": "Supporting information found elsewhere",
            "formal": "Links to other relevant information, including pathology reports.",
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "ResourceReference",
                "profile": "http://hl7.org/fhir/profiles/Any"
              }
            ],
            "isModifier": false,
            "mapping": [
              {
                "identity": "rim",
                "map": ".self"
              }

        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-3"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role[classCode=PAT]"
          },
          {
            "identity": "w5",
            "map": "who.focus"
          }
        ]
      },
      {
        "path": "Condition.encounter",
        "short": "Encounter when condition first asserted",
        "definition": "Encounter during which the condition was first asserted.",
        "comments": "This record indicates the encounter this particular record is associated with.  In the case of a \"new\" diagnosis reflecting ongoing/revised information about the condition, this might be distinct from the first encounter in which the underlying condition was first \"known\".",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Encounter"

            ]
          }
        },
        {
          "path": "Condition.location",
          "definition": {
            "short": "Anatomical location, if relevant",
            "formal": "The anatomical location where this condition manifests itself.",
            "comments": "May be a summary code, or a reference to a very precise definition of the location, or both.",
            "min": 0,
            "max": "*",
            "constraint": [
              {
                "key": "3",
                "name": "Location",
                "severity": "error",
                "human": "location SHALL have code or details",
                "xpath": "exists(f:code) or exists(f:detail)"
              }
            ],
            "isModifier": false,
            "mapping": [
              {
                "identity": "rim",
                "map": ".targetBodySiteCode"
              }

        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PV1-19 (+PV1-54)"
          },
          {
            "identity": "rim",
            "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"
          },
          {
            "identity": "w5",
            "map": "context"
          }
        ]
      },
      {
        "path": "Condition.asserter",
        "short": "Person who asserts this condition",
        "definition": "Individual who is making the condition statement.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"

            ]
          }
        },
        {
          "path": "Condition.location.extension",
          "definition": {
            "short": "Additional Content defined by implementations",
            "formal": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comments": "there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone.",
            "synonym": [
              "extensions",
              "user content"
            ],
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": false

        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "REL-7.1 identifier + REL-7.12 type code"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT].role"
          },
          {
            "identity": "w5",
            "map": "who.author"

          }
        },
        {
          "path": "Condition.location.modifierExtension",
          "definition": {
            "short": "Extensions that cannot be ignored",
            "formal": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
            "comments": "there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone.",
            "synonym": [
              "extensions",
              "user content"
            ],
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": false

        ]
      },
      {
        "path": "Condition.dateRecorded",
        "short": "When first entered",
        "definition": "A date, when  the Condition statement was documented.",
        "comments": "The Date Recorded represents the date when this particular Condition record was created in the EHR, not the date of the most recent update in terms of when severity, abatement, etc. were specified.  The date of the last record modification can be retrieved from the resource metadata.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "date"

          }
        },
        {
          "path": "Condition.location.code",
          "definition": {
            "short": "Location - may include laterality",
            "formal": "Code that identifies the structural location.",
            "comments": "May include laterality.",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isModifier": false,
            "mapping": [
              {
                "identity": "rim",
                "map": ".self"
              }
            ]

        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "REL-11"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT].time"
          },
          {
            "identity": "w5",
            "map": "when.recorded"
          }
        ]
      },
      {
        "path": "Condition.code",
        "short": "Identification of the condition, problem or diagnosis",
        "definition": "Identification of the condition, problem or diagnosis.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "example",
          "description": "Identification of the condition or diagnosis.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/condition-code"

          }
        },
        {
          "path": "Condition.location.detail",
          "definition": {
            "short": "Precise location details",
            "formal": "Detailed anatomical location information.",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isModifier": false,
            "mapping": [
              {
                "identity": "rim",
                "map": ".originalText"
              }
            ]

        "mapping": [
          {
            "identity": "v2",
            "map": "PRB-3"
          },
          {
            "identity": "rim",
            "map": ".value"
          },
          {
            "identity": "w5",
            "map": "what"
          }
        ]
      },
      {
        "path": "Condition.category",
        "short": "complaint | symptom | finding | diagnosis",
        "definition": "A category assigned to the condition.",
        "comments": "The categorization is often highly contextual and may appear poorly differentiated or not very useful in other contexts.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "preferred",
          "description": "A category assigned to the condition.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/condition-category"

          }
        },
        {
          "path": "Condition.relatedItem",
          "definition": {
            "short": "Causes or precedents for this Condition",
            "formal": "Further conditions, problems, diagnoses, procedures or events that are related in some way to this condition, or the substance that caused/triggered this Condition.",
            "comments": "Although a condition may be caused by a substance, this is not intended to be used to record allergies/adverse reactions to substances.",
            "min": 0,
            "max": "*",
            "constraint": [
              {
                "key": "4",
                "name": "Relationship",
                "severity": "error",
                "human": "Relationship SHALL have either a code or a target",
                "xpath": "exists(f:code) != exists(f:target)"
              }
            ],
            "isModifier": false,
            "mapping": [
              {
                "identity": "rim",
                "map": ".outboundRelationship[typeCode=RSON, SAS]"
              },
              {
                "identity": "v2",
                "map": "could infer from presence of multiple PRB segments in a PPR message that the problems are related, but not clear how to communicate the nature of the relationship"
              }
            ]

        "mapping": [
          {
            "identity": "v2",
            "map": "'problem' if from PRB-3. 'diagnosis' if from DG1 segment in PV1 message"
          },
          {
            "identity": "rim",
            "map": ".code"
          },
          {
            "identity": "w5",
            "map": "class"
          }
        ]
      },
      {
        "path": "Condition.clinicalStatus",
        "short": "active | relapse | remission | resolved",
        "definition": "The clinical status of the condition.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "binding": {
          "strength": "preferred",
          "description": "The clinical status of the condition or diagnosis.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/condition-clinical"

          }
        },
        {
          "path": "Condition.relatedItem.extension",
          "definition": {
            "short": "Additional Content defined by implementations",
            "formal": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
            "comments": "there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone.",
            "synonym": [
              "extensions",
              "user content"
            ],
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": false

        "mapping": [
          {
            "identity": "v2",
            "map": "PRB-14 / DG1-6"
          },
          {
            "identity": "w5",
            "map": "status"
          }
        ]
      },
      {
        "path": "Condition.verificationStatus",
        "short": "provisional | differential | confirmed | refuted | entered-in-error | unknown",
        "definition": "The verification status to support the clinical status of the condition.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "binding": {
          "strength": "required",
          "description": "The verification status to support or decline the clinical status of the condition or diagnosis.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/condition-ver-status"

          }
        },
        {
          "path": "Condition.relatedItem.modifierExtension",
          "definition": {
            "short": "Extensions that cannot be ignored",
            "formal": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
            "comments": "there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone.",
            "synonym": [
              "extensions",
              "user content"
            ],
            "min": 0,
            "max": "*",
            "type": [
              {
                "code": "Extension"
              }
            ],
            "isModifier": false

        "mapping": [
          {
            "identity": "v2",
            "map": "PRB-13"
          },
          {
            "identity": "rim",
            "map": ".code (pre or post-coordinated in)  Can use valueNegationInd for refuted"
          },
          {
            "identity": "w5",
            "map": "status"
          }
        ]
      },
      {
        "path": "Condition.severity",
        "short": "Subjective severity of condition",
        "definition": "A subjective assessment of the severity of the condition as evaluated by the clinician.",
        "comments": "Coding of the severity with a terminology is preferred, where possible.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "preferred",
          "description": "A subjective assessment of the severity of the condition as evaluated by the clinician.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/condition-severity"

          }
        },
        {
          "path": "Condition.relatedItem.type",
          "definition": {
            "short": "due-to | following",
            "formal": "The type of relationship that this condition has to the related item.",
            "min": 1,
            "max": "1",
            "type": [
              {
                "code": "code"
              }
            ],
            "isModifier": false,
            "binding": {
              "name": "ConditionRelationshipType",
              "isExtensible": false,
              "conformance": "required",
              "referenceResource": {
                "reference": "http://hl7.org/fhir/vs/condition-relationship-type"
              }
            },
            "mapping": [
              {
                "identity": "rim",
                "map": ".typeCode"
              }

        "mapping": [
          {
            "identity": "v2",
            "map": "PRB-26 / ABS-3"
          },
          {
            "identity": "rim",
            "map": "Can be pre/post-coordinated into value.  Or ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"severity\"].value"
          },
          {
            "identity": "w5",
            "map": "grade"
          }
        ]
      },
      {
        "path": "Condition.onset[x]",
        "short": "Estimated or actual date,  date-time, or age",
        "definition": "Estimated or actual date or date-time  the condition began, in the opinion of the clinician.",
        "comments": "Age is generally used when the patient reports an age at which the Condition began to occur.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Age"

            ]
          },
          {
            "code": "Period"
          },
          {
            "code": "Range"
          },
          {
            "code": "string"

          }
        },
        {
          "path": "Condition.relatedItem.code",
          "definition": {
            "short": "Relationship target by means of a predefined code",
            "formal": "Code that identifies the target of this relationship. The code takes the place of a detailed instance target.",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "CodeableConcept"
              }
            ],
            "isModifier": false,
            "binding": {
              "name": "ConditionKind",
              "isExtensible": true,
              "conformance": "example",
              "referenceResource": {
                "reference": "http://hl7.org/fhir/vs/condition-code"
              }
            },
            "mapping": [
              {
                "identity": "rim",
                "map": ".target[classCode=OBS, moodCode=EVN].code"
              }

        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PRB-16"
          },
          {
            "identity": "rim",
            "map": ".effectiveTime.low or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at onset\"].value"
          },
          {
            "identity": "w5",
            "map": "when.init"
          }
        ]
      },
      {
        "path": "Condition.abatement[x]",
        "short": "If/when in resolution/remission",
        "definition": "The date or estimated date that the condition resolved or went into remission. This is called \"abatement\" because of the many overloaded connotations associated with \"remission\" or \"resolution\" - Conditions are never really resolved, but they can abate.",
        "comments": "There is no explicit distinction between resolution and remission because in many cases the distinction is not clear. Age is generally used when the patient reports an age at which the Condition abated.  If there is no abatement element, it is unknown whether the condition has resolved or entered remission; applications and users should generally assume that the condition is still valid.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Age"

            ]
          },
          {
            "code": "boolean"
          },
          {
            "code": "Period"
          },
          {
            "code": "Range"
          },
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".effectiveTime.high or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at remission\"].value or .inboundRelationship[typeCode=SUBJ]source[classCode=CONC, moodCode=EVN].status=completed"
          },
          {
            "identity": "w5",
            "map": "when.done"
          }
        ]
      },
      {
        "path": "Condition.stage",
        "short": "Stage/grade, usually assessed formally",
        "definition": "Clinical stage or grade of a condition. May include formal severity assessments.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "con-1",
            "severity": "error",
            "human": "Stage SHALL have summary or assessment",
            "xpath": "exists(f:summary) or exists(f:assessment)"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]"
          }
        ]
      },
      {
        "path": "Condition.stage.summary",
        "short": "Simple summary (disease specific)",
        "definition": "A simple summary of the stage such as \"Stage 3\". The determination of the stage is disease-specific.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "condition": [
          "con-1"
        ],
        "isSummary": true,
        "binding": {
          "strength": "example",
          "description": "Codes describing condition stages (e.g. Cancer stages).",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/condition-stage"

          }
        },
        {
          "path": "Condition.relatedItem.target",
          "definition": {
            "short": "Relationship target resource",
            "formal": "Target of the relationship.",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "ResourceReference",
                "profile": "http://hl7.org/fhir/profiles/Condition"
              },
              {
                "code": "ResourceReference",
                "profile": "http://hl7.org/fhir/profiles/Procedure"
              },
              {
                "code": "ResourceReference",
                "profile": "http://hl7.org/fhir/profiles/MedicationAdministration"
              },
              {
                "code": "ResourceReference",
                "profile": "http://hl7.org/fhir/profiles/Immunization"
              },
              {
                "code": "ResourceReference",
                "profile": "http://hl7.org/fhir/profiles/MedicationStatement"
              }
            ],
            "isModifier": false,
            "mapping": [
              {
                "identity": "rim",
                "map": ".target[classCode=OBS, moodCode=EVN]"
              }

        "mapping": [
          {
            "identity": "v2",
            "map": "PRB-14"
          },
          {
            "identity": "rim",
            "map": ".value"
          }
        ]
      },
      {
        "path": "Condition.stage.assessment",
        "short": "Formal record of assessment",
        "definition": "Reference to a formal record of the evidence on which the staging assessment is based.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/ClinicalImpression"

            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"
            ]
          },
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Observation"
            ]
          }
        ],
        "condition": [
          "con-1"
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".self"
          }
        ]
      },
      {
        "path": "Condition.evidence",
        "short": "Supporting evidence",
        "definition": "Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.",
        "comments": "The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "con-2",
            "severity": "error",
            "human": "evidence SHALL have code or details",
            "xpath": "exists(f:code) or exists(f:detail)"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "path": "Condition.evidence.code",
        "short": "Manifestation/symptom",
        "definition": "A manifestation or symptom that led to the recording of this condition.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "condition": [
          "con-2"
        ],
        "isSummary": true,
        "binding": {
          "strength": "example",
          "description": "Codes that describe the manifestation or symptoms of a condition.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/manifestation-or-symptom"

          }
        },
        {
          "path": "Condition.notes",
          "definition": {
            "short": "Additional information about the Condition",
            "formal": "Additional information about the Condition. This is a general notes/comments entry  for description of the Condition, its diagnosis and prognosis.",
            "min": 0,
            "max": "1",
            "type": [
              {
                "code": "string"
              }
            ],
            "isModifier": false,
            "mapping": [
              {
                "identity": "rim",
                "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"
              },
              {
                "identity": "v2",
                "map": "NTE child of PRB"
              }

        "mapping": [
          {
            "identity": "rim",
            "map": "[code=\"diagnosis\"].value"
          }
        ]
      },
      {
        "path": "Condition.evidence.detail",
        "short": "Supporting information found elsewhere",
        "definition": "Links to other relevant information, including pathology reports.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Resource"

            ]
          }
        }
      ],
      "searchParam": [
        {
          "name": "_id",
          "type": "token",
          "documentation": "The logical resource id associated with the resource (must be supported by all servers)"
        },
        {
          "name": "_language",
          "type": "token",
          "documentation": "The language of the resource"
        },
        {
          "name": "asserter",
          "type": "reference",
          "documentation": "Person who asserts this condition",
          "xpath": "f:Condition/f:asserter"
        },
        {
          "name": "category",
          "type": "token",
          "documentation": "The category of the condition",
          "xpath": "f:Condition/f:category"
        },
        {
          "name": "code",
          "type": "token",
          "documentation": "Code for the condition",
          "xpath": "f:Condition/f:code"
        },
        {
          "name": "date-asserted",
          "type": "date",
          "documentation": "When first detected/suspected/entered",
          "xpath": "f:Condition/f:dateAsserted"
        },
        {
          "name": "encounter",
          "type": "reference",
          "documentation": "Encounter when condition first asserted",
          "xpath": "f:Condition/f:encounter"
        },
        {
          "name": "evidence",
          "type": "token",
          "documentation": "Manifestation/symptom",
          "xpath": "f:Condition/f:evidence/f:code"
        },
        {
          "name": "location",
          "type": "token",
          "documentation": "Location - may include laterality",
          "xpath": "f:Condition/f:location/f:code"
        },
        {
          "name": "onset",
          "type": "date",
          "documentation": "When the Condition started (if started on a date)",
          "xpath": "f:Condition/f:onset[x]"
        },
        {
          "name": "related-code",
          "type": "token",
          "documentation": "Relationship target by means of a predefined code",
          "xpath": "f:Condition/f:relatedItem/f:code"
        },
        {
          "name": "related-item",
          "type": "reference",
          "documentation": "Relationship target resource",
          "xpath": "f:Condition/f:relatedItem/f:target"
        },
        {
          "name": "severity",
          "type": "token",
          "documentation": "The severity of the condition",
          "xpath": "f:Condition/f:severity"
        },
        {
          "name": "stage",
          "type": "token",
          "documentation": "Simple summary (disease specific)",
          "xpath": "f:Condition/f:stage/f:summary"
        },
        {
          "name": "status",
          "type": "token",
          "documentation": "The status of the condition",
          "xpath": "f:Condition/f:status"

        ],
        "condition": [
          "con-2"
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".self"
          }
        ]
      },
      {
        "path": "Condition.bodySite",
        "short": "Anatomical location, if relevant",
        "definition": "The anatomical location where this condition manifests itself.",
        "comments": "May be a summary code, or a reference to a very precise definition of the location, or both.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "example",
          "description": "Codes describing anatomical locations. May include laterality.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/body-site"
          }

        },
        {
          "name": "subject",
          "type": "reference",
          "documentation": "Who has the condition?",
          "xpath": "f:Condition/f:subject"
        }
      ]
    }
  ]

        "mapping": [
          {
            "identity": "rim",
            "map": ".targetBodySiteCode"
          }
        ]
      },
      {
        "path": "Condition.notes",
        "short": "Additional information about the Condition",
        "definition": "Additional information about the Condition. This is a general notes/comments entry  for description of the Condition, its diagnosis and prognosis.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "NTE child of PRB"
          },
          {
            "identity": "rim",
            "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"
          }
        ]
      }
    ]
  }

}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.