FHIR Release 3 (STU)

This page is part of the FHIR Specification (v3.0.2: STU 3). 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.json

Patient Care Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Encounter, Patient, Practitioner, RelatedPerson

Raw JSON (canonical form)

StructureDefinition for condition

{
  "resourceType": "StructureDefinition",
  "id": "Condition",
  "meta": {
    "lastUpdated": "2019-10-24T11:53:00+11:00"
  },
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 3
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "pc"
    }
  ],
  "url": "http://hl7.org/fhir/StructureDefinition/Condition",
  "name": "Condition",
  "status": "draft",
  "date": "2019-10-24T11:53:00+11:00",
  "publisher": "Health Level Seven International (Patient Care)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        }
      ]
    },
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/patientcare/index.cfm"
        }
      ]
    }
  ],
  "description": "Base StructureDefinition for Condition Resource",
  "fhirVersion": "3.0.2",
  "mapping": [
    {
      "identity": "sct-concept",
      "uri": "http://snomed.info/conceptdomain",
      "name": "SNOMED CT Concept Domain Binding"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    },
    {
      "identity": "sct-attr",
      "uri": "http://snomed.info/sct",
      "name": "SNOMED CT Attribute Binding"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Condition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource",
  "derivation": "specialization",
  "snapshot": {
    "element": [
      {
        "id": "Condition",
        "path": "Condition",
        "short": "Detailed information about conditions, problems or diagnoses",
        "definition": "A clinical condition, problem, diagnosis, or other event, situation, issue, or clinical concept that has risen to a level of concern.",
        "min": 0,
        "max": "*",
        "constraint": [
          {
            "key": "dom-2",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
            "expression": "contained.contained.empty()",
            "xpath": "not(parent::f:contained and f:contained)",
            "source": "DomainResource"
          },
          {
            "key": "dom-1",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
            "expression": "contained.text.empty()",
            "xpath": "not(parent::f:contained and f:text)",
            "source": "DomainResource"
          },
          {
            "key": "dom-4",
            "severity": "error",
            "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
            "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
            "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
            "source": "DomainResource"
          },
          {
            "key": "dom-3",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
            "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()",
            "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
            "source": "DomainResource"
          },
          {
            "key": "con-4",
            "severity": "error",
            "human": "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission",
            "expression": "abatement.empty() or (abatement as boolean).not()  or clinicalStatus='resolved' or clinicalStatus='remission' or clinicalStatus='inactive'",
            "xpath": "not(exists(*[starts-with(local-name(.), 'abatement')])) or f:clinicalStatus/@value=('resolved', 'remission', 'inactive')"
          },
          {
            "key": "con-3",
            "severity": "error",
            "human": "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error",
            "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()",
            "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Entity. Role, or Act"
          },
          {
            "identity": "sct-concept",
            "map": "< 243796009 |Situation with explicit context|:\n246090004 |Associated finding| =\n((< 404684003 |Clinical finding| MINUS\n<< 420134006 |Propensity to adverse reactions| MINUS \n<< 473010000 |Hypersensitivity condition| MINUS \n<< 79899007 |Drug interaction| MINUS\n<< 69449002 |Drug action| MINUS \n<< 441742003 |Evaluation finding| MINUS \n<< 307824009 |Administrative status| MINUS \n<< 385356007 |Tumor stage finding|) OR\n< 272379006 |Event|)"
          },
          {
            "identity": "v2",
            "map": "PPR message"
          },
          {
            "identity": "rim",
            "map": "Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value<Diagnosis]"
          },
          {
            "identity": "w5",
            "map": "clinical.general"
          }
        ]
      },
      {
        "id": "Condition.id",
        "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.",
        "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Condition.meta",
        "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",
        "base": {
          "path": "Resource.meta",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Meta"
          }
        ],
        "isSummary": true
      },
      {
        "id": "Condition.implicitRules",
        "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.",
        "comment": "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. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.implicitRules",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "isModifier": true,
        "isSummary": true
      },
      {
        "id": "Condition.language",
        "path": "Condition.language",
        "short": "Language of the resource content",
        "definition": "The base language in which the resource is written.",
        "comment": "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",
        "base": {
          "path": "Resource.language",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueReference": {
                "reference": "http://hl7.org/fhir/ValueSet/all-languages"
              }
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "Language"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean": true
            }
          ],
          "strength": "extensible",
          "description": "A human language.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/languages"
          }
        }
      },
      {
        "id": "Condition.text",
        "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.",
        "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.",
        "alias": [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "DomainResource.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Narrative"
          }
        ],
        "condition": [
          "dom-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Act.text?"
          }
        ]
      },
      {
        "id": "Condition.contained",
        "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.",
        "comment": "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": "*",
        "base": {
          "path": "DomainResource.contained",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Resource"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Condition.extension",
        "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.",
        "comment": "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": "*",
        "base": {
          "path": "DomainResource.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Condition.modifierExtension",
        "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.",
        "comment": "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": "*",
        "base": {
          "path": "DomainResource.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Condition.identifier",
        "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"
          }
        ]
      },
      {
        "id": "Condition.clinicalStatus",
        "path": "Condition.clinicalStatus",
        "short": "active | recurrence | inactive | remission | resolved",
        "definition": "The clinical status of the condition.",
        "comment": "This element is labeled as a modifier because the status contains codes that mark the condition as not currently valid or of concern.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "con-3",
          "con-4"
        ],
        "isModifier": true,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionClinicalStatus"
            }
          ],
          "strength": "required",
          "description": "The clinical status of the condition or diagnosis.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/condition-clinical"
          }
        },
        "mapping": [
          {
            "identity": "sct-concept",
            "map": "< 303105007 |Disease phases|"
          },
          {
            "identity": "v2",
            "map": "PRB-14 / DG1-6"
          },
          {
            "identity": "rim",
            "map": "Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"clinicalStatus\", moodCode=EVN].value"
          },
          {
            "identity": "w5",
            "map": "status"
          }
        ]
      },
      {
        "id": "Condition.verificationStatus",
        "path": "Condition.verificationStatus",
        "short": "provisional | differential | confirmed | refuted | entered-in-error | unknown",
        "definition": "The verification status to support the clinical status of the condition.",
        "comment": "verificationStatus is not required.  For example, when a patient has abdominal pain in the ED, there is not likely going to be a verification status.\n\nThis element is labeled as a modifier because the status contains the code refuted and entered-in-error that mark the Condition as not currently valid.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "defaultValueCode": "unknown",
        "condition": [
          "con-3"
        ],
        "isModifier": true,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionVerificationStatus"
            }
          ],
          "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"
          }
        },
        "mapping": [
          {
            "identity": "sct-concept",
            "map": "< 410514004 |Finding context value|"
          },
          {
            "identity": "v2",
            "map": "PRB-13"
          },
          {
            "identity": "rim",
            "map": "Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"verificationStatus\", moodCode=EVN].value"
          },
          {
            "identity": "sct-attr",
            "map": "408729009"
          },
          {
            "identity": "w5",
            "map": "status"
          }
        ]
      },
      {
        "id": "Condition.category",
        "path": "Condition.category",
        "short": "problem-list-item | encounter-diagnosis",
        "definition": "A category assigned to the condition.",
        "comment": "The categorization is often highly contextual and may appear poorly differentiated or not very useful in other contexts.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionCategory"
            }
          ],
          "strength": "example",
          "description": "A category assigned to the condition.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/condition-category"
          }
        },
        "mapping": [
          {
            "identity": "sct-concept",
            "map": "< 404684003 |Clinical finding|"
          },
          {
            "identity": "v2",
            "map": "'problem' if from PRB-3. 'diagnosis' if from DG1 segment in PV1 message"
          },
          {
            "identity": "rim",
            "map": ".code"
          },
          {
            "identity": "w5",
            "map": "class"
          }
        ]
      },
      {
        "id": "Condition.severity",
        "path": "Condition.severity",
        "short": "Subjective severity of condition",
        "definition": "A subjective assessment of the severity of the condition as evaluated by the clinician.",
        "comment": "Coding of the severity with a terminology is preferred, where possible.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionSeverity"
            }
          ],
          "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"
          }
        },
        "mapping": [
          {
            "identity": "sct-concept",
            "map": "< 272141005 |Severities|"
          },
          {
            "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": "sct-attr",
            "map": "246112005"
          },
          {
            "identity": "w5",
            "map": "grade"
          }
        ]
      },
      {
        "id": "Condition.code",
        "path": "Condition.code",
        "short": "Identification of the condition, problem or diagnosis",
        "definition": "Identification of the condition, problem or diagnosis.",
        "requirements": "0..1 to account for primarily narrative only resources.",
        "alias": [
          "type"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionKind"
            }
          ],
          "strength": "example",
          "description": "Identification of the condition or diagnosis.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/condition-code"
          }
        },
        "mapping": [
          {
            "identity": "sct-concept",
            "map": "code 246090004 |Associated finding| (< 404684003 |Clinical finding| MINUS\n<< 420134006 |Propensity to adverse reactions| MINUS \n<< 473010000 |Hypersensitivity condition| MINUS \n<< 79899007 |Drug interaction| MINUS\n<< 69449002 |Drug action| MINUS \n<< 441742003 |Evaluation finding| MINUS \n<< 307824009 |Administrative status| MINUS \n<< 385356007 |Tumor stage finding|) \nOR < 413350009 |Finding with explicit context|\nOR < 272379006 |Event|"
          },
          {
            "identity": "v2",
            "map": "PRB-3"
          },
          {
            "identity": "rim",
            "map": ".value"
          },
          {
            "identity": "sct-attr",
            "map": "246090004"
          },
          {
            "identity": "w5",
            "map": "what"
          }
        ]
      },
      {
        "id": "Condition.bodySite",
        "path": "Condition.bodySite",
        "short": "Anatomical location, if relevant",
        "definition": "The anatomical location where this condition manifests itself.",
        "comment": "Only used if not implicit in code found in Condition.code. If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [body-site-instance](extension-body-site-instance.html).  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": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "BodySite"
            }
          ],
          "strength": "example",
          "description": "Codes describing anatomical locations. May include laterality.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/body-site"
          }
        },
        "mapping": [
          {
            "identity": "sct-concept",
            "map": "< 442083009  |Anatomical or acquired body structure|"
          },
          {
            "identity": "rim",
            "map": ".targetBodySiteCode"
          },
          {
            "identity": "sct-attr",
            "map": "363698007"
          }
        ]
      },
      {
        "id": "Condition.subject",
        "path": "Condition.subject",
        "short": "Who has the condition?",
        "definition": "Indicates the patient or group who the condition record is associated with.",
        "requirements": "Group is typically used for veterinary or public health use cases.",
        "alias": [
          "patient"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-3"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role[classCode=PAT]"
          },
          {
            "identity": "w5",
            "map": "who.focus"
          }
        ]
      },
      {
        "id": "Condition.context",
        "path": "Condition.context",
        "short": "Encounter or episode when condition first asserted",
        "definition": "Encounter during which the condition was first asserted.",
        "comment": "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\".",
        "alias": [
          "encounter"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
          }
        ],
        "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"
          }
        ]
      },
      {
        "id": "Condition.onset[x]",
        "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.",
        "comment": "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": "Age"
          },
          {
            "code": "Period"
          },
          {
            "code": "Range"
          },
          {
            "code": "string"
          }
        ],
        "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"
          }
        ]
      },
      {
        "id": "Condition.abatement[x]",
        "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.",
        "comment": "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.  When abatementString exists, it implies the condition is abated.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Age"
          },
          {
            "code": "boolean"
          },
          {
            "code": "Period"
          },
          {
            "code": "Range"
          },
          {
            "code": "string"
          }
        ],
        "condition": [
          "con-4"
        ],
        "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"
          }
        ]
      },
      {
        "id": "Condition.assertedDate",
        "path": "Condition.assertedDate",
        "short": "Date record was believed accurate",
        "definition": "The date on which the existance of the Condition was first asserted or acknowledged.",
        "comment": "The assertedDate 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": "dateTime"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "REL-11"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT].time"
          },
          {
            "identity": "w5",
            "map": "when.recorded"
          }
        ]
      },
      {
        "id": "Condition.asserter",
        "path": "Condition.asserter",
        "short": "Person who asserts this condition",
        "definition": "Individual who is making the condition statement.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
          }
        ],
        "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"
          }
        ]
      },
      {
        "id": "Condition.stage",
        "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": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "Element"
          },
          {
            "key": "con-1",
            "severity": "error",
            "human": "Stage SHALL have summary or assessment",
            "expression": "summary.exists() or assessment.exists()",
            "xpath": "exists(f:summary) or exists(f:assessment)"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]"
          }
        ]
      },
      {
        "id": "Condition.stage.id",
        "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). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Condition.stage.extension",
        "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.",
        "comment": "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": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Condition.stage.modifierExtension",
        "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.",
        "comment": "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": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Condition.stage.summary",
        "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"
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionStage"
            }
          ],
          "strength": "example",
          "description": "Codes describing condition stages (e.g. Cancer stages).",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/condition-stage"
          }
        },
        "mapping": [
          {
            "identity": "sct-concept",
            "map": "< 254291000 |Staging and scales|"
          },
          {
            "identity": "v2",
            "map": "PRB-14"
          },
          {
            "identity": "rim",
            "map": ".value"
          }
        ]
      },
      {
        "id": "Condition.stage.assessment",
        "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",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/ClinicalImpression"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation"
          }
        ],
        "condition": [
          "con-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".self"
          }
        ]
      },
      {
        "id": "Condition.evidence",
        "path": "Condition.evidence",
        "short": "Supporting evidence",
        "definition": "Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.",
        "comment": "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": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "Element"
          },
          {
            "key": "con-2",
            "severity": "error",
            "human": "evidence SHALL have code or details",
            "expression": "code.exists() or detail.exists()",
            "xpath": "exists(f:code) or exists(f:detail)"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "Condition.evidence.id",
        "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). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Condition.evidence.extension",
        "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.",
        "comment": "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": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Condition.evidence.modifierExtension",
        "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.",
        "comment": "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": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Condition.evidence.code",
        "path": "Condition.evidence.code",
        "short": "Manifestation/symptom",
        "definition": "A manifestation or symptom that led to the recording of this condition.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "condition": [
          "con-2"
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ManifestationOrSymptom"
            }
          ],
          "strength": "example",
          "description": "Codes that describe the manifestation or symptoms of a condition.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/manifestation-or-symptom"
          }
        },
        "mapping": [
          {
            "identity": "sct-concept",
            "map": "< 404684003 |Clinical finding|"
          },
          {
            "identity": "rim",
            "map": "[code=\"diagnosis\"].value"
          },
          {
            "identity": "w5",
            "map": "why"
          }
        ]
      },
      {
        "id": "Condition.evidence.detail",
        "path": "Condition.evidence.detail",
        "short": "Supporting information found elsewhere",
        "definition": "Links to other relevant information, including pathology reports.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "con-2"
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".self"
          },
          {
            "identity": "w5",
            "map": "why"
          }
        ]
      },
      {
        "id": "Condition.note",
        "path": "Condition.note",
        "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": "*",
        "type": [
          {
            "code": "Annotation"
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "NTE child of PRB"
          },
          {
            "identity": "rim",
            "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "Condition",
        "path": "Condition",
        "short": "Detailed information about conditions, problems or diagnoses",
        "definition": "A clinical condition, problem, diagnosis, or other event, situation, issue, or clinical concept that has risen to a level of concern.",
        "min": 0,
        "max": "*",
        "constraint": [
          {
            "key": "con-4",
            "severity": "error",
            "human": "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission",
            "expression": "abatement.empty() or (abatement as boolean).not()  or clinicalStatus='resolved' or clinicalStatus='remission' or clinicalStatus='inactive'",
            "xpath": "not(exists(*[starts-with(local-name(.), 'abatement')])) or f:clinicalStatus/@value=('resolved', 'remission', 'inactive')"
          },
          {
            "key": "con-3",
            "severity": "error",
            "human": "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error",
            "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()",
            "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)"
          }
        ],
        "mapping": [
          {
            "identity": "sct-concept",
            "map": "< 243796009 |Situation with explicit context|:\n246090004 |Associated finding| =\n((< 404684003 |Clinical finding| MINUS\n<< 420134006 |Propensity to adverse reactions| MINUS \n<< 473010000 |Hypersensitivity condition| MINUS \n<< 79899007 |Drug interaction| MINUS\n<< 69449002 |Drug action| MINUS \n<< 441742003 |Evaluation finding| MINUS \n<< 307824009 |Administrative status| MINUS \n<< 385356007 |Tumor stage finding|) OR\n< 272379006 |Event|)"
          },
          {
            "identity": "v2",
            "map": "PPR message"
          },
          {
            "identity": "rim",
            "map": "Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value<Diagnosis]"
          },
          {
            "identity": "w5",
            "map": "clinical.general"
          }
        ]
      },
      {
        "id": "Condition.identifier",
        "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"
          }
        ]
      },
      {
        "id": "Condition.clinicalStatus",
        "path": "Condition.clinicalStatus",
        "short": "active | recurrence | inactive | remission | resolved",
        "definition": "The clinical status of the condition.",
        "comment": "This element is labeled as a modifier because the status contains codes that mark the condition as not currently valid or of concern.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "con-3",
          "con-4"
        ],
        "isModifier": true,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionClinicalStatus"
            }
          ],
          "strength": "required",
          "description": "The clinical status of the condition or diagnosis.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/condition-clinical"
          }
        },
        "mapping": [
          {
            "identity": "sct-concept",
            "map": "< 303105007 |Disease phases|"
          },
          {
            "identity": "v2",
            "map": "PRB-14 / DG1-6"
          },
          {
            "identity": "rim",
            "map": "Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"clinicalStatus\", moodCode=EVN].value"
          },
          {
            "identity": "w5",
            "map": "status"
          }
        ]
      },
      {
        "id": "Condition.verificationStatus",
        "path": "Condition.verificationStatus",
        "short": "provisional | differential | confirmed | refuted | entered-in-error | unknown",
        "definition": "The verification status to support the clinical status of the condition.",
        "comment": "verificationStatus is not required.  For example, when a patient has abdominal pain in the ED, there is not likely going to be a verification status.\n\nThis element is labeled as a modifier because the status contains the code refuted and entered-in-error that mark the Condition as not currently valid.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "defaultValueCode": "unknown",
        "condition": [
          "con-3"
        ],
        "isModifier": true,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionVerificationStatus"
            }
          ],
          "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"
          }
        },
        "mapping": [
          {
            "identity": "sct-concept",
            "map": "< 410514004 |Finding context value|"
          },
          {
            "identity": "v2",
            "map": "PRB-13"
          },
          {
            "identity": "rim",
            "map": "Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"verificationStatus\", moodCode=EVN].value"
          },
          {
            "identity": "sct-attr",
            "map": "408729009"
          },
          {
            "identity": "w5",
            "map": "status"
          }
        ]
      },
      {
        "id": "Condition.category",
        "path": "Condition.category",
        "short": "problem-list-item | encounter-diagnosis",
        "definition": "A category assigned to the condition.",
        "comment": "The categorization is often highly contextual and may appear poorly differentiated or not very useful in other contexts.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionCategory"
            }
          ],
          "strength": "example",
          "description": "A category assigned to the condition.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/condition-category"
          }
        },
        "mapping": [
          {
            "identity": "sct-concept",
            "map": "< 404684003 |Clinical finding|"
          },
          {
            "identity": "v2",
            "map": "'problem' if from PRB-3. 'diagnosis' if from DG1 segment in PV1 message"
          },
          {
            "identity": "rim",
            "map": ".code"
          },
          {
            "identity": "w5",
            "map": "class"
          }
        ]
      },
      {
        "id": "Condition.severity",
        "path": "Condition.severity",
        "short": "Subjective severity of condition",
        "definition": "A subjective assessment of the severity of the condition as evaluated by the clinician.",
        "comment": "Coding of the severity with a terminology is preferred, where possible.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionSeverity"
            }
          ],
          "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"
          }
        },
        "mapping": [
          {
            "identity": "sct-concept",
            "map": "< 272141005 |Severities|"
          },
          {
            "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": "sct-attr",
            "map": "246112005"
          },
          {
            "identity": "w5",
            "map": "grade"
          }
        ]
      },
      {
        "id": "Condition.code",
        "path": "Condition.code",
        "short": "Identification of the condition, problem or diagnosis",
        "definition": "Identification of the condition, problem or diagnosis.",
        "requirements": "0..1 to account for primarily narrative only resources.",
        "alias": [
          "type"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionKind"
            }
          ],
          "strength": "example",
          "description": "Identification of the condition or diagnosis.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/condition-code"
          }
        },
        "mapping": [
          {
            "identity": "sct-concept",
            "map": "code 246090004 |Associated finding| (< 404684003 |Clinical finding| MINUS\n<< 420134006 |Propensity to adverse reactions| MINUS \n<< 473010000 |Hypersensitivity condition| MINUS \n<< 79899007 |Drug interaction| MINUS\n<< 69449002 |Drug action| MINUS \n<< 441742003 |Evaluation finding| MINUS \n<< 307824009 |Administrative status| MINUS \n<< 385356007 |Tumor stage finding|) \nOR < 413350009 |Finding with explicit context|\nOR < 272379006 |Event|"
          },
          {
            "identity": "v2",
            "map": "PRB-3"
          },
          {
            "identity": "rim",
            "map": ".value"
          },
          {
            "identity": "sct-attr",
            "map": "246090004"
          },
          {
            "identity": "w5",
            "map": "what"
          }
        ]
      },
      {
        "id": "Condition.bodySite",
        "path": "Condition.bodySite",
        "short": "Anatomical location, if relevant",
        "definition": "The anatomical location where this condition manifests itself.",
        "comment": "Only used if not implicit in code found in Condition.code. If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [body-site-instance](extension-body-site-instance.html).  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": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "BodySite"
            }
          ],
          "strength": "example",
          "description": "Codes describing anatomical locations. May include laterality.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/body-site"
          }
        },
        "mapping": [
          {
            "identity": "sct-concept",
            "map": "< 442083009  |Anatomical or acquired body structure|"
          },
          {
            "identity": "rim",
            "map": ".targetBodySiteCode"
          },
          {
            "identity": "sct-attr",
            "map": "363698007"
          }
        ]
      },
      {
        "id": "Condition.subject",
        "path": "Condition.subject",
        "short": "Who has the condition?",
        "definition": "Indicates the patient or group who the condition record is associated with.",
        "requirements": "Group is typically used for veterinary or public health use cases.",
        "alias": [
          "patient"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-3"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role[classCode=PAT]"
          },
          {
            "identity": "w5",
            "map": "who.focus"
          }
        ]
      },
      {
        "id": "Condition.context",
        "path": "Condition.context",
        "short": "Encounter or episode when condition first asserted",
        "definition": "Encounter during which the condition was first asserted.",
        "comment": "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\".",
        "alias": [
          "encounter"
        ],
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
          }
        ],
        "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"
          }
        ]
      },
      {
        "id": "Condition.onset[x]",
        "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.",
        "comment": "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": "Age"
          },
          {
            "code": "Period"
          },
          {
            "code": "Range"
          },
          {
            "code": "string"
          }
        ],
        "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"
          }
        ]
      },
      {
        "id": "Condition.abatement[x]",
        "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.",
        "comment": "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.  When abatementString exists, it implies the condition is abated.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Age"
          },
          {
            "code": "boolean"
          },
          {
            "code": "Period"
          },
          {
            "code": "Range"
          },
          {
            "code": "string"
          }
        ],
        "condition": [
          "con-4"
        ],
        "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"
          }
        ]
      },
      {
        "id": "Condition.assertedDate",
        "path": "Condition.assertedDate",
        "short": "Date record was believed accurate",
        "definition": "The date on which the existance of the Condition was first asserted or acknowledged.",
        "comment": "The assertedDate 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": "dateTime"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "REL-11"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT].time"
          },
          {
            "identity": "w5",
            "map": "when.recorded"
          }
        ]
      },
      {
        "id": "Condition.asserter",
        "path": "Condition.asserter",
        "short": "Person who asserts this condition",
        "definition": "Individual who is making the condition statement.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
          }
        ],
        "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"
          }
        ]
      },
      {
        "id": "Condition.stage",
        "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",
            "expression": "summary.exists() or assessment.exists()",
            "xpath": "exists(f:summary) or exists(f:assessment)"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]"
          }
        ]
      },
      {
        "id": "Condition.stage.summary",
        "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"
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionStage"
            }
          ],
          "strength": "example",
          "description": "Codes describing condition stages (e.g. Cancer stages).",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/condition-stage"
          }
        },
        "mapping": [
          {
            "identity": "sct-concept",
            "map": "< 254291000 |Staging and scales|"
          },
          {
            "identity": "v2",
            "map": "PRB-14"
          },
          {
            "identity": "rim",
            "map": ".value"
          }
        ]
      },
      {
        "id": "Condition.stage.assessment",
        "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",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/ClinicalImpression"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation"
          }
        ],
        "condition": [
          "con-1"
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".self"
          }
        ]
      },
      {
        "id": "Condition.evidence",
        "path": "Condition.evidence",
        "short": "Supporting evidence",
        "definition": "Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.",
        "comment": "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",
            "expression": "code.exists() or detail.exists()",
            "xpath": "exists(f:code) or exists(f:detail)"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "Condition.evidence.code",
        "path": "Condition.evidence.code",
        "short": "Manifestation/symptom",
        "definition": "A manifestation or symptom that led to the recording of this condition.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "condition": [
          "con-2"
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ManifestationOrSymptom"
            }
          ],
          "strength": "example",
          "description": "Codes that describe the manifestation or symptoms of a condition.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/manifestation-or-symptom"
          }
        },
        "mapping": [
          {
            "identity": "sct-concept",
            "map": "< 404684003 |Clinical finding|"
          },
          {
            "identity": "rim",
            "map": "[code=\"diagnosis\"].value"
          },
          {
            "identity": "w5",
            "map": "why"
          }
        ]
      },
      {
        "id": "Condition.evidence.detail",
        "path": "Condition.evidence.detail",
        "short": "Supporting information found elsewhere",
        "definition": "Links to other relevant information, including pathology reports.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "con-2"
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": ".self"
          },
          {
            "identity": "w5",
            "map": "why"
          }
        ]
      },
      {
        "id": "Condition.note",
        "path": "Condition.note",
        "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": "*",
        "type": [
          {
            "code": "Annotation"
          }
        ],
        "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.