### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/ValueSet.json
### ----------------------------------------------------
### -- Chunk 14 of 16
.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ValueSet.compose.exclude",
        "min" : 0,
        "max" : "*"
      },
      "contentReference" : "#ValueSet.compose.include",
      "condition" : ["vsd-2"],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ValueSet.expansion",
      "path" : "ValueSet.expansion",
      "short" : "Used when the value set is \"expanded\"",
      "definition" : "A value set can also be \"expanded\", where the value set is turned into a simple collection of enumerated codes. This element holds the expansion, if it has been performed.",
      "comment" : "Expansion is performed to produce a collection of codes that are ready to use for data entry or validation. Value set expansions are always considered to be stateless - they are a record of the set of codes in the value set at a point in time under a given set of conditions, and are not subject to ongoing maintenance.\n\nExpansion.parameter is  a simplified list of parameters - a subset of the features of the [Parameters](parameters.html) resource.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ValueSet.expansion",
        "min" : 0,
        "max" : "1"
      },
      "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())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ValueSet.expansion.id",
      "path" : "ValueSet.expansion.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" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ValueSet.expansion.extension",
      "path" : "ValueSet.expansion.extension",
      "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 manageable, 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"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ValueSet.expansion.modifierExtension",
      "path" : "ValueSet.expansion.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 manageable, 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](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "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" : "ValueSet.expansion.identifier",
      "path" : "ValueSet.expansion.identifier",
      "short" : "Identifies the value set expansion (business identifier)",
      "definition" : "An identifier that uniquely identifies this expansion of the valueset, based on a unique combination of the provided parameters, the system default parameters, and the underlying system code system versions etc. Systems may re-use the same identifier as long as those factors remain the same, and the expansion is the same, but are not required to do so. This is a business identifier.",
      "comment" : "Typically, this uri is a UUID (e.g. urn:uuid:8230ff20-c97a-4167-a59d-dc2cb9df16dd).",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ValueSet.expansion.identifier",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "uri"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ValueSet.expansion.timestamp",
      "path" : "ValueSet.expansion.timestamp",
      "short" : "Time ValueSet expansion happened",
      "definition" : "The time at which the expansion was produced by the expanding system.",
      "comment" : "This SHOULD be a fully populated instant, but in some circumstances, value sets are expanded by hand, and the expansion is published without that precision.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ValueSet.expansion.timestamp",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "dateTime"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ValueSet.expansion.total",
      "path" : "ValueSet.expansion.total",
      "short" : "Total number of codes in the expansion",
      "definition" : "The total number of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter.",
      "comment" : "Paging only applies to flat expansions.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ValueSet.expansion.total",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "integer"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ValueSet.expansion.offset",
      "path" : "ValueSet.expansion.offset",
      "short" : "Offset at which this resource starts",
      "definition" : "If paging is being used, the offset at which this resource starts.  I.e. this resource is a partial view into the expansion. If paging is not being used, this element SHALL NOT be present.",
      "comment" : "Paging only applies to flat expansions. If a filter is applied, the count is the number of concepts that matched the filter, not the number of concepts in an unfiltered view of the expansion.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ValueSet.expansion.offset",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "integer"
      }],
      "meaningWhenMissing" : "Paging is not being used",
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ValueSet.expansion.parameter",
      "path" : "ValueSet.expansion.parameter",
      "short" : "Parameter that controlled the expansion process",
      "definition" : "A parameter that controlled the expansion process. These parameters may be used by users of expanded value sets to check whether the expansion is suitable for a particular purpose, or to pick the correct expansion.",
      "comment" : "The server decides which parameters to include here, but at a minimum, the list SHOULD include all of the parameters that affect the $expand operation. If the expansion will be persisted all of these parameters SHALL be included. If the codeSystem on the server has a specified version then this version SHALL be provided as a parameter in the expansion (note that not all code systems have a version).",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ValueSet.expansion.parameter",
        "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())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ValueSet.expansion.parameter.id",
      "path" : "ValueSet.expansion.parameter.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" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ValueSet.expansion.parameter.extension",
      "path" : "ValueSet.expansion.parameter.extension",
      "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 manageable, 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"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ValueSet.expansion.parameter.modifierExtension",
      "path" : "ValueSet.expansion.parameter.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 manageable, 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](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "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" : "ValueSet.expansion.parameter.name",
      "path" : "ValueSet.expansion.parameter.name",
      "short" : "Name as assigned by the client or server",
      "definition" : "Name of the input parameter to the $expand operation; may be a server-assigned name for additional default or other server-supplied parameters used to control the expansion process.",
      "comment" : "The names are assigned at the discretion of the server.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ValueSet.expansion.parameter.name",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ValueSet.expansion.parameter.value[x]",
      "path" : "ValueSet.expansion.parameter.value[x]",
      "short" : "Value of the named parameter",
      "definition" : "The value of the parameter.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ValueSet.expansion.parameter.value[x]",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      },
      {
        "code" : "boolean"
      },
      {
        "code" : "integer"
      },
      {
        "code" : "decimal"
      },
      {
        "code" : "uri"
      },
      {
        "code" : "code"
      },
      {
        "code" : "dateTime"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ValueSet.expansion.contains",
      "path" : "ValueSet.expansion.contains",
      "short" : "Codes in the value set",
      "definition" : "The codes that are contained in the value set expansion.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ValueSet.expansion.contains",
        "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())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      },
      {
        "key" : "vsd-6",
        "severity" : "error",
        "human" : "SHALL have a code or a display",
        "expression" : "code.exists() or display.exists()",
        "xpath" : "exists(f:code) or exists(f:display)"
      },
      {
        "key" : "vsd-9",
        "severity" : "error",
        "human" : "Must have a code if not abstract",
        "expression" : "code.exists() or abstract = true",
        "xpath" : "exists(f:code) or (f:abstract/@value = true())"
      },
      {
        "key" : "vsd-10",
        "severity" : "error",
        "human" : "Must have a system if a code is present",
        "expression" : "code.empty() or system.exists()",
        "xpath" : "exists(f:system) or not(exists(f:code))"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ValueSet.expansion.contains.id",
      "path" : "ValueSet.expansion.contains.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" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ValueSet.expansion.contains.extension",
      "path" : "ValueSet.expansion.contains.extension",
      "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 manageable, 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"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ValueSet.expansion.contains.modifierExtension",
      "path" : "ValueSet.expansion.contains.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 manageable, 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](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "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" : "ValueSet.expansion.contains.system",
      "path" : "ValueSet.expansion.contains.system",
      "short" : "System value for the code",
      "definition" : "An absolute URI which is the code system in which the code for this item in the expansion is defined.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ValueSet.expansion.contains.system",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "uri"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ValueSet.expansion.contains.abstract",
      "path" : "ValueSet.expansion.contains.abstract",
      "short" : "If user cannot select this entry",
      "definition" : "If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value.",
      "comment" : "This should not be understood to exclude its use for searching (e.g. by subsumption testing). The client should know whether it is appropriate for the user to select an abstract code or not.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ValueSet.expansion.contains.abstract",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "boolean"
      }],
      "meaningWhenMissing" : "If this is not populated, systems can assume that the concept it not abstract. This SHALL always be populated for abstract concepts",
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ValueSet.expansion.contains.inactive",
      "path" : "ValueSet.expansion.contains.inactive",
      "short" : "If concept is inactive in the code system",
      "definition" : "If the concept is inactive in the code system that defines it. Inactive codes are those that are no longer to be used, but are maintained by the code system for understanding legacy data. It might not be known or specified whether an concept is inactive (and it may depend on the context of use).",
      "comment" : "This should only have a value if the concept is inactive.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ValueSet.expansion.contains.inactive",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "boolean"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ValueSet.expansion.contains.version",
      "path" : "ValueSet.expansion.contains.version",
      "short" : "Version in which this code/display is defined",
      "definition" : "The version of the code system from this code was taken. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
      "comment" : "The exact value of the version string is specified by the system from which the code is derived.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ValueSet.expansion.contains.version",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ValueSet.expansion.contains.code",
      "path" : "ValueSet.expansion.contains.code",
      "short" : "Code - if blank, this is not a selectable code",
      "definition" : "The code for this item in the expansion hierarchy. If this code is missing the entry in the hierarchy is a place holder (abstract) and does not represent a valid code in the value set.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ValueSet.expansion.contains.code",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "condition" : ["vsd-6"],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ValueSet.expansion.contains.display",
      "path" : "ValueSet.expansion.contains.display",
      "short" : "User display for the concept",
      "definition" : "The recommended display for this item in the expansion.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ValueSet.expansion.contains.display",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "condition" : ["vsd-6"],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ValueSet.expansion.contains.designation",
      "path" : "ValueSet.expansion.contains.designation",
      "short" : "Additional representations for this item",
      "definition" : "Additional representations for this item - other languages, aliases, specialized purposes, used for particular purposes, etc. These are relevant when the conditions of the expansion do not fix to a single correct representation.",
      "comment" : "The designations provided must be based on the value set and code system definitions.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ValueSet.expansion.contains.designation",
        "min" : 0,
        "max" : "*"
      },
      "contentReference" : "#ValueSet.compose.include.concept.designation",
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ValueSet.expansion.contains.contains",
      "path" : "ValueSet.expansion.contains.contains",
      "short" : "Codes contained under this entry",
      "definition" : "Other codes and entries contained under this entry in the hierarchy.",
      "comment" : "If the expansion uses this element, there is  no implication about the logical relationship between them, and the  structure cannot be used for logical inferencing. The structure  exists to provide navigational assistance for helping human users to  locate codes in the expansion.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ValueSet.expansion.contains.contains",
        "min" : 0,
        "max" : "*"
      },
      "contentReference" : "#ValueSet.expansion.contains",
      "isModifier" : false,
      "isSummary" : false
    }]
  },
  "differential" : {
    "element" : [{
      "id" : "ValueSet",
      "path" : "ValueSet",
      "short" : "A set of codes drawn from one or more code systems",
      "definition" : "A ValueSet resource instance specifies a set of codes drawn from one or more code systems, intended for use in a particular context. Value sets link between [CodeSystem](codesystem.html) definitions and their use in [coded elements](terminologies.html).",
      "min" : 0,
      "max" : "*",
      "constraint" : [{
        "key" : "vsd-0",
        "severity" : "warning",
        "human" : "Name should be usable as an identifier for the module by machine processing applications such as code generation",
        "expression" : "name.matches('[A-Z]([A-Za-z0-9_]){0,254}')",
        "xpath" : "not(exists(f:name/@value)) or matches(f:name/@value, '[A-Z]([A-Za-z0-9_]){0,254}')"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ValueSet.url",
      "path" : "ValueSet.url",
      "short" : "Canonical identifier for this value set, represented as a URI (globally unique)",
      "definition" : "An absolute URI that is used to identify this value set when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this value set is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the value set is stored on different servers.",
      "comment" : "Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred.  Multiple instances may share the same URL if they have a distinct version.\n\nThe determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). \n\nIn some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found.",
      "requirements" : "Allows the value set to be referenced by a single globally unique identifier.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "uri"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Definition.url"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.identifier"
      },
      {
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ValueSet.identifier",
      "path" : "ValueSet.identifier",
      "short" : "Additional identifier for the value set (business identifier)",
      "definition" : "A formal identifier that is used to identify this value set when it is represented in other formats, or referenced in a specification, model, design or an instance.",
      "comment" : "Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this value set outside of FHIR, where it is not possible to use the logical URI.",
      "requirements" : "Allows externally provided and/or usable business identifiers to be easily associated with the module.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Identifier"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Definition.identifier"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.identifier"
      },
      {
        "identity" : "objimpl",
        "map" : "no-gen-base"
      }]
    },
    {
      "id" : "ValueSet.version",
      "path" : "ValueSet.version",
      "short" : "Business version of the value set",
      "definition" : "The identifier that is used to identify this version of the value set when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the value set author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.",
      "comment" : "There may be different value set instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the value set with the format [url]|[version