{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2022-06-20T09:49:08.5846782+00:00"
  },
  "url": "https://simplifier.net/winningtest/prescription-collector-profile",
  "name": "PrescriptionCollector",
  "title": "代配药人",
  "status": "draft",
  "date": "2022-06-20T09:49:28.2314608+00:00",
  "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"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "RelatedPerson",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "RelatedPerson.extension",
        "path": "RelatedPerson.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "RelatedPerson.extension:encounter",
        "path": "RelatedPerson.extension",
        "sliceName": "encounter",
        "short": "就诊信息",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-encounter"
            ]
          }
        ]
      },
      {
        "id": "RelatedPerson.extension:reason",
        "path": "RelatedPerson.extension",
        "sliceName": "reason",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-prescription-collection-reason"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "RelatedPerson.active",
        "path": "RelatedPerson.active",
        "short": "是否可用"
      },
      {
        "id": "RelatedPerson.patient",
        "path": "RelatedPerson.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/patient-profile"
            ]
          }
        ]
      },
      {
        "id": "RelatedPerson.relationship",
        "path": "RelatedPerson.relationship",
        "short": "关系"
      },
      {
        "id": "RelatedPerson.name",
        "path": "RelatedPerson.name",
        "type": [
          {
            "code": "HumanName",
            "profile": [
              "https://simplifier.net/winningtest/chinese-human-name-profile"
            ]
          }
        ]
      },
      {
        "id": "RelatedPerson.telecom",
        "path": "RelatedPerson.telecom",
        "type": [
          {
            "code": "ContactPoint",
            "profile": [
              "https://simplifier.net/winningtest/chinese-contact-point-profile"
            ]
          }
        ]
      },
      {
        "id": "RelatedPerson.gender",
        "path": "RelatedPerson.gender",
        "binding": {
          "strength": "required",
          "description": "性别代码",
          "valueSet": "urn:oid:1.2.156.112604.1.2.5"
        }
      },
      {
        "id": "RelatedPerson.address",
        "path": "RelatedPerson.address",
        "type": [
          {
            "code": "Address",
            "profile": [
              "https://simplifier.net/winningtest/chinese-address-profile"
            ]
          }
        ]
      },
      {
        "id": "RelatedPerson.photo",
        "path": "RelatedPerson.photo",
        "max": "0"
      },
      {
        "id": "RelatedPerson.period",
        "path": "RelatedPerson.period",
        "max": "0"
      },
      {
        "id": "RelatedPerson.communication",
        "path": "RelatedPerson.communication",
        "max": "0"
      }
    ]
  }
}