{
  "resourceType": "StructureDefinition",
  "id": "c2af9bcc-4af4-44cc-b003-1960e9470e83",
  "meta": {
    "lastUpdated": "2023-03-06T09:12:42.2390615+00:00"
  },
  "url": "https://simplifier.net/winningtest/tcm-diagnosis-profile",
  "name": "TCMDiagnosis",
  "title": "中医诊断",
  "status": "draft",
  "date": "2023-03-06T09:15:45.1384386+00:00",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "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/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "sct-attr",
      "uri": "http://snomed.org/attributebinding",
      "name": "SNOMED CT Attribute Binding"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Condition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Condition.extension",
        "path": "Condition.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Condition.extension:TCMDisease",
        "path": "Condition.extension",
        "sliceName": "TCMDisease",
        "short": "中医病证",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-tcm-disease"
            ]
          }
        ]
      },
      {
        "id": "Condition.extension:TCMDisease.value[x].coding.code",
        "path": "Condition.extension.value[x].coding.code",
        "short": "中医病证编码"
      },
      {
        "id": "Condition.extension:TCMDisease.value[x].text",
        "path": "Condition.extension.value[x].text",
        "short": "中医病证名称"
      },
      {
        "id": "Condition.clinicalStatus",
        "path": "Condition.clinicalStatus",
        "short": "诊断状态"
      },
      {
        "id": "Condition.category",
        "path": "Condition.category",
        "short": "诊断类型",
        "binding": {
          "strength": "required",
          "description": "诊断类型",
          "valueSet": "urn:oid:1.2.156.112604.1.2.763"
        }
      },
      {
        "id": "Condition.code",
        "path": "Condition.code",
        "short": "诊断编码"
      },
      {
        "id": "Condition.bodySite",
        "path": "Condition.bodySite",
        "max": "0"
      },
      {
        "id": "Condition.subject",
        "path": "Condition.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/patient-profile"
            ]
          }
        ]
      },
      {
        "id": "Condition.encounter",
        "path": "Condition.encounter",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/outpatient-encounter-profile",
              "https://simplifier.net/winningtest/inpatient-encounter-profile"
            ]
          }
        ]
      },
      {
        "id": "Condition.onset[x]",
        "path": "Condition.onset[x]",
        "short": "发病日期",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Condition.abatement[x]",
        "path": "Condition.abatement[x]",
        "max": "0"
      },
      {
        "id": "Condition.recorder",
        "path": "Condition.recorder",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/practitioner-role-profile"
            ]
          }
        ]
      },
      {
        "id": "Condition.asserter",
        "path": "Condition.asserter",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/practitioner-profile"
            ]
          }
        ]
      },
      {
        "id": "Condition.stage.summary",
        "path": "Condition.stage.summary",
        "max": "0"
      },
      {
        "id": "Condition.stage.assessment",
        "path": "Condition.stage.assessment",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/tcm-diagnosis-pattern-profile"
            ]
          }
        ]
      },
      {
        "id": "Condition.stage.type",
        "path": "Condition.stage.type",
        "max": "0"
      },
      {
        "id": "Condition.evidence",
        "path": "Condition.evidence",
        "max": "0"
      }
    ]
  }
}