{
  "resourceType": "StructureDefinition",
  "url": "https://simplifier.net/winningtest/major-pyschosis-profile",
  "name": "MajorPyschosis",
  "title": "重性精神病",
  "status": "draft",
  "date": "2022-05-13T17:13:41.175374+00:00",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Flag",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Flag",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Flag.status",
        "path": "Flag.status",
        "fixedCode": "active"
      },
      {
        "id": "Flag.category",
        "path": "Flag.category",
        "max": "1",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/flag-category",
              "version": "4.0.1",
              "code": "clinical",
              "display": "Clinical"
            }
          ]
        }
      },
      {
        "id": "Flag.code",
        "path": "Flag.code",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "69322001",
              "display": "Psychotic disorder"
            }
          ]
        }
      },
      {
        "id": "Flag.subject",
        "path": "Flag.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/patient-profile",
              "https://simplifier.net/winningtest/medication-profile"
            ],
            "aggregation": [
              "referenced",
              "bundled"
            ]
          }
        ]
      },
      {
        "id": "Flag.period",
        "path": "Flag.period",
        "max": "0"
      },
      {
        "id": "Flag.encounter",
        "path": "Flag.encounter",
        "max": "0"
      },
      {
        "id": "Flag.author",
        "path": "Flag.author",
        "max": "0"
      }
    ]
  }
}