{
  "resourceType": "StructureDefinition",
  "id": "ext-ExplanationOfBenefit-DuplicateVersion",
  "url": "https://bpcs.exchange/fhir/StructureDefinition/ext-ExplanationOfBenefit-DuplicateVersion",
  "name": "ExplanationOfBenefitDuplicateVersion",
  "title": "ExplanationOfBenefit Duplicate Version",
  "status": "active",
  "experimental": false,
  "description": "A sequence number used to differentiate multiple receipts for the same recipient and same product on the same day",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "BPCS",
      "name": "Internal BPCS API"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "ExplanationOfBenefit.item"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Duplicate version",
        "definition": "A sequence number used to differentiate multiple receipts for the same recipient and same product on the same day",
        "comment": "If present on a modifier, indicates the version considered to be equivelent",
        "max": "1"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "https://bpcs.exchange/fhir/StructureDefinition/ext-ExplanationOfBenefit-DuplicateVersion"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "type": [
          {
            "code": "unsignedInt"
          }
        ],
        "mustSupport": true,
        "mapping": [
          {
            "identity": "BPCS",
            "map": "RecipientExpensesDTO.duplicateVersionNum, DuplicateExplanationOfBenefitDTO.duplicVerNo, ReceiptDTO.clmDuplicateVerNo"
          }
        ]
      }
    ]
  }
}