{
  "resourceType": "StructureDefinition",
  "id": "Condition-uv-ips",
  "meta": {
    "lastUpdated": "2018-02-27T14:32:05.203+00:00"
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">This profile represents the constraints applied to the Condition resource by the International Patient Summary (IPS) FHIR Implementation Guide. A record of an allergy or intolerance is represented in the patient summary as an instance of an AllergyIntolerance resource constrained by this profile.\n\nIt documents the relevant allergies or intolerances (conditions) for a patient, describing the kind of reaction (e.g. rash, anaphylaxis,..); preferably the agents that cause it; and optionally the criticality and the certainty of the allergy.</div>"
  },
  "url": "http://hl7.org/fhir/uv/ips/StructureDefinition/Condition-uv-ips",
  "version": "0.2.0",
  "name": "Condition_uv_ips",
  "title": "Condition (IPS)",
  "status": "draft",
  "date": "2018-03-20T00:00:00+00:00",
  "publisher": "HL7 International",
  "description": "This profile represents the constraints applied to the Condition resource by the International Patient Summary (IPS) FHIR Implementation Guide. A record of problem is represented in the patient summary as an instance of the Condition resource constrained by this profile.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001",
          "display": "World"
        }
      ]
    }
  ],
  "purpose": "Representation of a problem in the international patient summary",
  "fhirVersion": "4.0.0",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "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/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "sct-attr",
      "uri": "http://snomed.org/attributebinding",
      "name": "SNOMED CT Attribute Binding"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Condition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Condition",
        "path": "Condition",
        "short": "Documentation of a health problem of the patient",
        "mustSupport": true
      },
      {
        "id": "Condition.id",
        "path": "Condition.id",
        "mustSupport": true
      },
      {
        "id": "Condition.meta",
        "path": "Condition.meta",
        "mustSupport": true
      },
      {
        "id": "Condition.meta.profile",
        "path": "Condition.meta.profile",
        "mustSupport": true
      },
      {
        "id": "Condition.clinicalStatus",
        "path": "Condition.clinicalStatus",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Condition.verificationStatus",
        "path": "Condition.verificationStatus",
        "comment": "This 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.",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Condition.category",
        "path": "Condition.category",
        "definition": "A category assigned to the condition. In this profile, a health problem of the patient, therefore a 'problem-list-item'.",
        "comment": "In this profile, Condition represents a health problem of the patient. Therefore the code is fixed to the value problem-list-item.",
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ],
        "mustSupport": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionCategory"
            }
          ],
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/problem-type-uv-ips"
        }
      },
      {
        "id": "Condition.severity",
        "path": "Condition.severity",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ],
        "mustSupport": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ConditionSeverity"
            }
          ],
          "strength": "preferred",
          "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/condition-severity-uv-ips"
        }
      },
      {
        "id": "Condition.code",
        "path": "Condition.code",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding.system"
            }
          ],
          "description": "Discriminated by code system",
          "rules": "open"
        },
        "definition": "Identification of the condition, problem or diagnosis or recording of \"problem absent\" or of \"problems unknown\".",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ],
        "mustSupport": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ProblemCode"
            }
          ],
          "strength": "preferred",
          "description": "Identification of the problem",
          "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/core-problem-list-disorders-uv-ips"
        }
      },
      {
        "id": "Condition.code:absentOrUnknownProblem",
        "path": "Condition.code",
        "sliceName": "absentOrUnknownProblem",
        "short": "Code for absent problem or for unknown problem",
        "definition": "Code representing the statement \"absent problem\" or the statement \"problems unknown\"",
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
            ]
          }
        ],
        "mustSupport": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "absentOrUnknownProblem"
            }
          ],
          "strength": "required",
          "description": "Absent problem or unknown problem",
          "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/absent-or-unknown-problems-uv-ips"
        }
      },
      {
        "id": "Condition.code:absentOrUnknownProblem.coding",
        "path": "Condition.code.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Condition.code:absentOrUnknownProblem.coding.system",
        "path": "Condition.code.coding.system",
        "min": 1,
        "max": "1",
        "fixedUri": "http://hl7.org/fhir/uv/ips/CodeSystem/absent-unknown-uv-ips",
        "mustSupport": true
      },
      {
        "id": "Condition.subject",
        "path": "Condition.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Condition.subject.reference",
        "path": "Condition.subject.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Condition.onsetDateTime:onsetDateTime",
        "path": "Condition.onsetDateTime",
        "sliceName": "onsetDateTime",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Condition.abatement[x]",
        "path": "Condition.abatement[x]",
        "mustSupport": true
      },
      {
        "id": "Condition.asserter",
        "path": "Condition.asserter",
        "definition": "Individual who is making the condition statement.\r\nInformation source.",
        "mustSupport": true
      }
    ]
  }
}