{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.cambio.se/StructureDefinition/ConditionHealthIssueSe/v1",
  "version": "1.0.0",
  "name": "ConditionHealthIssueSe",
  "status": "active",
  "description": "This profile is intended to support fetching basic health issue data.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Condition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Condition.id",
        "path": "Condition.id",
        "definition": "The logical id of the condition, as used in the URL for the resource. Once assigned, this value never changes. However, note that this is also a temporary id."
      },
      {
        "id": "Condition.meta",
        "path": "Condition.meta",
        "max": "0"
      },
      {
        "id": "Condition.implicitRules",
        "path": "Condition.implicitRules",
        "max": "0"
      },
      {
        "id": "Condition.language",
        "path": "Condition.language",
        "max": "0"
      },
      {
        "id": "Condition.text",
        "path": "Condition.text",
        "max": "0"
      },
      {
        "id": "Condition.contained",
        "path": "Condition.contained",
        "max": "0"
      },
      {
        "id": "Condition.extension:participant",
        "path": "Condition.extension",
        "sliceName": "participant",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.cambio.se/StructureDefinition/common-participant/v1"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Condition.modifierExtension",
        "path": "Condition.modifierExtension",
        "max": "0"
      },
      {
        "id": "Condition.identifier",
        "path": "Condition.identifier",
        "short": "Identifier(s) by which this condition is known",
        "definition": "Identifier(s) by which this condition is known."
      },
      {
        "id": "Condition.identifier.type",
        "path": "Condition.identifier.type",
        "max": "0"
      },
      {
        "id": "Condition.identifier.system",
        "path": "Condition.identifier.system",
        "min": 1
      },
      {
        "id": "Condition.identifier.value",
        "path": "Condition.identifier.value",
        "min": 1
      },
      {
        "id": "Condition.identifier.period",
        "path": "Condition.identifier.period",
        "max": "0"
      },
      {
        "id": "Condition.identifier.assigner",
        "path": "Condition.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Condition.clinicalStatus",
        "path": "Condition.clinicalStatus",
        "min": 1
      },
      {
        "id": "Condition.clinicalStatus.id",
        "path": "Condition.clinicalStatus.id",
        "max": "0"
      },
      {
        "id": "Condition.clinicalStatus.extension",
        "path": "Condition.clinicalStatus.extension",
        "max": "0"
      },
      {
        "id": "Condition.clinicalStatus.coding",
        "path": "Condition.clinicalStatus.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Condition.clinicalStatus.coding.system",
        "path": "Condition.clinicalStatus.coding.system",
        "min": 1
      },
      {
        "id": "Condition.clinicalStatus.coding.version",
        "path": "Condition.clinicalStatus.coding.version",
        "max": "0"
      },
      {
        "id": "Condition.clinicalStatus.coding.code",
        "path": "Condition.clinicalStatus.coding.code",
        "min": 1
      },
      {
        "id": "Condition.clinicalStatus.coding.userSelected",
        "path": "Condition.clinicalStatus.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Condition.clinicalStatus.text",
        "path": "Condition.clinicalStatus.text",
        "max": "0"
      },
      {
        "id": "Condition.verificationStatus",
        "path": "Condition.verificationStatus",
        "max": "0"
      },
      {
        "id": "Condition.category",
        "path": "Condition.category",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Condition.category.coding",
        "path": "Condition.category.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Condition.category.coding.system",
        "path": "Condition.category.coding.system",
        "min": 1,
        "fixedUri": "http://terminology.hl7.org/CodeSystem/condition-category"
      },
      {
        "id": "Condition.category.coding.version",
        "path": "Condition.category.coding.version",
        "max": "0"
      },
      {
        "id": "Condition.category.coding.code",
        "path": "Condition.category.coding.code",
        "min": 1,
        "fixedCode": "problem-list-item"
      },
      {
        "id": "Condition.category.coding.display",
        "path": "Condition.category.coding.display",
        "min": 1,
        "fixedString": "Problem List Item"
      },
      {
        "id": "Condition.category.coding.userSelected",
        "path": "Condition.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Condition.category.text",
        "path": "Condition.category.text",
        "max": "0"
      },
      {
        "id": "Condition.severity",
        "path": "Condition.severity",
        "max": "0"
      },
      {
        "id": "Condition.code",
        "path": "Condition.code",
        "min": 1
      },
      {
        "id": "Condition.code.id",
        "path": "Condition.code.id",
        "max": "0"
      },
      {
        "id": "Condition.code.extension",
        "path": "Condition.code.extension",
        "max": "0"
      },
      {
        "id": "Condition.code.coding",
        "path": "Condition.code.coding",
        "max": "1"
      },
      {
        "id": "Condition.code.coding.id",
        "path": "Condition.code.coding.id",
        "max": "0"
      },
      {
        "id": "Condition.code.coding.extension",
        "path": "Condition.code.coding.extension",
        "max": "0"
      },
      {
        "id": "Condition.code.coding.system",
        "path": "Condition.code.coding.system",
        "min": 1
      },
      {
        "id": "Condition.code.coding.version",
        "path": "Condition.code.coding.version",
        "max": "0"
      },
      {
        "id": "Condition.code.coding.code",
        "path": "Condition.code.coding.code",
        "min": 1
      },
      {
        "id": "Condition.code.coding.display",
        "path": "Condition.code.coding.display",
        "max": "0"
      },
      {
        "id": "Condition.code.coding.userSelected",
        "path": "Condition.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Condition.bodySite",
        "path": "Condition.bodySite",
        "max": "0"
      },
      {
        "id": "Condition.subject",
        "path": "Condition.subject",
        "definition": "Indicates the patient with whom the condition is associated.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ]
      },
      {
        "id": "Condition.subject.reference",
        "path": "Condition.subject.reference",
        "max": "0"
      },
      {
        "id": "Condition.subject.type",
        "path": "Condition.subject.type",
        "max": "0"
      },
      {
        "id": "Condition.subject.identifier",
        "path": "Condition.subject.identifier",
        "max": "0"
      },
      {
        "id": "Condition.subject.identifier.type",
        "path": "Condition.subject.identifier.type",
        "max": "0"
      },
      {
        "id": "Condition.subject.identifier.system",
        "path": "Condition.subject.identifier.system",
        "min": 1
      },
      {
        "id": "Condition.subject.identifier.value",
        "path": "Condition.subject.identifier.value",
        "min": 1
      },
      {
        "id": "Condition.subject.identifier.period",
        "path": "Condition.subject.identifier.period",
        "max": "0"
      },
      {
        "id": "Condition.subject.identifier.assigner",
        "path": "Condition.subject.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Condition.subject.display",
        "path": "Condition.subject.display",
        "max": "0"
      },
      {
        "id": "Condition.encounter",
        "path": "Condition.encounter",
        "max": "0"
      },
      {
        "id": "Condition.onset[x]",
        "path": "Condition.onset[x]",
        "max": "0"
      },
      {
        "id": "Condition.abatement[x]",
        "path": "Condition.abatement[x]",
        "max": "0"
      },
      {
        "id": "Condition.recordedDate",
        "path": "Condition.recordedDate",
        "max": "0"
      },
      {
        "id": "Condition.recorder",
        "path": "Condition.recorder",
        "max": "0"
      },
      {
        "id": "Condition.asserter",
        "path": "Condition.asserter",
        "max": "0"
      },
      {
        "id": "Condition.stage",
        "path": "Condition.stage",
        "max": "0"
      },
      {
        "id": "Condition.evidence",
        "path": "Condition.evidence",
        "max": "0"
      },
      {
        "id": "Condition.note",
        "path": "Condition.note",
        "max": "0"
      }
    ]
  }
}