FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/Metadata

Packageee.fhir.ts
TypeStructureDefinition
IdMetadata
FHIR VersionR5
Sourcehttps://fhir.ee/https://build.fhir.org/ig/TEHIK-EE/TerminologyServices/StructureDefinition-Metadata.html
URLhttps://fhir.ee/StructureDefinition/Metadata
Version1.0.0
Statusdraft
Date2025-07-02T05:41:59+00:00
NameMetadata
TitleMetadata for code set
Realmee
DescriptionKlassifikaatori/koodiloendi pass. Logical model for metadata for a codesystem or value set
Typehttps://fhir.ee/StructureDefinition/Metadata
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition Metadata

NameFlagsCard.TypeDescription & Constraintsdoco
.. Metadata 0..*BaseMetadata for code set
... identifier 1..*BackboneElementIdentifiers
.... fhirURI 1..1IdentifierFHIR identifier
.... oid 0..1IdentifierOID identifier
... name 1..*BackboneElementName
.... titleEstonian 1..1stringThe most commonly used name (can be an acronym). Preferred name in most settings.
.... titleEnglish 0..1string
.... fullNameEstonian 0..1stringFull name in Estonian if it differs from common name
.... machinereadableName 1..1stringName for machine-processing and URI creation
... classification 0..1booleanCodeSystem is classified as classification by Estonian state regulations
... domain 1..*codeUsage context (healthcare, social care, work, ...)
... description 1..1stringShort description
... owner 1..1stringOwner/expert of the content. Takes responsibility for the quality of the content
... maintainer 1..1stringTechnical maintainer and publisher
... basedOn 0..*Reference()Source terminology.
... relatedTerminologyAsset 0..*BackboneElementRelated terminology that is not technically the source it's directly based on
.... reference 0..1Reference()Related terminology asset's URL
.... description 0..1stringDescription how this terminology is related
... guidance 0..*BackboneElementGuidance related to the terminology asset, textual or referenced
.... usage 0..1stringTextual guidance about the usage of the terminology asset.
.... manual 0..*urlLinks to additional guidance material
.... codingPrinciples 0..1stringShort guidance about the structure of the code system (hierarchy, code creation, etc)
.... changeManagementInformation 1..1stringGuidance on change management and release cycles
... relatedAct 0..*BackboneElementRelated legal acts
.... url 0..1uriURL to the related legal act
.... name 0..1stringName of the related legal act
.... description 0..1stringExplanation about how the documented legal act is related to the terminology asset
... datePublication 1..1dateDate the terminology asset was published
... dateLastUpdate 1..1dateDate of the last update
... effectivePeriod 0..*PeriodEffective dates of the terminology asset version.
... invalidationDate 0..1date?Date of deprecation of the whole terminology asset
... version 0..1stringVersion
... status 1..1codeValidity status of the terminology asset
... replacedBy 0..*Reference()Reference to the new terminology asset that replaces the invalidated asset
... replaces 0..*Reference()Terminology asset which has been replaced by the new terminology asset
... guidanceOnUpdate 0..1stringInformation about the update in case of a new version (reference or short description of impact, transition periods and implementation guidance)
... comments 0..1stringAdditional textual information

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "Metadata",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "https://fhir.ee/StructureDefinition/Metadata",
  "version": "1.0.0",
  "name": "Metadata",
  "title": "Metadata for code set",
  "status": "draft",
  "date": "2025-07-02T05:41:59+00:00",
  "publisher": "TEHIK",
  "contact": [
    {
      "name": "TEHIK",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.tehik.ee"
        },
        {
          "system": "email",
          "value": "fhir@tehik.ee"
        }
      ]
    },
    {
      "name": "Rutt Lindström",
      "telecom": [
        {
          "system": "email",
          "value": "rutt.lindstrom@tehik.ee",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Klassifikaatori/koodiloendi pass. Logical model for metadata for a codesystem or value set",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "EE",
          "display": "Estonia"
        }
      ]
    }
  ],
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "https://fhir.ee/StructureDefinition/Metadata",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "5.0.0"
      }
    ],
    "element": [
      {
        "id": "Metadata",
        "path": "Metadata",
        "short": "Metadata for code set",
        "definition": "Klassifikaatori/koodiloendi pass. Logical model for metadata for a codesystem or value set",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Metadata.identifier",
        "path": "Metadata.identifier",
        "short": "Identifiers",
        "definition": "Identifikaatorid",
        "min": 1,
        "max": "*",
        "base": {
          "path": "Metadata.identifier",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id": "Metadata.identifier.id",
        "path": "Metadata.identifier.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Metadata.identifier.extension",
        "path": "Metadata.identifier.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Metadata.identifier.modifierExtension",
        "path": "Metadata.identifier.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Metadata.identifier.fhirURI",
        "path": "Metadata.identifier.fhirURI",
        "short": "FHIR identifier",
        "definition": "HL7 FHIR URI identifikaator.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Metadata.identifier.fhirURI",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "Metadata.identifier.oid",
        "path": "Metadata.identifier.oid",
        "short": "OID identifier",
        "definition": "ISO OID identifikaator, mida kasutatakse eeskätt CDA dokumentidel.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Metadata.identifier.oid",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "Metadata.name",
        "path": "Metadata.name",
        "short": "Name",
        "definition": "Nimetus",
        "min": 1,
        "max": "*",
        "base": {
          "path": "Metadata.name",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id": "Metadata.name.id",
        "path": "Metadata.name.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Metadata.name.extension",
        "path": "Metadata.name.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Metadata.name.modifierExtension",
        "path": "Metadata.name.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Metadata.name.titleEstonian",
        "path": "Metadata.name.titleEstonian",
        "short": "The most commonly used name (can be an acronym). Preferred name in most settings.",
        "definition": "Kõige sagedamini kasutatav nimetus, sh akronüüm. Kuvatakse eelisnimetusena.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Metadata.name.titleEstonian",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.name.titleEnglish",
        "path": "Metadata.name.titleEnglish",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Metadata.name.titleEnglish",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.name.fullNameEstonian",
        "path": "Metadata.name.fullNameEstonian",
        "short": "Full name in Estonian if it differs from common name",
        "definition": "Ametlik nimetus eesti keeles",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Metadata.name.fullNameEstonian",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.name.machinereadableName",
        "path": "Metadata.name.machinereadableName",
        "short": "Name for machine-processing and URI creation",
        "definition": "Masintöötluseks sobilik nimi, mida kasutatakse URI identifikaatori loomiseks (eemaldatakse täpitähed, tühikud, erimärgid).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Metadata.name.machinereadableName",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.classification",
        "path": "Metadata.classification",
        "short": "CodeSystem is classified as classification by Estonian state regulations",
        "definition": "Koodisüsteem on klassifikaator riigi infosüsteemi mõistes",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Metadata.classification",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "Metadata.domain",
        "path": "Metadata.domain",
        "short": "Usage context (healthcare, social care, work, ...)",
        "definition": "Kasutusvaldkond (tervis, sotsiaal, töö, vm)",
        "min": 1,
        "max": "*",
        "base": {
          "path": "Metadata.domain",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "Metadata.description",
        "path": "Metadata.description",
        "short": "Short description",
        "definition": "Lühikirjeldus, mis kirjeldab klassifikaatorit/loendit: selle sisu ja kasutuseesmärki",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Metadata.description",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.owner",
        "path": "Metadata.owner",
        "short": "Owner/expert of the content. Takes responsibility for the quality of the content",
        "definition": "Omanik. Vastutab sisu kvaliteedi ja ajakohasuse eest",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Metadata.owner",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.maintainer",
        "path": "Metadata.maintainer",
        "short": "Technical maintainer and publisher",
        "definition": "Tehniline haldaja ja avaldaja",
        "comment": "Kes statistikaameti ja ravimiameti asjade puhul maintainer oleks? Et kui TEHIK avaldab, siis oleks nagu tema, aga reaalselt haldab neid siiski keegi teine. Võibolla avaldaja eraldi tuua?",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Metadata.maintainer",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.basedOn",
        "path": "Metadata.basedOn",
        "short": "Source terminology.",
        "definition": "Alusklassifikaator.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Metadata.basedOn",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Reference"
          }
        ]
      },
      {
        "id": "Metadata.relatedTerminologyAsset",
        "path": "Metadata.relatedTerminologyAsset",
        "short": "Related terminology that is not technically the source it's directly based on",
        "definition": "Related terminology that is not technically the source it's directly based on",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Metadata.relatedTerminologyAsset",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id": "Metadata.relatedTerminologyAsset.id",
        "path": "Metadata.relatedTerminologyAsset.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Metadata.relatedTerminologyAsset.extension",
        "path": "Metadata.relatedTerminologyAsset.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Metadata.relatedTerminologyAsset.modifierExtension",
        "path": "Metadata.relatedTerminologyAsset.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Metadata.relatedTerminologyAsset.reference",
        "path": "Metadata.relatedTerminologyAsset.reference",
        "short": "Related terminology asset's URL",
        "definition": "Related terminology asset's URL",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Metadata.relatedTerminologyAsset.reference",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference"
          }
        ]
      },
      {
        "id": "Metadata.relatedTerminologyAsset.description",
        "path": "Metadata.relatedTerminologyAsset.description",
        "short": "Description how this terminology is related",
        "definition": "Description how this terminology is related",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Metadata.relatedTerminologyAsset.description",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.guidance",
        "path": "Metadata.guidance",
        "short": "Guidance related to the terminology asset, textual or referenced",
        "definition": "Juhendmaterjalid teksti või viidetena",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Metadata.guidance",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id": "Metadata.guidance.id",
        "path": "Metadata.guidance.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Metadata.guidance.extension",
        "path": "Metadata.guidance.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Metadata.guidance.modifierExtension",
        "path": "Metadata.guidance.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Metadata.guidance.usage",
        "path": "Metadata.guidance.usage",
        "short": "Textual guidance about the usage of the terminology asset.",
        "definition": "Kasutuskohad (vorming, andmeelement) ja kasutusreeglid.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Metadata.guidance.usage",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.guidance.manual",
        "path": "Metadata.guidance.manual",
        "short": "Links to additional guidance material",
        "definition": "Kodeerimisjuhised, kasutusjuhendid vms",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Metadata.guidance.manual",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "url"
          }
        ]
      },
      {
        "id": "Metadata.guidance.codingPrinciples",
        "path": "Metadata.guidance.codingPrinciples",
        "short": "Short guidance about the structure of the code system (hierarchy, code creation, etc)",
        "definition": "Kodeerimisreeglid",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Metadata.guidance.codingPrinciples",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.guidance.changeManagementInformation",
        "path": "Metadata.guidance.changeManagementInformation",
        "short": "Guidance on change management and release cycles",
        "definition": "Muudatuste halduse sagedus, sh uuendamissagedus ja ajakava",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Metadata.guidance.changeManagementInformation",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.relatedAct",
        "path": "Metadata.relatedAct",
        "short": "Related legal acts",
        "definition": "Seos õigusaktidega",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Metadata.relatedAct",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id": "Metadata.relatedAct.id",
        "path": "Metadata.relatedAct.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Metadata.relatedAct.extension",
        "path": "Metadata.relatedAct.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Metadata.relatedAct.modifierExtension",
        "path": "Metadata.relatedAct.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Metadata.relatedAct.url",
        "path": "Metadata.relatedAct.url",
        "short": "URL to the related legal act",
        "definition": "Seotud õigusakti URL Riigi Teatajas",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Metadata.relatedAct.url",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ]
      },
      {
        "id": "Metadata.relatedAct.name",
        "path": "Metadata.relatedAct.name",
        "short": "Name of the related legal act",
        "definition": "Seotud õigusakti nimetus",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Metadata.relatedAct.name",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.relatedAct.description",
        "path": "Metadata.relatedAct.description",
        "short": "Explanation about how the documented legal act is related to the terminology asset",
        "definition": "Seotud õigusakti ja selle seose kohta käib sisuline selgitus",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Metadata.relatedAct.description",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.datePublication",
        "path": "Metadata.datePublication",
        "short": "Date the terminology asset was published",
        "definition": "Avaldamise kuupäev",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Metadata.datePublication",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "Metadata.dateLastUpdate",
        "path": "Metadata.dateLastUpdate",
        "short": "Date of the last update",
        "definition": "Viimase muudatuse kuupäev",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Metadata.dateLastUpdate",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "Metadata.effectivePeriod",
        "path": "Metadata.effectivePeriod",
        "short": "Effective dates of the terminology asset version.",
        "definition": "Kehtivuse alguse ja lõpu kuupäev versiooni kohta.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Metadata.effectivePeriod",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "Metadata.invalidationDate",
        "path": "Metadata.invalidationDate",
        "short": "?Date of deprecation of the whole terminology asset",
        "definition": "?Otsuse kuupäev või kehtivuse lõpu kuupäev. Täidetakse juhul, kui ei ole enam kehtivat versiooni.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Metadata.invalidationDate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "Metadata.version",
        "path": "Metadata.version",
        "short": "Version",
        "definition": "Versioon. Versiooni number tekib uue versiooni puhul automaatselt ning sellest omakorda tekib versioneerimise ajalugu",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Metadata.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.status",
        "path": "Metadata.status",
        "short": "Validity status of the terminology asset",
        "definition": "Kehtivusstaatus",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Metadata.status",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "Metadata.replacedBy",
        "path": "Metadata.replacedBy",
        "short": "Reference to the new terminology asset that replaces the invalidated asset",
        "definition": "Viide uuele terminoloogiavarale, mis on mõeldud asendama kehtivuse kaotanud terminoloogiavara",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Metadata.replacedBy",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Reference"
          }
        ]
      },
      {
        "id": "Metadata.replaces",
        "path": "Metadata.replaces",
        "short": "Terminology asset which has been replaced by the new terminology asset",
        "definition": "Viide varem kehtestatud klassifikaatorile/koodiloendile, mille kehtestatav klassifikaator/koodiloend asendab",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Metadata.replaces",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Reference"
          }
        ]
      },
      {
        "id": "Metadata.guidanceOnUpdate",
        "path": "Metadata.guidanceOnUpdate",
        "short": "Information about the update in case of a new version (reference or short description of impact, transition periods and implementation guidance)",
        "definition": "Muudatuse juurutamise juhised, sh mõjuanalüüs ja üleminekuperiood. Võib olla viide projektilehele.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Metadata.guidanceOnUpdate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.comments",
        "path": "Metadata.comments",
        "short": "Additional textual information",
        "definition": "Muud märkused",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Metadata.comments",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "Metadata",
        "path": "Metadata",
        "short": "Metadata for code set",
        "definition": "Klassifikaatori/koodiloendi pass. Logical model for metadata for a codesystem or value set"
      },
      {
        "id": "Metadata.identifier",
        "path": "Metadata.identifier",
        "short": "Identifiers",
        "definition": "Identifikaatorid",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Metadata.identifier.fhirURI",
        "path": "Metadata.identifier.fhirURI",
        "short": "FHIR identifier",
        "definition": "HL7 FHIR URI identifikaator.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "Metadata.identifier.oid",
        "path": "Metadata.identifier.oid",
        "short": "OID identifier",
        "definition": "ISO OID identifikaator, mida kasutatakse eeskätt CDA dokumentidel.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "Metadata.name",
        "path": "Metadata.name",
        "short": "Name",
        "definition": "Nimetus",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Metadata.name.titleEstonian",
        "path": "Metadata.name.titleEstonian",
        "short": "The most commonly used name (can be an acronym). Preferred name in most settings.",
        "definition": "Kõige sagedamini kasutatav nimetus, sh akronüüm. Kuvatakse eelisnimetusena.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.name.titleEnglish",
        "path": "Metadata.name.titleEnglish",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.name.fullNameEstonian",
        "path": "Metadata.name.fullNameEstonian",
        "short": "Full name in Estonian if it differs from common name",
        "definition": "Ametlik nimetus eesti keeles",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.name.machinereadableName",
        "path": "Metadata.name.machinereadableName",
        "short": "Name for machine-processing and URI creation",
        "definition": "Masintöötluseks sobilik nimi, mida kasutatakse URI identifikaatori loomiseks (eemaldatakse täpitähed, tühikud, erimärgid).",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.classification",
        "path": "Metadata.classification",
        "short": "CodeSystem is classified as classification by Estonian state regulations",
        "definition": "Koodisüsteem on klassifikaator riigi infosüsteemi mõistes",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "Metadata.domain",
        "path": "Metadata.domain",
        "short": "Usage context (healthcare, social care, work, ...)",
        "definition": "Kasutusvaldkond (tervis, sotsiaal, töö, vm)",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "Metadata.description",
        "path": "Metadata.description",
        "short": "Short description",
        "definition": "Lühikirjeldus, mis kirjeldab klassifikaatorit/loendit: selle sisu ja kasutuseesmärki",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.owner",
        "path": "Metadata.owner",
        "short": "Owner/expert of the content. Takes responsibility for the quality of the content",
        "definition": "Omanik. Vastutab sisu kvaliteedi ja ajakohasuse eest",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.maintainer",
        "path": "Metadata.maintainer",
        "short": "Technical maintainer and publisher",
        "definition": "Tehniline haldaja ja avaldaja",
        "comment": "Kes statistikaameti ja ravimiameti asjade puhul maintainer oleks? Et kui TEHIK avaldab, siis oleks nagu tema, aga reaalselt haldab neid siiski keegi teine. Võibolla avaldaja eraldi tuua?",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.basedOn",
        "path": "Metadata.basedOn",
        "short": "Source terminology.",
        "definition": "Alusklassifikaator.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference"
          }
        ]
      },
      {
        "id": "Metadata.relatedTerminologyAsset",
        "path": "Metadata.relatedTerminologyAsset",
        "short": "Related terminology that is not technically the source it's directly based on",
        "definition": "Related terminology that is not technically the source it's directly based on",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Metadata.relatedTerminologyAsset.reference",
        "path": "Metadata.relatedTerminologyAsset.reference",
        "short": "Related terminology asset's URL",
        "definition": "Related terminology asset's URL",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference"
          }
        ]
      },
      {
        "id": "Metadata.relatedTerminologyAsset.description",
        "path": "Metadata.relatedTerminologyAsset.description",
        "short": "Description how this terminology is related",
        "definition": "Description how this terminology is related",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.guidance",
        "path": "Metadata.guidance",
        "short": "Guidance related to the terminology asset, textual or referenced",
        "definition": "Juhendmaterjalid teksti või viidetena",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Metadata.guidance.usage",
        "path": "Metadata.guidance.usage",
        "short": "Textual guidance about the usage of the terminology asset.",
        "definition": "Kasutuskohad (vorming, andmeelement) ja kasutusreeglid.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.guidance.manual",
        "path": "Metadata.guidance.manual",
        "short": "Links to additional guidance material",
        "definition": "Kodeerimisjuhised, kasutusjuhendid vms",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "url"
          }
        ]
      },
      {
        "id": "Metadata.guidance.codingPrinciples",
        "path": "Metadata.guidance.codingPrinciples",
        "short": "Short guidance about the structure of the code system (hierarchy, code creation, etc)",
        "definition": "Kodeerimisreeglid",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.guidance.changeManagementInformation",
        "path": "Metadata.guidance.changeManagementInformation",
        "short": "Guidance on change management and release cycles",
        "definition": "Muudatuste halduse sagedus, sh uuendamissagedus ja ajakava",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.relatedAct",
        "path": "Metadata.relatedAct",
        "short": "Related legal acts",
        "definition": "Seos õigusaktidega",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "Metadata.relatedAct.url",
        "path": "Metadata.relatedAct.url",
        "short": "URL to the related legal act",
        "definition": "Seotud õigusakti URL Riigi Teatajas",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ]
      },
      {
        "id": "Metadata.relatedAct.name",
        "path": "Metadata.relatedAct.name",
        "short": "Name of the related legal act",
        "definition": "Seotud õigusakti nimetus",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.relatedAct.description",
        "path": "Metadata.relatedAct.description",
        "short": "Explanation about how the documented legal act is related to the terminology asset",
        "definition": "Seotud õigusakti ja selle seose kohta käib sisuline selgitus",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.datePublication",
        "path": "Metadata.datePublication",
        "short": "Date the terminology asset was published",
        "definition": "Avaldamise kuupäev",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "Metadata.dateLastUpdate",
        "path": "Metadata.dateLastUpdate",
        "short": "Date of the last update",
        "definition": "Viimase muudatuse kuupäev",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "Metadata.effectivePeriod",
        "path": "Metadata.effectivePeriod",
        "short": "Effective dates of the terminology asset version.",
        "definition": "Kehtivuse alguse ja lõpu kuupäev versiooni kohta.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "Metadata.invalidationDate",
        "path": "Metadata.invalidationDate",
        "short": "?Date of deprecation of the whole terminology asset",
        "definition": "?Otsuse kuupäev või kehtivuse lõpu kuupäev. Täidetakse juhul, kui ei ole enam kehtivat versiooni.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "Metadata.version",
        "path": "Metadata.version",
        "short": "Version",
        "definition": "Versioon. Versiooni number tekib uue versiooni puhul automaatselt ning sellest omakorda tekib versioneerimise ajalugu",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.status",
        "path": "Metadata.status",
        "short": "Validity status of the terminology asset",
        "definition": "Kehtivusstaatus",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "Metadata.replacedBy",
        "path": "Metadata.replacedBy",
        "short": "Reference to the new terminology asset that replaces the invalidated asset",
        "definition": "Viide uuele terminoloogiavarale, mis on mõeldud asendama kehtivuse kaotanud terminoloogiavara",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference"
          }
        ]
      },
      {
        "id": "Metadata.replaces",
        "path": "Metadata.replaces",
        "short": "Terminology asset which has been replaced by the new terminology asset",
        "definition": "Viide varem kehtestatud klassifikaatorile/koodiloendile, mille kehtestatav klassifikaator/koodiloend asendab",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference"
          }
        ]
      },
      {
        "id": "Metadata.guidanceOnUpdate",
        "path": "Metadata.guidanceOnUpdate",
        "short": "Information about the update in case of a new version (reference or short description of impact, transition periods and implementation guidance)",
        "definition": "Muudatuse juurutamise juhised, sh mõjuanalüüs ja üleminekuperiood. Võib olla viide projektilehele.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Metadata.comments",
        "path": "Metadata.comments",
        "short": "Additional textual information",
        "definition": "Muud märkused",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  }
}