{
  "resourceType": "StructureDefinition",
  "url": "https://api-erp.kamsoft.pl/ns/StructureDefinition/ValueSet",
  "name": "ValueSet",
  "version": "1.0.0",
  "title": "ValueSet (lista kodów)",
  "description": "Zasób kanoniczny Core — definicja zestawu kodów (url, wersja, compose/include) zgodna z artefaktami IG i użyciem w bindingach pól.",
  "kind": "resource",
  "abstract": false,
  "type": "ValueSet",
  "baseDefinition": "https://api-erp.kamsoft.pl/ns/StructureDefinition/DomainResource",
  "snapshot": {
    "element": [
      {
        "path": "ValueSet.identifier",
        "min": 0,
        "max": "*",
        "short": "Identyfikatory ValueSet",
        "type": [
          {
            "code": "Identifier[]"
          }
        ]
      },
      {
        "path": "ValueSet.url",
        "min": 0,
        "max": "1",
        "short": "Kanoniczny URI ValueSet",
        "type": [
          {
            "code": "String"
          }
        ]
      },
      {
        "path": "ValueSet.version",
        "min": 0,
        "max": "1",
        "short": "Wersja definicji",
        "type": [
          {
            "code": "String"
          }
        ]
      },
      {
        "path": "ValueSet.title",
        "min": 0,
        "max": "1",
        "short": "Tytuł",
        "type": [
          {
            "code": "String"
          }
        ]
      },
      {
        "path": "ValueSet.experimental",
        "min": 0,
        "max": "1",
        "short": "Eksperymentalny",
        "type": [
          {
            "code": "Boolean"
          }
        ]
      },
      {
        "path": "ValueSet.immutable",
        "min": 0,
        "max": "1",
        "short": "Niezmienny",
        "type": [
          {
            "code": "Boolean"
          }
        ]
      },
      {
        "path": "ValueSet.description",
        "min": 0,
        "max": "1",
        "short": "Opis",
        "type": [
          {
            "code": "String"
          }
        ]
      },
      {
        "path": "ValueSet.compose",
        "min": 0,
        "max": "1",
        "short": "Skład (include/system/concept)",
        "definition": "FHIR-like compose — dołączone systemy kodów i koncepty.",
        "type": [
          {
            "code": "ValueSetCompose"
          }
        ]
      }
    ]
  }
}