{
  "resourceType": "StructureDefinition",
  "id": "a71c32df-a945-4e9e-9316-c514c2d59a1d",
  "meta": {
    "lastUpdated": "2021-08-31T02:05:23.603+00:00"
  },
  "url": "https://simplifier.net/winningtest/patient-origin-profile",
  "name": "PatientOrigin",
  "title": "Patient Origin",
  "status": "draft",
  "date": "2021-05-11T05:30:31.9317567+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.status",
        "path": "Flag.status",
        "fixedCode": "active"
      },
      {
        "id": "Flag.category",
        "path": "Flag.category",
        "max": "0"
      },
      {
        "id": "Flag.code",
        "path": "Flag.code",
        "short": "患者来源代码",
        "definition": "当表示患者来源时，值域取：urn:oid:1.2.156.112604.1.2.432\r\n当表示患者来源（新冠检测登记）时，值域取：urn:oid:1.2.156.112604.1.2.94985",
        "binding": {
          "strength": "example",
          "description": "患者来源代码",
          "valueSet": "urn:oid:1.2.156.112604.1.2.432"
        }
      },
      {
        "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",
        "max": "0"
      },
      {
        "id": "Flag.author",
        "path": "Flag.author",
        "max": "0"
      }
    ]
  }
}