{
  "resourceType": "StructureDefinition",
  "id": "zib-Payer",
  "url": "http://nictiz.nl/fhir/StructureDefinition/zib-Payer",
  "version": "2.0.5",
  "name": "Zib Payer",
  "title": "HCIM Payer",
  "status": "active",
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Payer as defined by the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB)  version 3.1, release 2017.",
  "purpose": "Recording the information of the paying authorities and people serves to simplify payment of the fees for the supplied care and to provide insight in advance on how these fees are to be paid, especially when it comes to non-insured healthcare.",
  "copyright": "CC0",
  "fhirVersion": "3.0.2",
  "mapping": [
    {
      "identity": "hcim-payer-v3.1-2017EN",
      "uri": "https://zibs.nl/wiki/Payer-v3.1(2017EN)",
      "name": "HCIM Payer-v3.1(2017EN)"
    },
    {
      "identity": "hcim-basicelements-v1.0-2017EN",
      "uri": "https://zibs.nl/wiki/BasicElements-v1.0(2017EN)",
      "name": "HCIM BasicElements-v1.0(2017EN)"
    },
    {
      "identity": "hcim-payer-v3.0-2016EN",
      "uri": "https://zibs.nl/wiki/Payer-v3.0(2016EN)",
      "name": "HCIM Payer-v3.0(2016EN)"
    },
    {
      "identity": "hcim-payer-v1.2-2015EN",
      "uri": "https://zibs.nl/wiki/Payer-v1.2(2015EN)",
      "name": "HCIM Payer-v1.2(2015EN)"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Coverage",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Coverage",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Coverage",
        "path": "Coverage",
        "short": "Coverage",
        "alias": [
          "Verzekering"
        ],
        "mapping": [
          {
            "identity": "hcim-payer-v1.2-2015EN",
            "map": "NL-CM:1.1.8",
            "comment": "Insurance"
          },
          {
            "identity": "hcim-payer-v3.0-2016EN",
            "map": "NL-CM:1.1.8",
            "comment": "Insurance"
          },
          {
            "identity": "hcim-payer-v3.1-2017EN",
            "map": "NL-CM:1.1.8",
            "comment": "Insurance"
          },
          {
            "identity": "hcim-payer-v1.2-2015EN",
            "map": "NL-CM:1.1.1",
            "comment": "Payer"
          },
          {
            "identity": "hcim-payer-v3.0-2016EN",
            "map": "NL-CM:1.1.1",
            "comment": "Payer"
          },
          {
            "identity": "hcim-payer-v3.1-2017EN",
            "map": "NL-CM:1.1.1",
            "comment": "Payer"
          }
        ]
      },
      {
        "id": "Coverage.type",
        "path": "Coverage.type",
        "short": "InsuranceType",
        "definition": "Type of insurance policy. Codes as returned in the Check for Right to Insurance",
        "alias": [
          "VerzekeringsSoort"
        ],
        "binding": {
          "strength": "extensible",
          "description": "InsuranceTypeCodelist",
          "valueSetReference": {
            "reference": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.1.1.1--20171231000000",
            "display": "VerzekeringssoortCodelijst"
          }
        },
        "mapping": [
          {
            "identity": "hcim-payer-v1.2-2015EN",
            "map": "NL-CM:1.1.15",
            "comment": "InsuranceType"
          },
          {
            "identity": "hcim-payer-v3.0-2016EN",
            "map": "NL-CM:1.1.15",
            "comment": "InsuranceType"
          },
          {
            "identity": "hcim-payer-v3.1-2017EN",
            "map": "NL-CM:1.1.15",
            "comment": "InsuranceType"
          }
        ]
      },
      {
        "id": "Coverage.policyHolder",
        "path": "Coverage.policyHolder",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-organization"
          }
        ]
      },
      {
        "id": "Coverage.subscriber",
        "path": "Coverage.subscriber",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson"
          }
        ]
      },
      {
        "id": "Coverage.subscriberId",
        "path": "Coverage.subscriberId",
        "short": "InsurantNumber",
        "definition": "Number under which the insured person is registered at the insurance company\r\nThis item maps the ‘Identification number of the card’ on EHIC field 8",
        "alias": [
          "VerzekerdeNummer"
        ],
        "mapping": [
          {
            "identity": "hcim-payer-v1.2-2015EN",
            "map": "NL-CM:1.1.6",
            "comment": "InsurantNumber"
          },
          {
            "identity": "hcim-payer-v3.0-2016EN",
            "map": "NL-CM:1.1.6",
            "comment": "InsurantNumber"
          },
          {
            "identity": "hcim-payer-v3.1-2017EN",
            "map": "NL-CM:1.1.6",
            "comment": "InsurantNumber"
          }
        ]
      },
      {
        "id": "Coverage.beneficiary",
        "path": "Coverage.beneficiary",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"
          }
        ],
        "mapping": [
          {
            "identity": "hcim-basicelements-v1.0-2017EN",
            "map": "NL-CM:0.0.11",
            "comment": "Subject"
          }
        ]
      },
      {
        "id": "Coverage.period",
        "path": "Coverage.period",
        "definition": "Time period during which the coverage is in force. A missing start date indicates the start date isn't known.",
        "mapping": [
          {
            "identity": "hcim-basicelements-v1.0-2017EN",
            "map": "NL-CM:0.0.14",
            "comment": "DateTime"
          }
        ]
      },
      {
        "id": "Coverage.period.start",
        "path": "Coverage.period.start",
        "short": "StartDateTime",
        "definition": "Date from which the insurance policy coverage applies.",
        "alias": [
          "BeginDatumTijd"
        ],
        "mapping": [
          {
            "identity": "hcim-payer-v1.2-2015EN",
            "map": "NL-CM:1.1.13",
            "comment": "StartDateTime"
          },
          {
            "identity": "hcim-payer-v3.0-2016EN",
            "map": "NL-CM:1.1.13",
            "comment": "StartDateTime"
          },
          {
            "identity": "hcim-payer-v3.1-2017EN",
            "map": "NL-CM:1.1.13",
            "comment": "StartDateTime"
          }
        ]
      },
      {
        "id": "Coverage.period.end",
        "path": "Coverage.period.end",
        "short": "EndDateTime",
        "definition": "Date until which the insurance policy coverage applies.\r\nThis item maps the ‘Expiry date’ on EHIC field 9.",
        "alias": [
          "EindDatumTijd"
        ],
        "min": 1,
        "mapping": [
          {
            "identity": "hcim-payer-v1.2-2015EN",
            "map": "NL-CM:1.1.14",
            "comment": "EndDateTime"
          },
          {
            "identity": "hcim-payer-v3.0-2016EN",
            "map": "NL-CM:1.1.14",
            "comment": "EndDateTime"
          },
          {
            "identity": "hcim-payer-v3.1-2017EN",
            "map": "NL-CM:1.1.14",
            "comment": "EndDateTime"
          }
        ]
      },
      {
        "id": "Coverage.payor",
        "path": "Coverage.payor",
        "short": "InsuranceCompany / PayerPerson",
        "alias": [
          "Verzekeraar",
          "BetalerPersoon"
        ],
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-organization"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson"
          }
        ],
        "mapping": [
          {
            "identity": "hcim-payer-v1.2-2015EN",
            "map": "NL-CM:1.1.2",
            "comment": "PayerPerson is Patient or RelatedPerson"
          },
          {
            "identity": "hcim-payer-v3.0-2016EN",
            "map": "NL-CM:1.1.2",
            "comment": "PayerPerson"
          },
          {
            "identity": "hcim-payer-v3.1-2017EN",
            "map": "NL-CM:1.1.2",
            "comment": "PayerPerson"
          },
          {
            "identity": "hcim-payer-v1.2-2015EN",
            "map": "NL-CM:1.1.3",
            "comment": "InsuranceCompany"
          },
          {
            "identity": "hcim-payer-v3.0-2016EN",
            "map": "NL-CM:1.1.3",
            "comment": "InsuranceCompany"
          },
          {
            "identity": "hcim-payer-v3.1-2017EN",
            "map": "NL-CM:1.1.3",
            "comment": "InsuranceCompany"
          }
        ]
      },
      {
        "id": "Coverage.payor.extension",
        "path": "Coverage.payor.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Coverage.payor.extension:bankInformation",
        "path": "Coverage.payor.extension",
        "sliceName": "bankInformation",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": "http://nictiz.nl/fhir/StructureDefinition/zib-Payer-BankInformation"
          }
        ],
        "mapping": [
          {
            "identity": "hcim-payer-v1.2-2015EN",
            "map": "NL-CM:1.1.4",
            "comment": "BankInformation"
          },
          {
            "identity": "hcim-payer-v3.0-2016EN",
            "map": "NL-CM:1.1.4",
            "comment": "BankInformation"
          },
          {
            "identity": "hcim-payer-v3.1-2017EN",
            "map": "NL-CM:1.1.4",
            "comment": "BankInformation"
          }
        ]
      },
      {
        "id": "Coverage.payor.extension:bankInformation.extension",
        "path": "Coverage.payor.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Coverage.payor.extension:bankInformation.extension:BankName",
        "path": "Coverage.payor.extension.extension",
        "sliceName": "BankName",
        "short": "BankName",
        "definition": "Name of the financial organization.",
        "alias": [
          "BankNaam"
        ],
        "min": 0,
        "mapping": [
          {
            "identity": "hcim-payer-v1.2-2015EN",
            "map": "NL-CM:1.1.9",
            "comment": "BankName"
          },
          {
            "identity": "hcim-payer-v3.0-2016EN",
            "map": "NL-CM:1.1.9",
            "comment": "BankName"
          },
          {
            "identity": "hcim-payer-v3.1-2017EN",
            "map": "NL-CM:1.1.9",
            "comment": "BankName"
          }
        ]
      },
      {
        "id": "Coverage.payor.extension:bankInformation.extension:AccountNumber",
        "path": "Coverage.payor.extension.extension",
        "sliceName": "AccountNumber",
        "short": "AccountNumber",
        "definition": "The payer’s bank account number at the listed organization. For European countries, this is the IBAN.",
        "alias": [
          "Rekeningnummer"
        ],
        "min": 1,
        "mapping": [
          {
            "identity": "hcim-payer-v1.2-2015EN",
            "map": "NL-CM:1.1.11",
            "comment": "AccountNumber"
          },
          {
            "identity": "hcim-payer-v3.0-2016EN",
            "map": "NL-CM:1.1.11",
            "comment": "AccountNumber"
          },
          {
            "identity": "hcim-payer-v3.1-2017EN",
            "map": "NL-CM:1.1.11",
            "comment": "AccountNumber"
          }
        ]
      },
      {
        "id": "Coverage.payor.extension:bankInformation.extension:Bankcode",
        "path": "Coverage.payor.extension.extension",
        "sliceName": "Bankcode",
        "short": "Bankcode",
        "definition": "Code indicating the bank and branch. For European countries, this is the organization’s BIC or SWIFT code.",
        "alias": [
          "Bankcode"
        ],
        "min": 0,
        "mapping": [
          {
            "identity": "hcim-payer-v1.2-2015EN",
            "map": "NL-CM:1.1.10",
            "comment": "BankCode"
          },
          {
            "identity": "hcim-payer-v3.0-2016EN",
            "map": "NL-CM:1.1.10",
            "comment": "BankCode"
          },
          {
            "identity": "hcim-payer-v3.1-2017EN",
            "map": "NL-CM:1.1.10",
            "comment": "BankCode"
          }
        ]
      }
    ]
  }
}