{
  "resourceType": "StructureDefinition",
  "id": "ae3f03f6-f027-448d-968f-82c46499f04f",
  "meta": {
    "lastUpdated": "2024-05-09T10:12:36.6424384+00:00"
  },
  "url": "https://simplifier.net/winningtest/medical-insurance-profile",
  "name": "MedicalInsurance",
  "title": "医疗保险",
  "status": "draft",
  "date": "2024-05-09T10:12:55.8331667+00:00",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "cdanetv4",
      "uri": "http://www.cda-adc.ca/en/services/cdanet/",
      "name": "Canadian Dental Association eclaims standard"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "cpha3pharm",
      "uri": "http://www.pharmacists.ca/",
      "name": "Canadian Pharmacy Associaiton eclaims standard"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Coverage",
  "baseDefinition": "https://simplifier.net/winningtest/coverage-profile",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Coverage.extension:reimbursementClass",
        "path": "Coverage.extension",
        "sliceName": "reimbursementClass",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-reimbursement-class"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Coverage.extension:workInjuryInfo",
        "path": "Coverage.extension",
        "sliceName": "workInjuryInfo",
        "short": "工伤情况",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-work-injury"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Coverage.extension:chronicDiseaseReimbursableAmount",
        "path": "Coverage.extension",
        "sliceName": "chronicDiseaseReimbursableAmount",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-chronic-disease-reimbursable-amount"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Coverage.identifier",
        "path": "Coverage.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Coverage.identifier:medicalInsuranceId",
        "path": "Coverage.identifier",
        "sliceName": "medicalInsuranceId",
        "short": "医疗保险标识",
        "max": "1"
      },
      {
        "id": "Coverage.identifier:medicalInsuranceId.use",
        "path": "Coverage.identifier.use",
        "max": "0"
      },
      {
        "id": "Coverage.identifier:medicalInsuranceId.type",
        "path": "Coverage.identifier.type",
        "max": "0"
      },
      {
        "id": "Coverage.identifier:medicalInsuranceId.system",
        "path": "Coverage.identifier.system",
        "fixedUri": "urn:oid:1.2.156.112604.1.1.4078"
      },
      {
        "id": "Coverage.identifier:medicalInsuranceId.period",
        "path": "Coverage.identifier.period",
        "max": "0"
      },
      {
        "id": "Coverage.identifier:medicalInsuranceId.assigner",
        "path": "Coverage.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Coverage.identifier:medicalInsuranceNo",
        "path": "Coverage.identifier",
        "sliceName": "medicalInsuranceNo",
        "short": "医疗保险编号",
        "definition": "属于特定医疗机构下可用的医疗保险的编号",
        "max": "1"
      },
      {
        "id": "Coverage.identifier:medicalInsuranceNo.use",
        "path": "Coverage.identifier.use",
        "max": "0"
      },
      {
        "id": "Coverage.identifier:medicalInsuranceNo.type",
        "path": "Coverage.identifier.type",
        "max": "0"
      },
      {
        "id": "Coverage.identifier:medicalInsuranceNo.system",
        "path": "Coverage.identifier.system",
        "fixedUri": "urn:oid:1.2.156.112604.1.1.4700"
      },
      {
        "id": "Coverage.identifier:medicalInsuranceNo.period",
        "path": "Coverage.identifier.period",
        "max": "0"
      },
      {
        "id": "Coverage.identifier:medicalInsuranceNo.assigner",
        "path": "Coverage.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Coverage.identifier:medicalInsuranceCardNo",
        "path": "Coverage.identifier",
        "sliceName": "medicalInsuranceCardNo",
        "short": "医保卡号",
        "max": "1"
      },
      {
        "id": "Coverage.identifier:medicalInsuranceCardNo.use",
        "path": "Coverage.identifier.use",
        "max": "0"
      },
      {
        "id": "Coverage.identifier:medicalInsuranceCardNo.type",
        "path": "Coverage.identifier.type",
        "max": "0"
      },
      {
        "id": "Coverage.identifier:medicalInsuranceCardNo.system",
        "path": "Coverage.identifier.system",
        "fixedUri": "urn:oid:1.2.156.112604.1.1.97"
      },
      {
        "id": "Coverage.identifier:medicalInsuranceCardNo.period",
        "path": "Coverage.identifier.period",
        "max": "0"
      },
      {
        "id": "Coverage.identifier:medicalInsuranceCardNo.assigner",
        "path": "Coverage.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Coverage.type",
        "path": "Coverage.type",
        "short": "医疗保险代码",
        "binding": {
          "strength": "required",
          "description": "医疗保险代码",
          "valueSet": "urn:oid:1.2.156.112604.1.2.1124"
        }
      },
      {
        "id": "Coverage.type.extension:inpatientCoverageType",
        "path": "Coverage.type.extension",
        "sliceName": "inpatientCoverageType",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-inpatient-coverage-type"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Coverage.type.coding.code",
        "path": "Coverage.type.coding.code",
        "binding": {
          "strength": "required",
          "valueSet": "urn:oid:1.2.156.112604.1.2.1124"
        }
      },
      {
        "id": "Coverage.policyHolder",
        "path": "Coverage.policyHolder",
        "max": "0"
      },
      {
        "id": "Coverage.subscriber",
        "path": "Coverage.subscriber",
        "max": "0"
      },
      {
        "id": "Coverage.subscriberId",
        "path": "Coverage.subscriberId",
        "max": "0"
      },
      {
        "id": "Coverage.dependent",
        "path": "Coverage.dependent",
        "max": "0"
      },
      {
        "id": "Coverage.relationship",
        "path": "Coverage.relationship",
        "max": "0"
      },
      {
        "id": "Coverage.period",
        "path": "Coverage.period",
        "max": "0"
      },
      {
        "id": "Coverage.payor",
        "path": "Coverage.payor",
        "definition": "不填。",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ]
      },
      {
        "id": "Coverage.payor.extension:paymentMethod",
        "path": "Coverage.payor.extension",
        "sliceName": "paymentMethod",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-payment-method"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Coverage.class",
        "path": "Coverage.class",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "type"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Coverage.class:group",
        "path": "Coverage.class",
        "sliceName": "group",
        "short": "险种",
        "max": "1"
      },
      {
        "id": "Coverage.class:group.type",
        "path": "Coverage.class.type",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/coverage-class",
              "version": "4.3.0",
              "code": "group",
              "display": "Group"
            }
          ]
        }
      },
      {
        "id": "Coverage.class:group.value",
        "path": "Coverage.class.value",
        "short": "险种编号"
      },
      {
        "id": "Coverage.class:group.name",
        "path": "Coverage.class.name",
        "short": "险种名称"
      },
      {
        "id": "Coverage.class:class",
        "path": "Coverage.class",
        "sliceName": "class",
        "short": "（医保）医疗类型",
        "max": "1"
      },
      {
        "id": "Coverage.class:class.type",
        "path": "Coverage.class.type",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/coverage-class",
              "version": "4.3.0",
              "code": "class",
              "display": "Class"
            }
          ]
        }
      },
      {
        "id": "Coverage.class:class.value",
        "path": "Coverage.class.value",
        "short": "医疗类型代码"
      },
      {
        "id": "Coverage.class:class.name",
        "path": "Coverage.class.name",
        "short": "医疗类型名称"
      },
      {
        "id": "Coverage.class:subClass",
        "path": "Coverage.class",
        "sliceName": "subClass",
        "short": "医保补充分类",
        "max": "1"
      },
      {
        "id": "Coverage.class:subClass.type",
        "path": "Coverage.class.type",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/coverage-class",
              "version": "4.0.1",
              "code": "subclass",
              "display": "SubClass"
            }
          ]
        }
      },
      {
        "id": "Coverage.class:subClass.value",
        "path": "Coverage.class.value",
        "short": "医保补充分类编码"
      },
      {
        "id": "Coverage.class:subClass.name",
        "path": "Coverage.class.name",
        "short": "医保补充分类名称"
      },
      {
        "id": "Coverage.order",
        "path": "Coverage.order",
        "max": "0"
      },
      {
        "id": "Coverage.network",
        "path": "Coverage.network",
        "max": "0"
      },
      {
        "id": "Coverage.costToBeneficiary",
        "path": "Coverage.costToBeneficiary",
        "max": "0"
      },
      {
        "id": "Coverage.subrogation",
        "path": "Coverage.subrogation",
        "max": "0"
      },
      {
        "id": "Coverage.contract",
        "path": "Coverage.contract",
        "max": "0"
      }
    ]
  }
}