﻿{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api-erp.kamsoft.pl/ns/StructureDefinition/ValueItem",
  "title": "ValueItem",
  "type": "object",
  "properties": {
    "type": {
      "description": "Typ sk\u0142adnika warto\u015Bci",
      "$ref": "https://api-erp.kamsoft.pl/ns/StructureDefinition/CodeableConcept"
    },
    "valueQuantity": {
      "description": "Warto\u015B\u0107 \u2014 ilo\u015B\u0107",
      "$ref": "https://api-erp.kamsoft.pl/ns/StructureDefinition/Quantity"
    },
    "valueMoney": {
      "description": "Warto\u015B\u0107 \u2014 kwota",
      "$ref": "https://api-erp.kamsoft.pl/ns/StructureDefinition/Money"
    },
    "valueString": {
      "description": "Warto\u015B\u0107 \u2014 tekst",
      "type": "string"
    },
    "valueInteger": {
      "description": "Warto\u015B\u0107 \u2014 liczba ca\u0142kowita",
      "type": "integer"
    },
    "valueBoolean": {
      "description": "Warto\u015B\u0107 \u2014 logiczna",
      "type": "boolean"
    },
    "valueCodeableConcept": {
      "description": "Warto\u015B\u0107 \u2014 CodeableConcept",
      "$ref": "https://api-erp.kamsoft.pl/ns/StructureDefinition/CodeableConcept"
    },
    "valueReference": {
      "description": "Warto\u015B\u0107 \u2014 Reference",
      "$ref": "https://api-erp.kamsoft.pl/ns/StructureDefinition/Reference"
    }
  }
}