{
  "resourceType": "StructureDefinition",
  "url": "http://ehrrunner.com/fhir/StructureDefinition/Condition",
  "version": "1.0",
  "name": "Condition",
  "title": "Problema ou Diagnóstico",
  "status": "draft",
  "experimental": true,
  "date": "2023-11-22T18:31:04.5841606+00:00",
  "description": "Problema ou Diganóstico, tipicamente avaliado por profissional clínico e codificado com CID10 (diganóstico) ou CIAP2 (problema).",
  "purpose": "Representação de um problema ou diagnóstico",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Condition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Condition.identifier",
        "path": "Condition.identifier",
        "max": "0"
      },
      {
        "id": "Condition.severity",
        "path": "Condition.severity",
        "max": "0"
      },
      {
        "id": "Condition.code",
        "path": "Condition.code",
        "binding": {
          "strength": "required",
          "valueSet": "http://www.saude.gov.br/fhir/r4/ValueSet/BRProblemaDiagnostico"
        }
      },
      {
        "id": "Condition.bodySite",
        "path": "Condition.bodySite",
        "max": "0"
      },
      {
        "id": "Condition.subject",
        "path": "Condition.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://ehrrunner.com/fhir/StructureDefinition/Patient"
            ]
          }
        ]
      },
      {
        "id": "Condition.subject.type",
        "path": "Condition.subject.type",
        "max": "0"
      },
      {
        "id": "Condition.subject.identifier",
        "path": "Condition.subject.identifier",
        "max": "0"
      },
      {
        "id": "Condition.subject.display",
        "path": "Condition.subject.display",
        "max": "0"
      },
      {
        "id": "Condition.encounter",
        "path": "Condition.encounter",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://ehrrunner.com/fhir/StructureDefinition/Encounter"
            ]
          }
        ]
      },
      {
        "id": "Condition.encounter.type",
        "path": "Condition.encounter.type",
        "max": "0"
      },
      {
        "id": "Condition.encounter.identifier",
        "path": "Condition.encounter.identifier",
        "max": "0"
      },
      {
        "id": "Condition.encounter.display",
        "path": "Condition.encounter.display",
        "max": "0"
      },
      {
        "id": "Condition.abatement[x]",
        "path": "Condition.abatement[x]",
        "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"
      }
    ]
  }
}