{
  "resourceType": "StructureDefinition",
  "url": "https://api-erp.kamsoft.pl/ns/StructureDefinition/FixedAssetDocument",
  "name": "FixedAssetDocument",
  "version": "1.0.0",
  "title": "Dokument środka trwałego",
  "description": "Zasób kanoniczny ESM — dokument operacji na środkach trwałych (symbol, kwoty, okres, pozycje, załączniki).",
  "kind": "resource",
  "abstract": false,
  "type": "FixedAssetDocument",
  "baseDefinition": "https://api-erp.kamsoft.pl/ns/StructureDefinition/DomainResource",
  "snapshot": {
    "element": [
      {
        "path": "FixedAssetDocument.identifier",
        "min": 0,
        "max": "*",
        "short": "Identyfikatory dokumentu",
        "type": [
          {
            "code": "Identifier[]"
          }
        ]
      },
      {
        "path": "FixedAssetDocument.symbol",
        "min": 0,
        "max": "1",
        "short": "Symbol rodzaju dokumentu",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "valueSet": "https://api-erp.kamsoft.pl/ns/fixed-asset-document-symbol"
        }
      },
      {
        "path": "FixedAssetDocument.issueDate",
        "min": 0,
        "max": "1",
        "short": "Data wystawienia",
        "type": [
          {
            "code": "String"
          }
        ]
      },
      {
        "path": "FixedAssetDocument.introducedDate",
        "min": 0,
        "max": "1",
        "short": "Data wprowadzenia",
        "type": [
          {
            "code": "String"
          }
        ]
      },
      {
        "path": "FixedAssetDocument.amount",
        "min": 0,
        "max": "1",
        "short": "Kwota",
        "type": [
          {
            "code": "Money"
          }
        ]
      },
      {
        "path": "FixedAssetDocument.depreciationAmount",
        "min": 0,
        "max": "1",
        "short": "Kwota amortyzacji",
        "type": [
          {
            "code": "Money"
          }
        ]
      },
      {
        "path": "FixedAssetDocument.period",
        "min": 0,
        "max": "1",
        "short": "Okres",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "path": "FixedAssetDocument.description",
        "min": 0,
        "max": "1",
        "short": "Opis",
        "type": [
          {
            "code": "String"
          }
        ]
      },
      {
        "path": "FixedAssetDocument.position",
        "min": 0,
        "max": "*",
        "short": "Pozycje dokumentu",
        "type": [
          {
            "code": "FixedAssetDocumentPosition[]"
          }
        ]
      },
      {
        "path": "FixedAssetDocument.attachment",
        "min": 0,
        "max": "*",
        "short": "Załączniki",
        "type": [
          {
            "code": "Attachment[]"
          }
        ]
      }
    ]
  }
}