{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2022-03-21T10:21:36.57+00:00"
  },
  "url": "https://simplifier.net/winningtest/healthy-fetus-flag-profile",
  "name": "HealthyFetusFlag",
  "title": "健康宝贝标志",
  "status": "draft",
  "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",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding.system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Flag.category:research",
        "path": "Flag.category",
        "sliceName": "research",
        "max": "1",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/flag-category",
              "version": "4.0.1",
              "code": "research",
              "display": "Research"
            }
          ]
        }
      },
      {
        "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/mother-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"
      }
    ]
  }
}