{
  "resourceType": "StructureDefinition",
  "id": "Condition-verto",
  "url": "http://verto.ca/fhir/StructureDefinition/Condition-verto",
  "version": "1.0.0",
  "name": "Condition",
  "title": "Verto's Condition Profile",
  "status": "active",
  "experimental": true,
  "date": "2025-01-13",
  "publisher": "Verto Health",
  "description": "Condition Profile constrained by Verto's Digital Twin",
  "fhirVersion": "5.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "Condition",
  "baseDefinition": "http://hl7.org/fhir/R5/StructureDefinition/Condition",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Condition",
        "path": "Condition",
        "short": "Verto's Condition Profile",
        "definition": "Detailed information about a condition, problem, diagnosis, or other event"
      },
      {
        "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 id is auto-generated as a UUID by Verto when the resource is created, and is used as an internal identifier within the Digital Twin. It has no business meaning outside of the Digital Twin's context.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Resource.id",
          "min": 0,
          "max": "1"
        },
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Condition.identifier",
        "path": "Condition.identifier",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Condition.clinicalStatus",
        "path": "Condition.clinicalStatus",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/condition-clinical"
        }
      },
      {
        "id": "Condition.category",
        "path": "Condition.category",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "preferred",
          "valueSet": "http://hl7.org/fhir/ValueSet/condition-category"
        }
      },
      {
        "id": "Condition.severity",
        "path": "Condition.severity",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "preferred",
          "valueSet": "http://hl7.org/fhir/ValueSet/condition-severity"
        }
      },
      {
        "id": "Condition.code",
        "path": "Condition.code",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "example",
          "valueSet": "http://hl7.org/fhir/ValueSet/condition-code"
        }
      },
      {
        "id": "Condition.bodySite",
        "path": "Condition.bodySite",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "example",
          "valueSet": "http://hl7.org/fhir/ValueSet/body-site"
        }
      },
      {
        "id": "Condition.subject",
        "path": "Condition.subject",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://verto.ca/fhir/StructureDefinition/Verto's Patient Profile",
              "http://hl7.org/fhir/StructureDefinition/Group"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Condition.encounter",
        "path": "Condition.encounter",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Encounter"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Condition.onset[x]",
        "path": "Condition.onset[x]",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Period"
          },
          {
            "code": "Range"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Condition.abatement[x]",
        "path": "Condition.abatement[x]",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          },
          {
            "code": "Period"
          },
          {
            "code": "Range"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Condition.recordedDate",
        "path": "Condition.recordedDate",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Condition.recorder",
        "path": "Condition.recorder",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
              "http://verto.ca/fhir/StructureDefinition/Verto's Patient Profile",
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Condition.asserter",
        "path": "Condition.asserter",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
              "http://verto.ca/fhir/StructureDefinition/Verto's Patient Profile",
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Condition.stage",
        "path": "Condition.stage",
        "short": "Stage/grade, usually assessed formally",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Condition.stage.summary",
        "path": "Condition.stage.summary",
        "short": "Simple summary (disease specific)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "example",
          "description": "Simple summary of stage/grade.",
          "valueSet": "http://hl7.org/fhir/ValueSet/condition-stage"
        }
      },
      {
        "id": "Condition.stage.type",
        "path": "Condition.stage.type",
        "short": "Kind of staging",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "example",
          "description": "Type of staging.",
          "valueSet": "http://hl7.org/fhir/ValueSet/condition-stage-type"
        }
      }
    ]
  }
}