{
  "resourceType": "StructureDefinition",
  "url": "https://simplifier.net/winningtest/patient-blacklist-flag-profile",
  "name": "PatientBlacklistFlag",
  "title": "患者黑名单标志",
  "status": "draft",
  "date": "2022-08-09T10:17:11.3862237+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.extension",
        "path": "Flag.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Flag.extension:reason",
        "path": "Flag.extension",
        "sliceName": "reason",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-reason"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Flag.status",
        "path": "Flag.status",
        "fixedCode": "active"
      },
      {
        "id": "Flag.category",
        "path": "Flag.category",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/flag-category",
              "version": "4.3.0",
              "code": "admin",
              "display": "Administrative"
            }
          ]
        }
      },
      {
        "id": "Flag.code.coding",
        "path": "Flag.code.coding",
        "max": "0"
      },
      {
        "id": "Flag.code.text",
        "path": "Flag.code.text",
        "fixedString": "黑名单"
      },
      {
        "id": "Flag.subject",
        "path": "Flag.subject",
        "short": "患者",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/patient-profile"
            ],
            "aggregation": [
              "referenced",
              "bundled"
            ]
          }
        ]
      },
      {
        "id": "Flag.period",
        "path": "Flag.period",
        "max": "0"
      },
      {
        "id": "Flag.encounter",
        "path": "Flag.encounter",
        "short": "就诊",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/outpatient-encounter-profile"
            ],
            "aggregation": [
              "referenced",
              "bundled"
            ]
          }
        ]
      },
      {
        "id": "Flag.author",
        "path": "Flag.author",
        "max": "0"
      }
    ]
  }
}