{
  "resourceType": "StructureDefinition",
  "url": "https://api-erp.kamsoft.pl/ns/StructureDefinition/FixedAsset",
  "name": "FixedAsset",
  "version": "1.0.0",
  "title": "Środek trwały",
  "description": "Zasób kanoniczny ESM — kartoteka środka trwałego: daty, wartości, stawki i metody amortyzacji bilansowej i podatkowej.",
  "kind": "resource",
  "abstract": false,
  "type": "FixedAsset",
  "baseDefinition": "https://api-erp.kamsoft.pl/ns/StructureDefinition/DomainResource",
  "snapshot": {
    "element": [
      {
        "path": "FixedAsset.identifier",
        "min": 0,
        "max": "*",
        "short": "Identyfikatory środka",
        "type": [
          {
            "code": "Identifier[]"
          }
        ]
      },
      {
        "path": "FixedAsset.quantity",
        "min": 0,
        "max": "1",
        "short": "Ilość",
        "type": [
          {
            "code": "Double"
          }
        ]
      },
      {
        "path": "FixedAsset.acquisitionDate",
        "min": 0,
        "max": "1",
        "short": "Data nabycia",
        "type": [
          {
            "code": "String"
          }
        ]
      },
      {
        "path": "FixedAsset.acceptanceDate",
        "min": 0,
        "max": "1",
        "short": "Data przyjęcia",
        "type": [
          {
            "code": "String"
          }
        ]
      },
      {
        "path": "FixedAsset.liquidationDate",
        "min": 0,
        "max": "1",
        "short": "Data likwidacji",
        "type": [
          {
            "code": "String"
          }
        ]
      },
      {
        "path": "FixedAsset.initialValueBalance",
        "min": 0,
        "max": "1",
        "short": "Wartość początkowa — bilans",
        "type": [
          {
            "code": "Money"
          }
        ]
      },
      {
        "path": "FixedAsset.initialValueTax",
        "min": 0,
        "max": "1",
        "short": "Wartość początkowa — podatek",
        "type": [
          {
            "code": "Money"
          }
        ]
      },
      {
        "path": "FixedAsset.accumulatedDepreciationBalance",
        "min": 0,
        "max": "1",
        "short": "Skumulowany umorzenie — bilans",
        "type": [
          {
            "code": "Money"
          }
        ]
      },
      {
        "path": "FixedAsset.accumulatedDepreciationTax",
        "min": 0,
        "max": "1",
        "short": "Skumulowany umorzenie — podatek",
        "type": [
          {
            "code": "Money"
          }
        ]
      },
      {
        "path": "FixedAsset.bookValueBalance",
        "min": 0,
        "max": "1",
        "short": "Wartość księgowa — bilans",
        "type": [
          {
            "code": "Money"
          }
        ]
      },
      {
        "path": "FixedAsset.bookValueTax",
        "min": 0,
        "max": "1",
        "short": "Wartość księgowa — podatek",
        "type": [
          {
            "code": "Money"
          }
        ]
      },
      {
        "path": "FixedAsset.depreciationRateBalance",
        "min": 0,
        "max": "1",
        "short": "Stawka amortyzacji — bilans",
        "type": [
          {
            "code": "Double"
          }
        ]
      },
      {
        "path": "FixedAsset.depreciationRateTax",
        "min": 0,
        "max": "1",
        "short": "Stawka amortyzacji — podatek",
        "type": [
          {
            "code": "Double"
          }
        ]
      },
      {
        "path": "FixedAsset.depreciationTypeBalance",
        "min": 0,
        "max": "1",
        "short": "Metoda amortyzacji — bilans",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "valueSet": "https://api-erp.kamsoft.pl/ns/fixed-asset-deprecation-type-balance"
        }
      },
      {
        "path": "FixedAsset.depreciationTypeTax",
        "min": 0,
        "max": "1",
        "short": "Metoda amortyzacji — podatek",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "valueSet": "https://api-erp.kamsoft.pl/ns/fixed-asset-deprecation-type-tax"
        }
      },
      {
        "path": "FixedAsset.name",
        "min": 0,
        "max": "1",
        "short": "Nazwa",
        "type": [
          {
            "code": "String"
          }
        ]
      }
    ]
  }
}