{
  "resourceType": "StructureDefinition",
  "url": "http://example.org/fhir/StructureDefinition/ConditionPatch",
  "name": "ConditionPatch",
  "status": "draft",
  "fhirVersion": "3.0.2",
  "mapping": [
    {
      "identity": "sct-concept",
      "uri": "http://snomed.info/conceptdomain",
      "name": "SNOMED CT Concept Domain Binding"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    },
    {
      "identity": "sct-attr",
      "uri": "http://snomed.info/sct",
      "name": "SNOMED CT Attribute Binding"
    }
  ],
  "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.verificationStatus",
        "path": "Condition.verificationStatus",
        "max": "0"
      },
      {
        "id": "Condition.category",
        "path": "Condition.category",
        "max": "0"
      },
      {
        "id": "Condition.category.coding.system",
        "path": "Condition.category.coding.system",
        "fixedUri": "http://hl7.org/fhir/condition-category"
      },
      {
        "id": "Condition.category.coding.version",
        "path": "Condition.category.coding.version",
        "max": "0"
      },
      {
        "id": "Condition.category.coding.code",
        "path": "Condition.category.coding.code",
        "fixedCode": "encounter-diagnosis"
      },
      {
        "id": "Condition.category.coding.display",
        "path": "Condition.category.coding.display",
        "max": "0"
      },
      {
        "id": "Condition.category.coding.userSelected",
        "path": "Condition.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Condition.category.text",
        "path": "Condition.category.text",
        "type": [
          {
            "code": "string",
            "profile": "Diagnostico"
          }
        ]
      },
      {
        "id": "Condition.severity",
        "path": "Condition.severity",
        "max": "0"
      },
      {
        "id": "Condition.severity.coding.version",
        "path": "Condition.severity.coding.version",
        "max": "0"
      },
      {
        "id": "Condition.severity.coding.userSelected",
        "path": "Condition.severity.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Condition.severity.text",
        "path": "Condition.severity.text",
        "max": "0"
      },
      {
        "id": "Condition.code",
        "path": "Condition.code",
        "max": "0"
      },
      {
        "id": "Condition.code.coding.system",
        "path": "Condition.code.coding.system",
        "fixedUri": "http://hl7.org/fhir/sid/icd-10"
      },
      {
        "id": "Condition.bodySite",
        "path": "Condition.bodySite",
        "max": "0"
      },
      {
        "id": "Condition.subject",
        "path": "Condition.subject",
        "mustSupport": false
      },
      {
        "id": "Condition.subject.identifier",
        "path": "Condition.subject.identifier",
        "max": "0"
      },
      {
        "id": "Condition.subject.display",
        "path": "Condition.subject.display",
        "max": "0"
      },
      {
        "id": "Condition.context.identifier",
        "path": "Condition.context.identifier",
        "max": "0"
      },
      {
        "id": "Condition.context.display",
        "path": "Condition.context.display",
        "max": "0"
      },
      {
        "id": "Condition.onset[x]",
        "path": "Condition.onset[x]",
        "max": "0"
      },
      {
        "id": "Condition.abatement[x]",
        "path": "Condition.abatement[x]",
        "max": "0"
      },
      {
        "id": "Condition.assertedDate",
        "path": "Condition.assertedDate",
        "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.author[x]",
        "path": "Condition.note.author[x]",
        "mustSupport": true
      },
      {
        "id": "Condition.note.time",
        "path": "Condition.note.time",
        "max": "0"
      },
      {
        "id": "Condition.note.text",
        "path": "Condition.note.text",
        "mustSupport": true
      }
    ]
  }
}