{
  "resourceType": "StructureDefinition",
  "id": "b07491ab-14d2-4f2e-9332-bf25c335ede1",
  "meta": {
    "lastUpdated": "2021-05-13T08:36:51.586+00:00"
  },
  "url": "https://simplifier.net/winningtest/credit-allowed-profile",
  "name": "CreditAllowed",
  "title": "Credit Allowed",
  "status": "draft",
  "date": "2021-05-13T03:18:47.2557007+00:00",
  "description": "允许欠费标志（信誉额度）",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Flag",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Flag",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Flag.identifier",
        "path": "Flag.identifier",
        "max": "0"
      },
      {
        "id": "Flag.category",
        "path": "Flag.category",
        "max": "0"
      },
      {
        "id": "Flag.code",
        "path": "Flag.code",
        "short": "允许欠费标志（信誉额度已设）",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "urn:oid:1.2.156.112604.1.2.104326",
              "code": "urn:oid:1.2.156.112604.1.2.104326.2",
              "display": "允许欠费标志"
            }
          ]
        },
        "binding": {
          "strength": "required",
          "description": "住院就诊状况代码",
          "valueSet": "urn:oid:1.2.156.112604.1.2.104326"
        }
      },
      {
        "id": "Flag.subject",
        "path": "Flag.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/patient-profile"
            ]
          }
        ]
      },
      {
        "id": "Flag.period",
        "path": "Flag.period",
        "max": "0"
      },
      {
        "id": "Flag.encounter",
        "path": "Flag.encounter",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/inpatient-encounter-profile"
            ]
          }
        ]
      },
      {
        "id": "Flag.author",
        "path": "Flag.author",
        "max": "0"
      }
    ]
  }
}