{
  "resourceType": "StructureDefinition",
  "id": "Condition-uv-ips",
  "meta": {
    "lastUpdated": "2018-02-27T14:32:05.203+00:00"
  },
  "url": "http://hl7.org/fhir/uv/ips/StructureDefinition/Condition-uv-ips",
  "version": "0.2.0",
  "name": "ConditionUvIps",
  "title": "Condition (IPS)",
  "status": "active",
  "date": "2018-03-20",
  "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.",
  "purpose": "Representation of a problem in the international patient summary",
  "kind": "resource",
  "abstract": false,
  "type": "Condition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Condition",
        "path": "Condition",
        "short": "Documentation of a health problem of the patient",
        "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 one of the category value(s) must be problem-list-item.",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSetUnknownType_StructureDefinition.differential.element[3].binding": "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",
          "valueSetUnknownType_StructureDefinition.differential.element[4].binding": "http://hl7.org/fhir/uv/ips/ValueSet/condition-severity-uv-ips"
        }
      },
      {
        "id": "Condition.code",
        "path": "Condition.code",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "description": "Discriminated by the bound value set",
          "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
      },
      {
        "id": "Condition.code:problemGPSCode",
        "path": "Condition.code",
        "sliceName": "problemGPSCode",
        "short": "Code for a problem from the SNOMED CT GPS code set",
        "definition": "Code for a clinical problem that is selected from the SNOMED CT GPS code set.",
        "min": 0,
        "max": "1",
        "mustSupport": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "problemGPSCode"
            }
          ],
          "strength": "required",
          "description": "Absent problem or unknown problem",
          "valueSetUnknownType_StructureDefinition.differential.element[6].binding": "http://hl7.org/fhir/uv/ips/ValueSet/core-problem-finding-situation-event-gps-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\"",
        "min": 0,
        "max": "1",
        "mustSupport": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "absentOrUnknownProblem"
            }
          ],
          "strength": "required",
          "description": "Absent problem or unknown problem",
          "valueSetUnknownType_StructureDefinition.differential.element[7].binding": "http://hl7.org/fhir/uv/ips/ValueSet/absent-or-unknown-problems-uv-ips"
        }
      },
      {
        "id": "Condition.bodySite",
        "path": "Condition.bodySite",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": "http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "BodySite"
            }
          ],
          "strength": "example",
          "valueSetUnknownType_StructureDefinition.differential.element[8].binding": "http://hl7.org/fhir/ValueSet/body-site"
        }
      },
      {
        "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",
        "path": "Condition.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
      }
    ]
  }
}