{
  "resourceType": "StructureDefinition",
  "id": "Condition",
  "url": "http://amphi.eu/fhir/prehospitalsolution/StructureDefinition/Condition/v1",
  "version": "1.0",
  "name": "Condition",
  "status": "active",
  "date": "2024-01-30T12:19:05.1012384+00:00",
  "description": "The profile contains the current and past illnesses of the patient. The current illness is the illness identified during the encounter.\r\nThe profile is based on the Condition Resource.",
  "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",
        "max": "0"
      },
      {
        "id": "Condition.meta",
        "path": "Condition.meta"
      },
      {
        "id": "Condition.meta.id",
        "path": "Condition.meta.id",
        "max": "0"
      },
      {
        "id": "Condition.meta.versionId",
        "path": "Condition.meta.versionId",
        "min": 1
      },
      {
        "id": "Condition.meta.lastUpdated",
        "path": "Condition.meta.lastUpdated",
        "min": 1
      },
      {
        "id": "Condition.meta.source",
        "path": "Condition.meta.source",
        "max": "0"
      },
      {
        "id": "Condition.meta.profile",
        "path": "Condition.meta.profile",
        "max": "0"
      },
      {
        "id": "Condition.meta.security",
        "path": "Condition.meta.security",
        "max": "0"
      },
      {
        "id": "Condition.meta.tag",
        "path": "Condition.meta.tag",
        "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:routeOfTransmission",
        "path": "Condition.extension",
        "sliceName": "routeOfTransmission",
        "definition": "This extension contains the registration of the route of transmission.",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://amphi.eu/fhir/prehospitalsolution/StructureDefinition/RouteofTransmission/v1"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Condition.extension:chronic",
        "path": "Condition.extension",
        "sliceName": "chronic",
        "definition": "This extension will indicate if the past illness is chronic or not.",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/condition-outcome"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Condition.extension:chronic.value[x]",
        "path": "Condition.extension.value[x]",
        "definition": "If the past illness is chronic the element contains 'Chronic'. This will in the prehospital patient record be converted to Yes. \r\nIf the past illness is not chronic the element will contain a null which will be converted to No in the prehospital patient record.",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://amphi.eu/fhir/prehospitalsolution/StructureDefinition/CodeableConcept/v1"
            ]
          }
        ]
      },
      {
        "id": "Condition.identifier",
        "path": "Condition.identifier",
        "definition": "Identifier of the condition.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Condition.identifier.use",
        "path": "Condition.identifier.use",
        "max": "0"
      },
      {
        "id": "Condition.identifier.type",
        "path": "Condition.identifier.type",
        "max": "0"
      },
      {
        "id": "Condition.identifier.system",
        "path": "Condition.identifier.system",
        "definition": "Establishes the namespace for the identifier of the condition.",
        "min": 1,
        "fixedUri": "http://amphisystems.com/amphi/journaldatasystemid"
      },
      {
        "id": "Condition.identifier.value",
        "path": "Condition.identifier.value",
        "definition": "A unique identifier of the condition.",
        "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",
        "definition": "The clinical status of the condition. If the Condition is valid the clinicalStatus must be active. If the condition is obsolete and the patient is not affected by it any longer the clinicalStatus must be resolved.",
        "min": 1
      },
      {
        "id": "Condition.clinicalStatus.id",
        "path": "Condition.clinicalStatus.id",
        "max": "0"
      },
      {
        "id": "Condition.clinicalStatus.coding",
        "path": "Condition.clinicalStatus.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Condition.clinicalStatus.coding.id",
        "path": "Condition.clinicalStatus.coding.id",
        "max": "0"
      },
      {
        "id": "Condition.clinicalStatus.coding.system",
        "path": "Condition.clinicalStatus.coding.system",
        "min": 1,
        "fixedUri": "http://terminology.hl7.org/CodeSystem/condition-clinical"
      },
      {
        "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",
        "max": "1"
      },
      {
        "id": "Condition.category.coding",
        "path": "Condition.category.coding",
        "definition": "Code defined by a terminology system.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Condition.category.coding.system",
        "path": "Condition.category.coding.system",
        "definition": "Identity of the terminology system.",
        "min": 1,
        "binding": {
          "strength": "required",
          "description": "A category assigned to the condition.",
          "valueSet": "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",
        "definition": "Symbol in syntax defined by the system.",
        "min": 1
      },
      {
        "id": "Condition.category.coding.display",
        "path": "Condition.category.coding.display",
        "definition": "Representation defined by the system."
      },
      {
        "id": "Condition.category.coding.userSelected",
        "path": "Condition.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Condition.category.text",
        "path": "Condition.category.text",
        "definition": "Display of whether it is a primary, secondary, or tertiary diagnosis.",
        "max": "0"
      },
      {
        "id": "Condition.severity",
        "path": "Condition.severity",
        "definition": "Subjective severity of condition."
      },
      {
        "id": "Condition.severity.coding",
        "path": "Condition.severity.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Condition.severity.coding.system",
        "path": "Condition.severity.coding.system",
        "definition": "Identity of the terminology system.",
        "min": 1,
        "binding": {
          "strength": "preferred",
          "description": "Preferred value set for Condition/Diagnosis severity grading.",
          "valueSet": "http://hl7.org/fhir/ValueSet/condition-severity"
        }
      },
      {
        "id": "Condition.severity.coding.version",
        "path": "Condition.severity.coding.version",
        "max": "0"
      },
      {
        "id": "Condition.severity.coding.code",
        "path": "Condition.severity.coding.code",
        "definition": "Symbol in syntax defined by the system.",
        "min": 1
      },
      {
        "id": "Condition.severity.coding.display",
        "path": "Condition.severity.coding.display",
        "definition": "Representation defined by the system."
      },
      {
        "id": "Condition.severity.coding.userSelected",
        "path": "Condition.severity.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Condition.severity.text",
        "path": "Condition.severity.text",
        "definition": "Representation of the degree of severity.",
        "max": "0"
      },
      {
        "id": "Condition.code",
        "path": "Condition.code",
        "definition": "Identification of the condition.",
        "min": 1
      },
      {
        "id": "Condition.code.coding",
        "path": "Condition.code.coding",
        "definition": "ICD-10 code of the condition.",
        "max": "1"
      },
      {
        "id": "Condition.code.coding.system",
        "path": "Condition.code.coding.system",
        "min": 1,
        "fixedUri": "https://icd.who.int/browse10/2019/en#/"
      },
      {
        "id": "Condition.code.coding.version",
        "path": "Condition.code.coding.version",
        "max": "0"
      },
      {
        "id": "Condition.code.coding.code",
        "path": "Condition.code.coding.code",
        "definition": "The value of the ICD-10 code of the Condition.",
        "min": 1
      },
      {
        "id": "Condition.code.coding.userSelected",
        "path": "Condition.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Condition.code.text",
        "path": "Condition.code.text",
        "definition": "Name of the condition."
      },
      {
        "id": "Condition.bodySite",
        "path": "Condition.bodySite",
        "max": "0"
      },
      {
        "id": "Condition.subject",
        "path": "Condition.subject",
        "definition": "Indicates the patient who the condition is associated with.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://amphi.eu/fhir/prehospitalsolution/StructureDefinition/Patient/v1"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Condition.subject.id",
        "path": "Condition.subject.id",
        "max": "0"
      },
      {
        "id": "Condition.subject.reference",
        "path": "Condition.subject.reference",
        "definition": "Literal reference to the patient resource. Relative URL is being used.",
        "min": 1
      },
      {
        "id": "Condition.subject.type",
        "path": "Condition.subject.type",
        "max": "0"
      },
      {
        "id": "Condition.subject.identifier",
        "path": "Condition.subject.identifier",
        "definition": "Identifier to extract the past illnesses.",
        "max": "0"
      },
      {
        "id": "Condition.subject.identifier.use",
        "path": "Condition.subject.identifier.use",
        "max": "0"
      },
      {
        "id": "Condition.subject.identifier.type",
        "path": "Condition.subject.identifier.type",
        "max": "0"
      },
      {
        "id": "Condition.subject.identifier.system",
        "path": "Condition.subject.identifier.system",
        "definition": "Establishes the namespace for the identifier.",
        "max": "0"
      },
      {
        "id": "Condition.subject.identifier.value",
        "path": "Condition.subject.identifier.value",
        "definition": "The value that is unique.",
        "max": "0"
      },
      {
        "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]",
        "definition": "Date time for when the condition is last edited.",
        "min": 1,
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "Condition.onset[x].start",
        "path": "Condition.onset[x].start",
        "definition": "The start of the period. The boundary is inclusive. The start of the period is ascertained date and therefore valid from date.",
        "min": 1
      },
      {
        "id": "Condition.onset[x].end",
        "path": "Condition.onset[x].end",
        "definition": "The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.\r\nThis element contains the valid to registration of the condition."
      },
      {
        "id": "Condition.abatement[x]",
        "path": "Condition.abatement[x]",
        "max": "0"
      },
      {
        "id": "Condition.recordedDate",
        "path": "Condition.recordedDate",
        "definition": "Date the condition was first recorded.",
        "min": 1
      },
      {
        "id": "Condition.recorder",
        "path": "Condition.recorder",
        "definition": "Clinician who recorded the record and takes responsibility for its content.",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://amphi.eu/fhir/prehospitalsolution/StructureDefinition/Practitioner/v1"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Condition.recorder.reference",
        "path": "Condition.recorder.reference",
        "definition": "Literal reference to the practitioner resource. Relative URL is being used.",
        "min": 1
      },
      {
        "id": "Condition.recorder.type",
        "path": "Condition.recorder.type",
        "max": "0"
      },
      {
        "id": "Condition.recorder.identifier",
        "path": "Condition.recorder.identifier",
        "max": "0"
      },
      {
        "id": "Condition.recorder.display",
        "path": "Condition.recorder.display",
        "max": "0"
      },
      {
        "id": "Condition.asserter",
        "path": "Condition.asserter",
        "max": "0"
      },
      {
        "id": "Condition.stage",
        "path": "Condition.stage",
        "max": "1"
      },
      {
        "id": "Condition.stage.summary",
        "path": "Condition.stage.summary",
        "definition": "Stage of the condition."
      },
      {
        "id": "Condition.stage.summary.coding",
        "path": "Condition.stage.summary.coding",
        "max": "0"
      },
      {
        "id": "Condition.stage.summary.text",
        "path": "Condition.stage.summary.text",
        "definition": "Text representation of the stage of the condition.",
        "min": 1
      },
      {
        "id": "Condition.stage.assessment",
        "path": "Condition.stage.assessment",
        "max": "0"
      },
      {
        "id": "Condition.stage.type",
        "path": "Condition.stage.type",
        "max": "0"
      },
      {
        "id": "Condition.stage.type.coding",
        "path": "Condition.stage.type.coding",
        "max": "0"
      },
      {
        "id": "Condition.stage.type.text",
        "path": "Condition.stage.type.text",
        "max": "0"
      },
      {
        "id": "Condition.evidence",
        "path": "Condition.evidence",
        "max": "0"
      },
      {
        "id": "Condition.note",
        "path": "Condition.note",
        "max": "0"
      }
    ]
  }
}