{
  "resourceType": "StructureDefinition",
  "url": "https://api-erp.kamsoft.pl/ns/StructureDefinition/Register",
  "name": "Register",
  "version": "1.0.0",
  "title": "Rejestr księgowy",
  "description": "Zasób kanoniczny FK — rejestr (symbol) z powiązaniem wariantów księgowych dla nagłówka i pozycji dokumentu.",
  "kind": "resource",
  "abstract": false,
  "type": "Register",
  "baseDefinition": "https://api-erp.kamsoft.pl/ns/StructureDefinition/DomainResource",
  "snapshot": {
    "element": [
      {
        "path": "Register.identifier",
        "min": 0,
        "max": "*",
        "short": "Identyfikatory rejestru",
        "type": [
          {
            "code": "Identifier[]"
          }
        ]
      },
      {
        "path": "Register.symbol",
        "min": 1,
        "max": "1",
        "short": "Symbol rejestru",
        "type": [
          {
            "code": "String"
          }
        ]
      },
      {
        "path": "Register.documentHeaderAccountingVariant",
        "min": 0,
        "max": "*",
        "short": "Wariant księgowy — nagłówek dokumentu",
        "type": [
          {
            "code": "Reference[]"
          }
        ]
      },
      {
        "path": "Register.documentItemAccountingVariant",
        "min": 0,
        "max": "*",
        "short": "Wariant księgowy — pozycja dokumentu",
        "type": [
          {
            "code": "Reference[]"
          }
        ]
      }
    ]
  }
}