{
  "resourceType" : "Bundle",
  "id" : "extensions",
  "meta" : {
    "lastUpdated" : "2019-11-01T09:29:23.356+11:00"
  },
  "type" : "collection",
  "entry" : [{
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-expression",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-expression",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-expression",
      "version" : "4.0.1",
      "name" : "expression",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "An expression that provides an alternative definition of the content of the value set. There are two different ways to use this expression extension: If both an expression and a compose element is present, the compose is understood the make the same statement as the expression. If there is no compose, the expression is the only definition of the value set, and the value set can only be processed by a server that understands the expression syntax, it that is computable.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "An alternative computable expression of the value set content",
          "definition" : "An expression that provides an alternative definition of the content of the value set. There are two different ways to use this expression extension: If both an expression and a compose element is present, the compose is understood the make the same statement as the expression. If there is no compose, the expression is the only definition of the value set, and the value set can only be processed by a server that understands the expression syntax, it that is computable.",
          "comment" : "The expression may be a reference or the actual expression, and ss expected to be a computable format (use the [rules-text extension](extension-valueset-rules-text.html) for a non-computable description).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-expression",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Expression"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "An alternative computable expression of the value set content",
          "definition" : "An expression that provides an alternative definition of the content of the value set. There are two different ways to use this expression extension: If both an expression and a compose element is present, the compose is understood the make the same statement as the expression. If there is no compose, the expression is the only definition of the value set, and the value set can only be processed by a server that understands the expression syntax, it that is computable.",
          "comment" : "The expression may be a reference or the actual expression, and ss expected to be a computable format (use the [rules-text extension](extension-valueset-rules-text.html) for a non-computable description).",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-expression"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Expression"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-expand-rules",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-expand-rules",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-expand-rules",
      "version" : "4.0.1",
      "name" : "expand-rules",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Defines how concepts are processed into the expansion when it's for UI presentation.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet.compose.include"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "all-codes | ungrouped | groups-only",
          "definition" : "Defines how concepts are processed into the expansion when it's for UI presentation.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-expand-rules",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ExpansionProcessingRule"
            }],
            "strength" : "required",
            "description" : "Defines how concepts are processed into the expansion when it's for UI presentation.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/expansion-processing-rule|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "all-codes | ungrouped | groups-only",
          "definition" : "Defines how concepts are processed into the expansion when it's for UI presentation.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-expand-rules"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ExpansionProcessingRule"
            }],
            "strength" : "required",
            "description" : "Defines how concepts are processed into the expansion when it's for UI presentation.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/expansion-processing-rule|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaireresponse-reviewer",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer",
      "version" : "4.0.1",
      "name" : "reviewer",
      "title" : "Reviewer",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "Individual responsible for ensuring that the questionnaire response have been completed appropriately and signs off on the content.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "QuestionnaireResponse"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Who verified completion of form?",
          "definition" : "Individual responsible for ensuring that the questionnaire response have been completed appropriately and signs off on the content.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "./participation[typeCode=VRF]/role"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Who verified completion of form?",
          "definition" : "Individual responsible for ensuring that the questionnaire response have been completed appropriately and signs off on the content.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "./participation[typeCode=VRF]/role"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/openEHR-management",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "openEHR-management",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/openEHR-management",
      "version" : "4.0.1",
      "name" : "management",
      "status" : "draft",
      "date" : "2014-10-09",
      "publisher" : "Health Level Seven, Inc / openEHR project",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org"
        }]
      }],
      "description" : "Text description about the clinical management provided.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AllergyIntolerance.reaction"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Clinical Management Description",
          "definition" : "Text description about the clinical management provided.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/openEHR-management",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Clinical Management Description",
          "definition" : "Text description about the clinical management provided.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/openEHR-management"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-geneticsCopyNumberEvent",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent",
      "version" : "4.0.1",
      "name" : "CopyNumberEvent",
      "status" : "draft",
      "date" : "2016-03-14",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "A variation that increases or decreases the copy number of a given region ([SO:0001019](http://www.sequenceontology.org/browser/current_svn/term/SO:0001019)). Values: amplification/deletion/LOH.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Copy number variation",
          "definition" : "A variation that increases or decreases the copy number of a given region ([SO:0001019](http://www.sequenceontology.org/browser/current_svn/term/SO:0001019)). Values: amplification/deletion/LOH.",
          "comment" : "Loss of heterozygosity (LOH) is a functional variant whereby the sequence alteration causes a loss of function of one allele of a gene ([SO:0001786](http://www.sequenceontology.org/browser/current_svn/term/SO:0001786)).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Copy number variation",
          "definition" : "A variation that increases or decreases the copy number of a given region ([SO:0001019](http://www.sequenceontology.org/browser/current_svn/term/SO:0001019)). Values: amplification/deletion/LOH.",
          "comment" : "Loss of heterozygosity (LOH) is a functional variant whereby the sequence alteration causes a loss of function of one allele of a gene ([SO:0001786](http://www.sequenceontology.org/browser/current_svn/term/SO:0001786)).",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-caseSensitive",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive",
      "version" : "4.0.1",
      "name" : "caseSensitive",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "If this a case sensitive code.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet.expansion.contains"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "If code is case sensitive",
          "definition" : "If this a case sensitive code.",
          "comment" : "See comments on ValueSet.codeSystem.caseSensitive. Systems should generally assume case sensitivity when dealing with expansions, and only consider case sensitivity when matching existing codes.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "If code is case sensitive",
          "definition" : "If this a case sensitive code.",
          "comment" : "See comments on ValueSet.codeSystem.caseSensitive. Systems should generally assume case sensitivity when dealing with expansions, and only consider case sensitivity when matching existing codes.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-conceptOrder",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder",
      "version" : "4.0.1",
      "name" : "conceptOrder",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Identifies the relative order in which concepts within the value set should be presented to a user.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet.compose.include.concept"
      },
      {
        "type" : "element",
        "expression" : "ValueSet.expansion.contains"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Appearance order for user selection",
          "definition" : "Identifies the relative order in which concepts within the value set should be presented to a user.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "integer"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Appearance order for user selection",
          "definition" : "Identifies the relative order in which concepts within the value set should be presented to a user.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "integer"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "humanname-own-name",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
      "version" : "4.0.1",
      "name" : "own-name",
      "status" : "draft",
      "date" : "2015-11-22",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The portion of the family name that is derived from the person's own surname, as distinguished from any portion that is derived from the surname of the person's partner or spouse.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "HumanName.family"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Portion derived from person's own surname",
          "definition" : "The portion of the family name that is derived from the person's own surname, as distinguished from any portion that is derived from the surname of the person's partner or spouse.",
          "comment" : "If the person's surname has legally changed to become (or incorporate) the surname of the person's partner or spouse, this is the person's surname immediately prior to such change. Often this is the person's \"maiden name\".",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "FN.3"
          },
          {
            "identity" : "rim",
            "map" : "ENXP where Qualifiers = (BR)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Portion derived from person's own surname",
          "definition" : "The portion of the family name that is derived from the person's own surname, as distinguished from any portion that is derived from the surname of the person's partner or spouse.",
          "comment" : "If the person's surname has legally changed to become (or incorporate) the surname of the person's partner or spouse, this is the person's surname immediately prior to such change. Often this is the person's \"maiden name\".",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "FN.3"
          },
          {
            "identity" : "rim",
            "map" : "ENXP where Qualifiers = (BR)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaire-displayCategory",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory",
      "version" : "4.0.1",
      "name" : "displayCategory",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "Describes the intended purpose of the rendered text.  For example - instructions, guidance on access control, maintenance information, etc.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.item"
      }],
      "contextInvariant" : ["type!='display'"],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Purpose of rendered text",
          "definition" : "Describes the intended purpose of the rendered text.  For example - instructions, guidance on access control, maintenance information, etc.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A - MIF rather than RIM level"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "QuestionnaireDisplayCategory"
            }],
            "strength" : "extensible",
            "description" : "Identifies the purpose for a \"display\" item.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/questionnaire-display-category"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Purpose of rendered text",
          "definition" : "Describes the intended purpose of the rendered text.  For example - instructions, guidance on access control, maintenance information, etc.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A - MIF rather than RIM level"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "QuestionnaireDisplayCategory"
            }],
            "strength" : "extensible",
            "description" : "Identifies the purpose for a \"display\" item.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/questionnaire-display-category"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "family-member-history-genetics-sibling",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling",
      "version" : "4.0.1",
      "name" : "sibling",
      "status" : "draft",
      "date" : "2013-10-02",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "Identifies a sibling of the relative.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "FamilyMemberHistory"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "natural brother(s) & natural sister(s) - genetic & other",
          "definition" : "Identifies a sibling of the relative.",
          "comment" : "Some cases may have complex inner-pedigree-tree relationship. For instance, double cousin relationship need two extra link with In pedigree tree itself. This can't be revealed by relationship to subject.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:type",
          "path" : "Extension.extension",
          "sliceName" : "type",
          "short" : "sibling | brother | sister | etc.",
          "definition" : "Distinguishes between different types of sibling relationships with varying granularity to support capturing the relationship \"to the degree known\".",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:type.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:type.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:type.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "type",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:type.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "SiblingRelationshipType"
            }],
            "strength" : "required",
            "description" : "Sibling relationship types.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/sibling-relationship-codes|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:reference",
          "path" : "Extension.extension",
          "sliceName" : "reference",
          "short" : "Link to sibling relative(s)",
          "definition" : "Points to the FamilyMemberHistory record of the relation who is the sibling of this relation.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:reference.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:reference.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:reference.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "reference",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:reference.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "natural brother(s) & natural sister(s) - genetic & other",
          "definition" : "Identifies a sibling of the relative.",
          "comment" : "Some cases may have complex inner-pedigree-tree relationship. For instance, double cousin relationship need two extra link with In pedigree tree itself. This can't be revealed by relationship to subject.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:type",
          "path" : "Extension.extension",
          "sliceName" : "type",
          "short" : "sibling | brother | sister | etc.",
          "definition" : "Distinguishes between different types of sibling relationships with varying granularity to support capturing the relationship \"to the degree known\".",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:type.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:type.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "type"
        },
        {
          "id" : "Extension.extension:type.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "SiblingRelationshipType"
            }],
            "strength" : "required",
            "description" : "Sibling relationship types.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/sibling-relationship-codes|4.0.1"
          }
        },
        {
          "id" : "Extension.extension:reference",
          "path" : "Extension.extension",
          "sliceName" : "reference",
          "short" : "Link to sibling relative(s)",
          "definition" : "Points to the FamilyMemberHistory record of the relation who is the sibling of this relation.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:reference.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:reference.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "reference"
        },
        {
          "id" : "Extension.extension:reference.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory"]
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/workflow-researchStudy",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "workflow-researchStudy",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/workflow-researchStudy",
      "version" : "4.0.1",
      "name" : "researchStudy",
      "title" : "Associated Study",
      "status" : "draft",
      "date" : "2017-12-06",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fwg"
        }]
      }],
      "description" : "Indicates that this event is relevant to the specified research study(ies).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "workflow",
        "uri" : "http://hl7.org/fhir/workflow",
        "name" : "Workflow Pattern"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Composition"
      },
      {
        "type" : "element",
        "expression" : "Consent"
      },
      {
        "type" : "element",
        "expression" : "DeviceUseStatement"
      },
      {
        "type" : "element",
        "expression" : "DiagnosticReport"
      },
      {
        "type" : "element",
        "expression" : "Encounter"
      },
      {
        "type" : "element",
        "expression" : "FamilyMemberHistory"
      },
      {
        "type" : "element",
        "expression" : "Immunization"
      },
      {
        "type" : "element",
        "expression" : "Media"
      },
      {
        "type" : "element",
        "expression" : "MedicationAdministration"
      },
      {
        "type" : "element",
        "expression" : "MedicationDispense"
      },
      {
        "type" : "element",
        "expression" : "MedicationStatement"
      },
      {
        "type" : "element",
        "expression" : "Observation"
      },
      {
        "type" : "element",
        "expression" : "Procedure"
      },
      {
        "type" : "element",
        "expression" : "QuestionnaireResponse"
      },
      {
        "type" : "element",
        "expression" : "RiskAssessment"
      },
      {
        "type" : "element",
        "expression" : "SupplyDelivery"
      },
      {
        "type" : "element",
        "expression" : "Task"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Associated research study",
          "definition" : "Indicates that this event is relevant to the specified research study(ies).",
          "comment" : "This relevance might mean that the even occurred as part of the study protocol, but can also include events that occurred outside the study but still have relevance (e.g. adverse events, co-occurring medications, unexpected Observations, etc.).",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.researchStudy"
          },
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=PERT].target[classCode=CLNTRL, moodCode=EVN]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/workflow-researchStudy",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ResearchStudy"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Associated research study",
          "definition" : "Indicates that this event is relevant to the specified research study(ies).",
          "comment" : "This relevance might mean that the even occurred as part of the study protocol, but can also include events that occurred outside the study but still have relevance (e.g. adverse events, co-occurring medications, unexpected Observations, etc.).",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.researchStudy"
          },
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=PERT].target[classCode=CLNTRL, moodCode=EVN]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/workflow-researchStudy"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ResearchStudy"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "patient-birthPlace",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
      "version" : "4.0.1",
      "name" : "birthPlace",
      "title" : "Birth Place",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "The registered place of birth of the patient. A sytem may use the address.text if they don't store the birthPlace address in discrete elements.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Patient"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Place of Birth for patient",
          "definition" : "The registered place of birth of the patient. A sytem may use the address.text if they don't store the birthPlace address in discrete elements.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Address"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Place of Birth for patient",
          "definition" : "The registered place of birth of the patient. A sytem may use the address.text if they don't store the birthPlace address in discrete elements.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-birthPlace"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Address"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "codesystem-concept-comments",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments",
      "version" : "4.0.1",
      "name" : "concept-comments",
      "title" : "Comment",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "A comment that explains how this code is used in this context (where the value set is expected to be used).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CodeSystem.concept"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Comment about the use of this code in this context",
          "definition" : "A comment that explains how this code is used in this context (where the value set is expected to be used).",
          "comment" : "This is used in various FHIR value sets to make comments on how particular codes are used when the formal definition is a little abstract or vague, but it's not clear whether it belongs in the actual value set resource.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Comment about the use of this code in this context",
          "definition" : "A comment that explains how this code is used in this context (where the value set is expected to be used).",
          "comment" : "This is used in various FHIR value sets to make comments on how particular codes are used when the formal definition is a little abstract or vague, but it's not clear whether it belongs in the actual value set resource.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "servicerequest-questionnaireRequest",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest",
      "version" : "4.0.1",
      "name" : "questionnaireRequest",
      "title" : "Questionnaire Requested",
      "status" : "draft",
      "date" : "2015-02-12",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "Reference to a specific Questionnaire Resource as an ordered item.  Allows for ordering a specific questionnaire to be completed.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ServiceRequest"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Questionnaire to be ordered",
          "definition" : "Reference to a specific Questionnaire Resource as an ordered item.  Allows for ordering a specific questionnaire to be completed.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Questionnaire"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Questionnaire to be ordered",
          "definition" : "Reference to a specific Questionnaire Resource as an ordered item.  Allows for ordering a specific questionnaire to be completed.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Questionnaire"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "practitioner-animalSpecies",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies",
      "version" : "4.0.1",
      "name" : "animalSpecies",
      "title" : "animalSpecies",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "This extension should be used to specifiy that a practioner or RelatedPerson resource is a service animal.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Practitioner"
      },
      {
        "type" : "element",
        "expression" : "RelatedPerson"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The Species of the Service Animal",
          "definition" : "This extension should be used to specifiy that a practioner or RelatedPerson resource is a service animal.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AnimalSpecies"
            }],
            "strength" : "example",
            "description" : "The species of animal.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/animal-species"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The Species of the Service Animal",
          "definition" : "This extension should be used to specifiy that a practioner or RelatedPerson resource is a service animal.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AnimalSpecies"
            }],
            "strength" : "example",
            "description" : "The species of animal.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/animal-species"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/language",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "language",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/language",
      "version" : "4.0.1",
      "name" : "Human Language",
      "title" : "Human Language of the item",
      "status" : "draft",
      "date" : "2013-12-05",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "The Human Language of the item.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "HumanName"
      },
      {
        "type" : "element",
        "expression" : "Address"
      },
      {
        "type" : "element",
        "expression" : "Annotation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Human Language for the item",
          "definition" : "The Human Language of the item.",
          "comment" : "This is used where an item may repeat to indicate the language of each repeat.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/language",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Language"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "preferred",
            "description" : "A human language.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Human Language for the item",
          "definition" : "The Human Language of the item.",
          "comment" : "This is used where an item may repeat to indicate the language of each repeat.",
          "min" : 1,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/language"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Language"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "preferred",
            "description" : "A human language.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "11179-objectClassProperty",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty",
      "version" : "4.0.1",
      "name" : "objectClassProperty",
      "title" : "Object Class Property",
      "status" : "draft",
      "date" : "2014-04-21",
      "publisher" : "Health Level Seven International (Orders and Observations)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org"
        }]
      }],
      "description" : "A quality common to all members of an object class. A property may be any feature that humans naturally use to distinguish one individual object from another. It is the human perception of a single quality of an object class in the real world.  It is conceptual and thus has no particular associated means of representation by which the property can be communicated.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      },
      {
        "identity" : "iso11179",
        "uri" : "http://metadata-standards.org/11179/",
        "name" : "ISO 11179"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ElementDefinition.mapping"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Object Class Property",
          "definition" : "A quality common to all members of an object class. A property may be any feature that humans naturally use to distinguish one individual object from another. It is the human perception of a single quality of an object class in the real world.  It is conceptual and thus has no particular associated means of representation by which the property can be communicated.",
          "comment" : "ObjectClass and Property are treated as a data model that can be mapped to like any other.  This extension merely captures the Property element as a discrete code.  The information conveyed here should also be conveyed in human-readable form in the mapping.map element.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          },
          {
            "identity" : "iso11179",
            "map" : "Data_Element.meaning.property"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Coding"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "11179ObjectClassProperty"
            }],
            "strength" : "example",
            "description" : "A quality common to all members of an object class. A property may be any feature that humans naturally use to distinguish one individual object from another. It is the human perception of a single quality of an object class in the real world; e.g. name, identifier, gender, creationDate.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/dataelement-sdcobjectclassproperty"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Object Class Property",
          "definition" : "A quality common to all members of an object class. A property may be any feature that humans naturally use to distinguish one individual object from another. It is the human perception of a single quality of an object class in the real world.  It is conceptual and thus has no particular associated means of representation by which the property can be communicated.",
          "comment" : "ObjectClass and Property are treated as a data model that can be mapped to like any other.  This extension merely captures the Property element as a discrete code.  The information conveyed here should also be conveyed in human-readable form in the mapping.map element.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          },
          {
            "identity" : "iso11179",
            "map" : "Data_Element.meaning.property"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Coding"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "11179ObjectClassProperty"
            }],
            "strength" : "example",
            "description" : "A quality common to all members of an object class. A property may be any feature that humans naturally use to distinguish one individual object from another. It is the human perception of a single quality of an object class in the real world; e.g. name, identifier, gender, creationDate.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/dataelement-sdcobjectclassproperty"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-postBox",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox",
      "version" : "4.0.1",
      "name" : "ADXP-postBox",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "A numbered box located in a post station.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address.line"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "postBox",
          "definition" : "A numbered box located in a post station.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=POB]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "postBox",
          "definition" : "A numbered box located in a post station.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=POB]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/condition-outcome",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "condition-outcome",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/condition-outcome",
      "version" : "4.0.1",
      "name" : "outcome",
      "title" : "Outcome",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "A result of the condition. The \"Cause of death\" for a patient is typically captured as an Observation.  The \"outcome\" doesn't imply causality.  Some outcomes might not be assessable until the condition.clinicalStatus is no longer active.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Condition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A consequence of the Condition",
          "definition" : "A result of the condition. The \"Cause of death\" for a patient is typically captured as an Observation.  The \"outcome\" doesn't imply causality.  Some outcomes might not be assessable until the condition.clinicalStatus is no longer active.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/condition-outcome",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConditionOutcome"
            }],
            "strength" : "example",
            "description" : "Codes that describe the assessed outcome of the condition.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/condition-outcome"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A consequence of the Condition",
          "definition" : "A result of the condition. The \"Cause of death\" for a patient is typically captured as an Observation.  The \"outcome\" doesn't imply causality.  Some outcomes might not be assessable until the condition.clinicalStatus is no longer active.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/condition-outcome"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConditionOutcome"
            }],
            "strength" : "example",
            "description" : "Codes that describe the assessed outcome of the condition.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/condition-outcome"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/codesystem-alternate",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "codesystem-alternate",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/codesystem-alternate",
      "version" : "4.0.1",
      "name" : "alternate",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "An additional code that may be used to represent the concept.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CodeSystem.concept"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Additional code for the concept",
          "definition" : "An additional code that may be used to represent the concept.",
          "comment" : "Few coding systems define synonyms. A few more define alternate codes for special case use.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:code",
          "path" : "Extension.extension",
          "sliceName" : "code",
          "short" : "Code that represents the concept",
          "definition" : "The code that may be used to represent the concept.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:code.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:code.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:code.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "code",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:code.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:use",
          "path" : "Extension.extension",
          "sliceName" : "use",
          "short" : "Expected use of the code",
          "definition" : "Defines why this additional code is defined.",
          "comment" : "Further work is needed on the value set.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:use.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:use.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:use.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "use",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:use.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Coding"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AlternativeCodeKind"
            }],
            "strength" : "extensible",
            "description" : "Indicates the type of use for which the code is defined.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/codesystem-altcode-kind"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-alternate",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Additional code for the concept",
          "definition" : "An additional code that may be used to represent the concept.",
          "comment" : "Few coding systems define synonyms. A few more define alternate codes for special case use.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:code",
          "path" : "Extension.extension",
          "sliceName" : "code",
          "short" : "Code that represents the concept",
          "definition" : "The code that may be used to represent the concept.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:code.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:code.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "code"
        },
        {
          "id" : "Extension.extension:code.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }]
        },
        {
          "id" : "Extension.extension:use",
          "path" : "Extension.extension",
          "sliceName" : "use",
          "short" : "Expected use of the code",
          "definition" : "Defines why this additional code is defined.",
          "comment" : "Further work is needed on the value set.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:use.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:use.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "use"
        },
        {
          "id" : "Extension.extension:use.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Coding"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AlternativeCodeKind"
            }],
            "strength" : "extensible",
            "description" : "Indicates the type of use for which the code is defined.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/codesystem-altcode-kind"
          }
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-alternate"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "diagnosticReport-summaryOf",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf",
      "version" : "4.0.1",
      "name" : "summaryOf",
      "title" : "Summary Of",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "A summary report that points to subordinate target reports.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "DiagnosticReport"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Summary Of Other Reports",
          "definition" : "A summary report that points to subordinate target reports.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/DiagnosticReport"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Summary Of Other Reports",
          "definition" : "A summary report that points to subordinate target reports.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/DiagnosticReport"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "procedure-targetBodyStructure",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure",
      "version" : "4.0.1",
      "name" : "targetBodyStructure",
      "title" : "targetBodyStructure",
      "status" : "draft",
      "date" : "2015-02-12",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "The target body site used for this procedure.  Multiple locations are allowed.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Procedure"
      },
      {
        "type" : "element",
        "expression" : "ServiceRequest"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The target point for this procedure",
          "definition" : "The target body site used for this procedure.  Multiple locations are allowed.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/BodyStructure"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The target point for this procedure",
          "definition" : "The target body site used for this procedure.  Multiple locations are allowed.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/BodyStructure"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-houseNumber",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
      "version" : "4.0.1",
      "name" : "ADXP-houseNumber",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "The number of a building, house or lot alongside the street. Also known as \"primary street number\". This does not number the street but rather the building.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address.line"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "houseNumber",
          "definition" : "The number of a building, house or lot alongside the street. Also known as \"primary street number\". This does not number the street but rather the building.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=BNR]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "houseNumber",
          "definition" : "The number of a building, house or lot alongside the street. Also known as \"primary street number\". This does not number the street but rather the building.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=BNR]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-expand-group",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-expand-group",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-expand-group",
      "version" : "4.0.1",
      "name" : "expand-group",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "This extension declares a group of concepts that is generated into the ValueSet.expansion.contains hierarchy when the expansion is generated for a UI. THere is no inherent assigned meaning to the hierarchy; it is used to help the user navigate the concepts. Each group has a display and/or a code, and a list of members, which are either concepts in the value set, or other groups (by code).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet.compose.include"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Defines a hierarchy structure (when in UI mode)",
          "definition" : "This extension declares a group of concepts that is generated into the ValueSet.expansion.contains hierarchy when the expansion is generated for a UI. THere is no inherent assigned meaning to the hierarchy; it is used to help the user navigate the concepts. Each group has a display and/or a code, and a list of members, which are either concepts in the value set, or other groups (by code).",
          "comment" : "Note that there are inter-relationships between concept status/properties and the way the groups are built; these are described and documented in the (value set hierarchical example)[d.html]. Note that this extension should be ignored when the expansion is not generated for UI.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:code",
          "path" : "Extension.extension",
          "sliceName" : "code",
          "short" : "Underlying code from the system",
          "definition" : "A reference to a code from the include.system that defines the meaning associated with the group. Note that including the code in this extension does not include the code in the value set; if the code is intended to be in the value set, it must be listed directly as well.",
          "comment" : "If there is no code, the group purely exists for display, and has no underlying meaning.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:code.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:code.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:code.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "code",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:code.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:display",
          "path" : "Extension.extension",
          "sliceName" : "display",
          "short" : "Display for the group",
          "definition" : "The description for the group (goes in ValueSet.expansion.contains.dispaly). All groups need a display; this can only be omitted if there is a code that can be used to determine the display.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:display.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:display.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:display.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "display",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:display.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:member",
          "path" : "Extension.extension",
          "sliceName" : "member",
          "short" : "Codes or other groups in this group",
          "definition" : "One of more codes that identify codes in the expansion or other groups.",
          "comment" : "A group without a code can be included by giving it an id and using #[id] in place of the code.",
          "min" : 1,
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:member.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:member.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:member.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "member",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:member.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-expand-group",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Defines a hierarchy structure (when in UI mode)",
          "definition" : "This extension declares a group of concepts that is generated into the ValueSet.expansion.contains hierarchy when the expansion is generated for a UI. THere is no inherent assigned meaning to the hierarchy; it is used to help the user navigate the concepts. Each group has a display and/or a code, and a list of members, which are either concepts in the value set, or other groups (by code).",
          "comment" : "Note that there are inter-relationships between concept status/properties and the way the groups are built; these are described and documented in the (value set hierarchical example)[d.html]. Note that this extension should be ignored when the expansion is not generated for UI.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:code",
          "path" : "Extension.extension",
          "sliceName" : "code",
          "short" : "Underlying code from the system",
          "definition" : "A reference to a code from the include.system that defines the meaning associated with the group. Note that including the code in this extension does not include the code in the value set; if the code is intended to be in the value set, it must be listed directly as well.",
          "comment" : "If there is no code, the group purely exists for display, and has no underlying meaning.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:code.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:code.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "code"
        },
        {
          "id" : "Extension.extension:code.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }]
        },
        {
          "id" : "Extension.extension:display",
          "path" : "Extension.extension",
          "sliceName" : "display",
          "short" : "Display for the group",
          "definition" : "The description for the group (goes in ValueSet.expansion.contains.dispaly). All groups need a display; this can only be omitted if there is a code that can be used to determine the display.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:display.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:display.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "display"
        },
        {
          "id" : "Extension.extension:display.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.extension:member",
          "path" : "Extension.extension",
          "sliceName" : "member",
          "short" : "Codes or other groups in this group",
          "definition" : "One of more codes that identify codes in the expansion or other groups.",
          "comment" : "A group without a code can be included by giving it an id and using #[id] in place of the code.",
          "min" : 1,
          "max" : "*",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:member.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:member.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "member"
        },
        {
          "id" : "Extension.extension:member.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-expand-group"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaireresponse-author",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author",
      "version" : "4.0.1",
      "name" : "author",
      "title" : "Author",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "Allows capturing, on a specific question or group of questions, exactly who was responsible for providing the answer(s).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "QuestionnaireResponse.item"
      },
      {
        "type" : "element",
        "expression" : "QuestionnaireResponse.item.item"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Who answered question/group",
          "definition" : "Allows capturing, on a specific question or group of questions, exactly who was responsible for providing the answer(s).",
          "comment" : "This should be drawn from one of the resources identified as an author of the QuestionnaireResponse overall.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "./participation[typeCode=SBJ]/role"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient",
            "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
            "http://hl7.org/fhir/StructureDefinition/Device",
            "http://hl7.org/fhir/StructureDefinition/Practitioner"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Who answered question/group",
          "definition" : "Allows capturing, on a specific question or group of questions, exactly who was responsible for providing the answer(s).",
          "comment" : "This should be drawn from one of the resources identified as an author of the QuestionnaireResponse overall.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "./participation[typeCode=SBJ]/role"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient",
            "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
            "http://hl7.org/fhir/StructureDefinition/Device",
            "http://hl7.org/fhir/StructureDefinition/Practitioner"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/mimeType",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "mimeType",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/mimeType",
      "version" : "4.0.1",
      "name" : "mimeType",
      "status" : "draft",
      "date" : "2014-04-27",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "Identifies the kind(s) of attachment allowed to be sent for an element.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "ElementDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Type of attachment",
          "definition" : "Identifies the kind(s) of attachment allowed to be sent for an element.",
          "comment" : "This extension only has meaning if the element has a type of Attachment.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/mimeType",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "MimeType"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "required",
            "description" : "The mime type of an attachment. Any valid mime type is allowed.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/mimetypes|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Type of attachment",
          "definition" : "Identifies the kind(s) of attachment allowed to be sent for an element.",
          "comment" : "This extension only has meaning if the element has a type of Attachment.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/mimeType"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "MimeType"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "required",
            "description" : "The mime type of an attachment. Any valid mime type is allowed.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/mimetypes|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-TEL-address",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address",
      "version" : "4.0.1",
      "name" : "TEL-address",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "A V3 compliant, RFC 3966 conformant URI version of the telephone or fax number.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ContactPoint"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "RFC 3966 compliant telephone or fax number",
          "definition" : "A V3 compliant, RFC 3966 conformant URI version of the telephone or fax number.",
          "comment" : "Note that this form is supposed  to be used in CDA, but many CDA documents are not actually conformant.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "TEL.address"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "url"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "RFC 3966 compliant telephone or fax number",
          "definition" : "A V3 compliant, RFC 3966 conformant URI version of the telephone or fax number.",
          "comment" : "Note that this form is supposed  to be used in CDA, but many CDA documents are not actually conformant.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "TEL.address"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "url"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "structuredefinition-template-status",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status",
      "version" : "4.0.1",
      "name" : "template-status",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "Status code taken from [HL7 template specification](http://www.hl7.org/implement/standards/product_brief.cfm?product_id=377) - allows for alignment with the template DSTU, and has more authoring status codes.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "StructureDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Template Status Code (more authoring statuses)",
          "definition" : "Status code taken from [HL7 template specification](http://www.hl7.org/implement/standards/product_brief.cfm?product_id=377) - allows for alignment with the template DSTU, and has more authoring status codes.",
          "comment" : "The Profile status has the codes that are relevant to end-users/developers, while this extension has the codes used by profile developers.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "TemplateStatusCode"
            }],
            "strength" : "required",
            "description" : "The status indicates the level of maturity of the design and may be used to manage the use of the design.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/template-status-code|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Template Status Code (more authoring statuses)",
          "definition" : "Status code taken from [HL7 template specification](http://www.hl7.org/implement/standards/product_brief.cfm?product_id=377) - allows for alignment with the template DSTU, and has more authoring status codes.",
          "comment" : "The Profile status has the codes that are relevant to end-users/developers, while this extension has the codes used by profile developers.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "TemplateStatusCode"
            }],
            "strength" : "required",
            "description" : "The status indicates the level of maturity of the design and may be used to manage the use of the design.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/template-status-code|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/auditevent-MPPS",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "auditevent-MPPS",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "sec"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/auditevent-MPPS",
      "version" : "4.0.1",
      "name" : "MPPS",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "Health Level Seven, Inc. - Security WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/security/index.cfm"
        }]
      }],
      "description" : "An MPPS Instance UID associated with this entity.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "dicom",
        "uri" : "http://nema.org/dicom",
        "name" : "DICOM Tag Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AuditEvent.entity"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "MPPS instance UID",
          "definition" : "An MPPS Instance UID associated with this entity.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "dicom",
            "map" : "MPPS"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/auditevent-MPPS",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Identifier"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "MPPS instance UID",
          "definition" : "An MPPS Instance UID associated with this entity.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "dicom",
            "map" : "MPPS"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/auditevent-MPPS"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Identifier"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/openEHR-administration",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "openEHR-administration",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/openEHR-administration",
      "version" : "4.0.1",
      "name" : "administration",
      "status" : "draft",
      "date" : "2014-10-09",
      "publisher" : "Health Level Seven, Inc / openEHR project",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org"
        }]
      }],
      "description" : "Link to an actual medication administration record with the full details of the administration, if a link is known.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AllergyIntolerance.reaction"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Actual medication record, if known",
          "definition" : "Link to an actual medication administration record with the full details of the administration, if a link is known.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/openEHR-administration",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/MedicationAdministration"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Actual medication record, if known",
          "definition" : "Link to an actual medication administration record with the full details of the administration, if a link is known.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/openEHR-administration"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/MedicationAdministration"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqf-recipientLanguage",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage",
      "version" : "4.0.1",
      "name" : "recipientLanguage",
      "title" : "recipientLanguage",
      "status" : "draft",
      "date" : "2015-05-30",
      "publisher" : "Health Level Seven, Inc. - CDS WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/dss"
        }]
      }],
      "description" : "Preferred language of the person that will consume the content.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Basic"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Extension",
          "definition" : "Preferred language of the person that will consume the content.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Language"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "preferred",
            "description" : "A human language.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "definition" : "Preferred language of the person that will consume the content.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Language"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "preferred",
            "description" : "A human language.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "patient-interpreterRequired",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired",
      "version" : "4.0.1",
      "name" : "interpreterRequired",
      "title" : "interpreterRequired",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "This Patient requires an interpreter to communicate healthcare information to the practitioner.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Patient"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Whether the patient needs an interpreter",
          "definition" : "This Patient requires an interpreter to communicate healthcare information to the practitioner.",
          "comment" : "The Patient does not speak the default language of the organization, and hence requires an interpreter. If the patient has other languages in the Communications list, then that would be the type of interpreter required.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Whether the patient needs an interpreter",
          "definition" : "This Patient requires an interpreter to communicate healthcare information to the practitioner.",
          "comment" : "The Patient does not speak the default language of the organization, and hence requires an interpreter. If the patient has other languages in the Communications list, then that would be the type of interpreter required.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "procedure-approachBodyStructure",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure",
      "version" : "4.0.1",
      "name" : "approachBodyStructure",
      "title" : "approachBodyStructure",
      "status" : "draft",
      "date" : "2015-02-12",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "The approach body site used for this procedure.  Multiple locations are allowed.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Procedure"
      },
      {
        "type" : "element",
        "expression" : "ServiceRequest"
      },
      {
        "type" : "element",
        "expression" : "DeviceRequest"
      },
      {
        "type" : "element",
        "expression" : "DeviceUseStatement"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The access point or points used for this procedure",
          "definition" : "The approach body site used for this procedure.  Multiple locations are allowed.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/BodyStructure"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The access point or points used for this procedure",
          "definition" : "The approach body site used for this procedure.  Multiple locations are allowed.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/BodyStructure"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/usagecontext-group",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "usagecontext-group",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/usagecontext-group",
      "version" : "4.0.1",
      "name" : "group",
      "title" : "Context Group",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Defines the group in which this usage context is a member. Multiple groups are \"OR'ed\", contexts within a group are \"AND'ed\".",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "UsageContext"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The group which this usage context is part of",
          "definition" : "Defines the group in which this usage context is a member. Multiple groups are \"OR'ed\", contexts within a group are \"AND'ed\".",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/usagecontext-group",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The group which this usage context is part of",
          "definition" : "Defines the group in which this usage context is a member. Multiple groups are \"OR'ed\", contexts within a group are \"AND'ed\".",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/usagecontext-group"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/rendering-markdown",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "rendering-markdown",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/rendering-markdown",
      "version" : "4.0.1",
      "name" : "markdown",
      "status" : "draft",
      "date" : "2014-04-23",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "This is an equivalent of the string on which the extension is sent, but includes additional markdown (see documentation about [markdown](datatypes.html#markdown). Note that using HTML  [xhtml](extension-rendering-xhtml.html) can allow for greater precision of display.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "string"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "String equivalent with markdown",
          "definition" : "This is an equivalent of the string on which the extension is sent, but includes additional markdown (see documentation about [markdown](datatypes.html#markdown). Note that using HTML  [xhtml](extension-rendering-xhtml.html) can allow for greater precision of display.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ED can be markdown content"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/rendering-markdown",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "markdown"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "String equivalent with markdown",
          "definition" : "This is an equivalent of the string on which the extension is sent, but includes additional markdown (see documentation about [markdown](datatypes.html#markdown). Note that using HTML  [xhtml](extension-rendering-xhtml.html) can allow for greater precision of display.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ED can be markdown content"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/rendering-markdown"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "markdown"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-sourceReference",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-sourceReference",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-sourceReference",
      "version" : "4.0.1",
      "name" : "sourceReference",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "This text is intended to act as a citation to work done elsewhere that is not part of the current stewarding process where the referenced source is in some way a basis of the current value set definition.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Where did this content come from",
          "definition" : "This text is intended to act as a citation to work done elsewhere that is not part of the current stewarding process where the referenced source is in some way a basis of the current value set definition.",
          "comment" : "This is not intended to be a direct link to another value set. It is only intended to support a link or textual description that indicates related material for the value set.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-sourceReference",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Where did this content come from",
          "definition" : "This text is intended to act as a citation to work done elsewhere that is not part of the current stewarding process where the referenced source is in some way a basis of the current value set definition.",
          "comment" : "This is not intended to be a direct link to another value set. It is only intended to support a link or textual description that indicates related material for the value set.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-sourceReference"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "workflow-episodeOfCare",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
      "version" : "4.0.1",
      "name" : "episodeOfCare",
      "title" : "Episode of Care",
      "status" : "draft",
      "date" : "2017-12-06",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fwg"
        }]
      }],
      "description" : "The episode(s) of care that establishes the context for this {{title}}.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      },
      {
        "type" : "element",
        "expression" : "DiagnosticReport"
      },
      {
        "type" : "element",
        "expression" : "Media"
      },
      {
        "type" : "element",
        "expression" : "DeviceRequest"
      },
      {
        "type" : "element",
        "expression" : "ServiceRequest"
      },
      {
        "type" : "element",
        "expression" : "NutritionOrder"
      },
      {
        "type" : "element",
        "expression" : "DeviceUseStatement"
      },
      {
        "type" : "element",
        "expression" : "AdverseEvent"
      },
      {
        "type" : "element",
        "expression" : "CarePlan"
      },
      {
        "type" : "element",
        "expression" : "CareTeam"
      },
      {
        "type" : "element",
        "expression" : "ClinicalImpression"
      },
      {
        "type" : "element",
        "expression" : "Communication"
      },
      {
        "type" : "element",
        "expression" : "CommunicationRequest"
      },
      {
        "type" : "element",
        "expression" : "Condition"
      },
      {
        "type" : "element",
        "expression" : "Procedure"
      },
      {
        "type" : "element",
        "expression" : "QuestionnaireResponse"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Associated Encounter episode of care",
          "definition" : "The episode(s) of care that establishes the context for this {{title}}.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : ".inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Associated Encounter episode of care",
          "definition" : "The episode(s) of care that establishes the context for this {{title}}.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : ".inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "elementdefinition-isCommonBinding",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
      "version" : "4.0.1",
      "name" : "isCommonBinding",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "Whether the binding is used on multiple resources, or only on this resource.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ElementDefinition.binding"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Whether used on multiple resources",
          "definition" : "Whether the binding is used on multiple resources, or only on this resource.",
          "comment" : "Some bindings are defined once internally and used in many places. This extension marks those bindings, to allow for generating the binding information once when generating code. When isCommonBinding is true, bindingName will be the same, and unique (e.g. identify re-uses by looking at bindingName).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Whether used on multiple resources",
          "definition" : "Whether the binding is used on multiple resources, or only on this resource.",
          "comment" : "Some bindings are defined once internally and used in many places. This extension marks those bindings, to allow for generating the binding information once when generating code. When isCommonBinding is true, bindingName will be the same, and unique (e.g. identify re-uses by looking at bindingName).",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "operationoutcome-detectedIssue",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue",
      "version" : "4.0.1",
      "name" : "detectedIssue",
      "title" : "Clinical Issue",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "A reference to a stored contraindication that is the basis for this issue. A recipient can expect that the item referenced in this extension is being retained for record keeping purposes.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "OperationOutcome.issue"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Reference to a contra-indication that is the basis for this error",
          "definition" : "A reference to a stored contraindication that is the basis for this issue. A recipient can expect that the item referenced in this extension is being retained for record keeping purposes.",
          "comment" : "Operation Outcome records are transient items that are returned in response to specific interactions or operations. Contraindications are items that can be stored in the patient's records as reasons that things were not done (or done). This extension allows a transient operation outcome to refer to a persistent entry in the patient record as the basis for the outcome.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/DetectedIssue"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Reference to a contra-indication that is the basis for this error",
          "definition" : "A reference to a stored contraindication that is the basis for this issue. A recipient can expect that the item referenced in this extension is being retained for record keeping purposes.",
          "comment" : "Operation Outcome records are transient items that are returned in response to specific interactions or operations. Contraindications are items that can be stored in the patient's records as reasons that things were not done (or done). This extension allows a transient operation outcome to refer to a persistent entry in the patient record as the basis for the outcome.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/DetectedIssue"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "11179-permitted-value-conceptmap",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap",
      "version" : "4.0.1",
      "name" : "permitted-value-conceptmap",
      "title" : "Permitted Values link",
      "status" : "draft",
      "date" : "2014-04-21",
      "publisher" : "Health Level Seven International (Orders and Observations)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org"
        }]
      }],
      "description" : "Expresses the linkage between the internal codes used for storage and the codes used for exchange.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      },
      {
        "identity" : "iso11179",
        "uri" : "http://metadata-standards.org/11179/",
        "name" : "ISO 11179"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "StructureDefinition.snapshot.element.binding.valueSet"
      },
      {
        "type" : "element",
        "expression" : "StructureDefinition.differential.element.binding.valueSet"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.answerValueSet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Mapping from permitted to transmitted",
          "definition" : "Expresses the linkage between the internal codes used for storage and the codes used for exchange.",
          "comment" : "The permitted value set must have a 1..1 set of codes for each code in the value meaning value set.  The source for the concept map is the value set the extension appears on.  The target is the permitted-value-valueset.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          },
          {
            "identity" : "iso11179",
            "map" : "Data_Element.data_element_domain.member.meaning"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ConceptMap"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Mapping from permitted to transmitted",
          "definition" : "Expresses the linkage between the internal codes used for storage and the codes used for exchange.",
          "comment" : "The permitted value set must have a 1..1 set of codes for each code in the value meaning value set.  The source for the concept map is the value set the extension appears on.  The target is the permitted-value-valueset.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          },
          {
            "identity" : "iso11179",
            "map" : "Data_Element.data_element_domain.member.meaning"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ConceptMap"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/oauth-uris",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "oauth-uris",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris",
      "version" : "4.0.1",
      "name" : "oauth-uris",
      "status" : "active",
      "date" : "2018-02-15",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "Supports automated discovery of OAuth2 endpoints.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CapabilityStatement.rest.security"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Automated discovery of OAuth2 endpoints",
          "definition" : "Supports automated discovery of OAuth2 endpoints.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:authorize",
          "path" : "Extension.extension",
          "sliceName" : "authorize",
          "short" : "OAuth2 \"authorize\" endpoint",
          "definition" : "The OAuth2 \"authorize\" endpoint for this FHIR server.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:authorize.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:authorize.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:authorize.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "authorize",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:authorize.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:token",
          "path" : "Extension.extension",
          "sliceName" : "token",
          "short" : "OAuth2 \"token\" endpoint",
          "definition" : "The OAuth2 \"token\" endpoint for this FHIR server.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:token.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:token.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:token.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "token",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:token.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:register",
          "path" : "Extension.extension",
          "sliceName" : "register",
          "short" : "OAuth2 dynamic registration endpoint",
          "definition" : "The OAuth2 dynamic registration endpoint for this FHIR server, if supported.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:register.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:register.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:register.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "register",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:register.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:manage",
          "path" : "Extension.extension",
          "sliceName" : "manage",
          "short" : "User-facing authorization management entry point",
          "definition" : "The user-facing authorization management workflow entry point for this FHIR server.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:manage.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:manage.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:manage.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "manage",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:manage.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Automated discovery of OAuth2 endpoints",
          "definition" : "Supports automated discovery of OAuth2 endpoints.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension:authorize",
          "path" : "Extension.extension",
          "sliceName" : "authorize",
          "short" : "OAuth2 \"authorize\" endpoint",
          "definition" : "The OAuth2 \"authorize\" endpoint for this FHIR server.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:authorize.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:authorize.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "authorize"
        },
        {
          "id" : "Extension.extension:authorize.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        },
        {
          "id" : "Extension.extension:token",
          "path" : "Extension.extension",
          "sliceName" : "token",
          "short" : "OAuth2 \"token\" endpoint",
          "definition" : "The OAuth2 \"token\" endpoint for this FHIR server.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:token.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:token.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "token"
        },
        {
          "id" : "Extension.extension:token.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        },
        {
          "id" : "Extension.extension:register",
          "path" : "Extension.extension",
          "sliceName" : "register",
          "short" : "OAuth2 dynamic registration endpoint",
          "definition" : "The OAuth2 dynamic registration endpoint for this FHIR server, if supported.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:register.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:register.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "register"
        },
        {
          "id" : "Extension.extension:register.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        },
        {
          "id" : "Extension.extension:manage",
          "path" : "Extension.extension",
          "sliceName" : "manage",
          "short" : "User-facing authorization management entry point",
          "definition" : "The user-facing authorization management workflow entry point for this FHIR server.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:manage.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:manage.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "manage"
        },
        {
          "id" : "Extension.extension:manage.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "capabilitystatement-expectation",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
      "version" : "4.0.1",
      "name" : "expectation",
      "title" : "Conformance expectation",
      "status" : "draft",
      "date" : "2014-04-12",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fhir.htm"
        }]
      }],
      "description" : "Defines the level of expectation associated with a given system capability.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CapabilityStatement.rest.resource.interaction"
      },
      {
        "type" : "element",
        "expression" : "CapabilityStatement.rest.resource.searchParam"
      },
      {
        "type" : "element",
        "expression" : "CapabilityStatement.rest.searchParam"
      },
      {
        "type" : "element",
        "expression" : "CapabilityStatement.rest.operation"
      },
      {
        "type" : "element",
        "expression" : "CapabilityStatement.document"
      },
      {
        "type" : "element",
        "expression" : "CapabilityStatement.rest.interaction"
      },
      {
        "type" : "element",
        "expression" : "CapabilityStatement.rest.resource.searchInclude"
      },
      {
        "type" : "element",
        "expression" : "CapabilityStatement.rest.resource.searchRevInclude"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "SHALL | SHOULD | MAY |SHOULD-NOT",
          "definition" : "Defines the level of expectation associated with a given system capability.",
          "comment" : "If \"SHALL NOT\" is desired, use the \"prohibited\" modifier extension.  This extension should only be used with CapabilityStatements documenting requirements, not those documenting actual system capabilities.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConformanceExpectation"
            }],
            "strength" : "required",
            "description" : "Indicates the degree of adherence to a specified behavior or capability expected for a system to be deemed conformant with a specification.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/conformance-expectation|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "SHALL | SHOULD | MAY |SHOULD-NOT",
          "definition" : "Defines the level of expectation associated with a given system capability.",
          "comment" : "If \"SHALL NOT\" is desired, use the \"prohibited\" modifier extension.  This extension should only be used with CapabilityStatements documenting requirements, not those documenting actual system capabilities.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConformanceExpectation"
            }],
            "strength" : "required",
            "description" : "Indicates the degree of adherence to a specified behavior or capability expected for a system to be deemed conformant with a specification.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/conformance-expectation|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-concept-definition",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition",
      "version" : "4.0.1",
      "name" : "concept-definition",
      "title" : "Definition",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "A definition that describes the meaning of this code when used as part of this value set.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet.compose.include.concept"
      },
      {
        "type" : "element",
        "expression" : "ValueSet.expansion.contains"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A definition for this code",
          "definition" : "A definition that describes the meaning of this code when used as part of this value set.",
          "comment" : "This is provided for when the source code system doesn't actually provide a definition (there are many such). Providing an definition for a code SHOULD NOT be done where the underlying code system provides a definition.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A definition for this code",
          "definition" : "A definition that describes the meaning of this code when used as part of this value set.",
          "comment" : "This is provided for when the source code system doesn't actually provide a definition (there are many such). Providing an definition for a code SHOULD NOT be done where the underlying code system provides a definition.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "patient-mothersMaidenName",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
      "version" : "4.0.1",
      "name" : "mothersMaidenName",
      "title" : "Mother's Maiden Name",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Mother's maiden (unmarried) name, commonly collected to help verify patient identity.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Patient"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Mother's Maiden name",
          "definition" : "Mother's maiden (unmarried) name, commonly collected to help verify patient identity.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "PID-6"
          },
          {
            "identity" : "rim",
            "map" : "Role relationship to entity with maiden name (?)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Mother's Maiden name",
          "definition" : "Mother's maiden (unmarried) name, commonly collected to help verify patient identity.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "PID-6"
          },
          {
            "identity" : "rim",
            "map" : "Role relationship to entity with maiden name (?)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/goal-reasonRejected",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "goal-reasonRejected",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/goal-reasonRejected",
      "version" : "4.0.1",
      "name" : "reasonRejected",
      "title" : "reason rejected",
      "status" : "draft",
      "date" : "2014-12-07",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fhir"
        }]
      }],
      "description" : "The reason the goal was not accepted. Applies only if the status of the goal is rejected.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "qdm",
        "uri" : "http://www.healthit.gov/quality-data-model",
        "name" : "Quality Data Model"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Goal"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The reason the goal was not accepted",
          "definition" : "The reason the goal was not accepted. Applies only if the status of the goal is rejected.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "qdm",
            "map" : "negation rationale"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/goal-reasonRejected",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The reason the goal was not accepted",
          "definition" : "The reason the goal was not accepted. Applies only if the status of the goal is rejected.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "qdm",
            "map" : "negation rationale"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/goal-reasonRejected"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaire-signatureRequired",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired",
      "version" : "4.0.1",
      "name" : "signatureRequired",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "Indicates that a signature (of the specified type) is needed when completing the QuestionnaireResponse.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.item"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Is signature needed?",
          "definition" : "Indicates that a signature (of the specified type) is needed when completing the QuestionnaireResponse.",
          "comment" : "If this appears at the Questionnaire level, then the signature will be gathered for the entire form when it is marked complete.  If it appears on a particular item, then it will be gathered on that question or group when it is filled in.  (E.g. seeking the user's initials beside certain questions.)\n\nThe signature can be captured using the http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature extension.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "SignatureRequired"
            }],
            "strength" : "preferred",
            "description" : "The type of signature needed.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/signature-type"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Is signature needed?",
          "definition" : "Indicates that a signature (of the specified type) is needed when completing the QuestionnaireResponse.",
          "comment" : "If this appears at the Questionnaire level, then the signature will be gathered for the entire form when it is marked complete.  If it appears on a particular item, then it will be gathered on that question or group when it is filled in.  (E.g. seeking the user's initials beside certain questions.)\n\nThe signature can be captured using the http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature extension.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "SignatureRequired"
            }],
            "strength" : "preferred",
            "description" : "The type of signature needed.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/signature-type"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/request-doNotPerform",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "request-doNotPerform",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/request-doNotPerform",
      "version" : "4.0.1",
      "name" : "doNotPerform",
      "title" : "Do Not Perfom",
      "status" : "draft",
      "date" : "2017-12-06",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fwg"
        }]
      }],
      "description" : "If true indicates that the request is asking for the specified action to not occur.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "NutritionOrder"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "true if request is prohibiting action",
          "definition" : "If true indicates that the request is asking for the specified action to not occur.",
          "comment" : "The attributes provided with the request qualify what is not to be done. For example, if an effectiveTime is provided, the \"do not\" request only applies within the specified time. If a performerType is specified then the \"do not\" request only applies to performers of that type. Qualifiers include: code, subject, occurrence, perormerType and performer.\r\rIn some cases, the Request.code may pre-coordinate prohibition into the requested action. E.g. \"NPO\" (nothing by mouth), \"DNR\" (do not recussitate). If this happens, doNotPerform SHALL NOT be set to true. I.e. The resource shall not have double negation. (E.g. \"Do not DNR\").",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : true,
          "isModifierReason" : "If true this element negates the specified action. For Example, instead of a request for a procedure, it is a request for the procedure to not occur."
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/request-doNotPerform",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "true if request is prohibiting action",
          "definition" : "If true indicates that the request is asking for the specified action to not occur.",
          "comment" : "The attributes provided with the request qualify what is not to be done. For example, if an effectiveTime is provided, the \"do not\" request only applies within the specified time. If a performerType is specified then the \"do not\" request only applies to performers of that type. Qualifiers include: code, subject, occurrence, perormerType and performer.\r\rIn some cases, the Request.code may pre-coordinate prohibition into the requested action. E.g. \"NPO\" (nothing by mouth), \"DNR\" (do not recussitate). If this happens, doNotPerform SHALL NOT be set to true. I.e. The resource shall not have double negation. (E.g. \"Do not DNR\").",
          "min" : 0,
          "max" : "1",
          "isModifier" : true,
          "isModifierReason" : "If true this element negates the specified action. For Example, instead of a request for a procedure, it is a request for the procedure to not occur."
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/request-doNotPerform"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/auditevent-Accession",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "auditevent-Accession",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "sec"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/auditevent-Accession",
      "version" : "4.0.1",
      "name" : "Accession",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "Health Level Seven, Inc. - Security WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/security/index.cfm"
        }]
      }],
      "description" : "An Accession Number associated with this participant object.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "dicom",
        "uri" : "http://nema.org/dicom",
        "name" : "DICOM Tag Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AuditEvent.entity"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Accession Number",
          "definition" : "An Accession Number associated with this participant object.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "dicom",
            "map" : "Accession"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/auditevent-Accession",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Identifier"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Accession Number",
          "definition" : "An Accession Number associated with this participant object.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "dicom",
            "map" : "Accession"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/auditevent-Accession"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Identifier"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "elementdefinition-minValueSet",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet",
      "version" : "4.0.1",
      "name" : "minValueSet",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The minimum allowable value set, for use when the binding strength is 'required' or 'extensible'. This value set is the minimum value set that any conformant system SHALL support.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ElementDefinition.binding"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Minimum Value Set (what system must support)",
          "definition" : "The minimum allowable value set, for use when the binding strength is 'required' or 'extensible'. This value set is the minimum value set that any conformant system SHALL support.",
          "comment" : "Generally, the context of use of this extension should be specific about what it means to 'support' the value set.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF territory)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          },
          {
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ValueSet"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Minimum Value Set (what system must support)",
          "definition" : "The minimum allowable value set, for use when the binding strength is 'required' or 'extensible'. This value set is the minimum value set that any conformant system SHALL support.",
          "comment" : "Generally, the context of use of this extension should be specific about what it means to 'support' the value set.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF territory)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          },
          {
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ValueSet"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-label",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-label",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-label",
      "version" : "4.0.1",
      "name" : "label",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "The label to list in front of a code when presenting a list of possible values in a questionnaire-like fashion.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet.compose.include.concept"
      },
      {
        "type" : "element",
        "expression" : "ValueSet.expansion.contains"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "E.g. \"(a)\", \"1.\", etc.",
          "definition" : "The label to list in front of a code when presenting a list of possible values in a questionnaire-like fashion.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-label",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "E.g. \"(a)\", \"1.\", etc.",
          "definition" : "The label to list in front of a code when presenting a list of possible values in a questionnaire-like fashion.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-label"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/rendering-style",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "rendering-style",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/rendering-style",
      "version" : "4.0.1",
      "name" : "style",
      "status" : "draft",
      "date" : "2014-04-23",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "Identifies how the specified element should be rendered when displayed.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Element"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Html style value",
          "definition" : "Identifies how the specified element should be rendered when displayed.",
          "comment" : "This extension would be equivalent to setting the HTML \"style\" attribute on the root element for the element containing the extension.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/rendering-style",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Html style value",
          "definition" : "Identifies how the specified element should be rendered when displayed.",
          "comment" : "This extension would be equivalent to setting the HTML \"style\" attribute on the root element for the element containing the extension.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/rendering-style"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "elementdefinition-equivalence",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence",
      "version" : "4.0.1",
      "name" : "equivalence",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The level of equivalence between the element containing the mapping and the element mapped to.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ElementDefinition.mapping"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "equivalent | equal | wider | subsumes | narrower | specializes | inexact | unmatched | disjoint",
          "definition" : "The level of equivalence between the element containing the mapping and the element mapped to.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF territory)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConceptMapEquivalence"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "required",
            "description" : "The degree of equivalence between concepts.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/concept-map-equivalence|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "equivalent | equal | wider | subsumes | narrower | specializes | inexact | unmatched | disjoint",
          "definition" : "The level of equivalence between the element containing the mapping and the element mapped to.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF territory)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConceptMapEquivalence"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "required",
            "description" : "The degree of equivalence between concepts.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/concept-map-equivalence|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-uncertaintyType",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType",
      "version" : "4.0.1",
      "name" : "uncertaintyType",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "A code specifying the type of probability distribution for the uncertainty.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Quantity"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Probability Distribution Type for uncertainty",
          "definition" : "A code specifying the type of probability distribution for the uncertainty.",
          "comment" : "This is only meaningful if there is also an uncertainty extension. If there is an uncertainty extension with no type, this means  that the probability distribution type is unknown. In that case, the uncertainty has the meaning of an informal guess.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "PPD.distributionType"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ProbabilityDistributionType"
            }],
            "strength" : "required",
            "description" : "Codes specifying the type of probability distribution.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/probability-distribution-type|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Probability Distribution Type for uncertainty",
          "definition" : "A code specifying the type of probability distribution for the uncertainty.",
          "comment" : "This is only meaningful if there is also an uncertainty extension. If there is an uncertainty extension with no type, this means  that the probability distribution type is unknown. In that case, the uncertainty has the meaning of an informal guess.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "PPD.distributionType"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ProbabilityDistributionType"
            }],
            "strength" : "required",
            "description" : "Codes specifying the type of probability distribution.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/probability-distribution-type|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "humanname-assembly-order",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order",
      "version" : "4.0.1",
      "name" : "assembly-order",
      "status" : "draft",
      "date" : "2015-11-22",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "A code that represents the preferred display order of the components of this human name.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "HumanName"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Preferred display order of name parts",
          "definition" : "A code that represents the preferred display order of the components of this human name.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "HumanNameAssemblyOrder"
            }],
            "strength" : "required",
            "description" : "A code that represents the preferred display order of the components of a human name.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/name-assembly-order|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Preferred display order of name parts",
          "definition" : "A code that represents the preferred display order of the components of this human name.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "HumanNameAssemblyOrder"
            }],
            "strength" : "required",
            "description" : "A code that represents the preferred display order of the components of a human name.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/name-assembly-order|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaire-referenceFilter",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
      "version" : "4.0.1",
      "name" : "referenceFilter",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "Identifies a filter to apply when looking up candidate answers for the question.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.item"
      }],
      "contextInvariant" : ["type='reference'"],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Filter to apply when looking up references",
          "definition" : "Identifies a filter to apply when looking up candidate answers for the question.",
          "comment" : "The filter may include $subj and/or $encounter which should be substituted by the implementer with the subject and/or encounter id relevant in the context in which the questionnaire is being populated.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A - MIF rather than RIM level"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Filter to apply when looking up references",
          "definition" : "Identifies a filter to apply when looking up candidate answers for the question.",
          "comment" : "The filter may include $subj and/or $encounter which should be substituted by the implementer with the subject and/or encounter id relevant in the context in which the questionnaire is being populated.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A - MIF rather than RIM level"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/workflow-reasonReference",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "workflow-reasonReference",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/workflow-reasonReference",
      "version" : "4.0.1",
      "name" : "reasonReference",
      "title" : "Reason Reference",
      "status" : "draft",
      "date" : "2017-12-06",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fwg"
        }]
      }],
      "description" : "Indicates another resource whose existence justifies this event.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "workflow",
        "uri" : "http://hl7.org/fhir/workflow",
        "name" : "Workflow Pattern"
      },
      {
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      },
      {
        "type" : "element",
        "expression" : "DiagnosticReport"
      },
      {
        "type" : "element",
        "expression" : "Media"
      },
      {
        "type" : "element",
        "expression" : "NutritionOrder"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Why was event performed?",
          "definition" : "Indicates another resource whose existence justifies this event.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.reasonReference"
          },
          {
            "identity" : "v2",
            "map" : "EVN.4 or by domain"
          },
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=RSON].target"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/workflow-reasonReference",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition",
            "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
            "http://hl7.org/fhir/StructureDefinition/DocumentReference",
            "http://hl7.org/fhir/StructureDefinition/Observation",
            "http://hl7.org/fhir/StructureDefinition/Media"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Why was event performed?",
          "definition" : "Indicates another resource whose existence justifies this event.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.reasonReference"
          },
          {
            "identity" : "v2",
            "map" : "EVN.4 or by domain"
          },
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=RSON].target"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/workflow-reasonReference"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition",
            "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
            "http://hl7.org/fhir/StructureDefinition/DocumentReference",
            "http://hl7.org/fhir/StructureDefinition/Observation",
            "http://hl7.org/fhir/StructureDefinition/Media"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-warning",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-warning",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-warning",
      "version" : "4.0.1",
      "name" : "warning",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "An extra warning about the correct use of the value set.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Extra warning about the correct use of the value set",
          "definition" : "An extra warning about the correct use of the value set.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-warning",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "markdown"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Extra warning about the correct use of the value set",
          "definition" : "An extra warning about the correct use of the value set.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-warning"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "markdown"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "practitionerrole-primaryInd",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd",
      "version" : "4.0.1",
      "name" : "primaryInd",
      "title" : "primaryInd",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Flag indicating if the specialty is the primary specialty of the provider. Normally, a practitioner will have one primary specialty, but in some cases more than one can be primary.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "PractitionerRole.specialty"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Indicator of primary specialty",
          "definition" : "Flag indicating if the specialty is the primary specialty of the provider. Normally, a practitioner will have one primary specialty, but in some cases more than one can be primary.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Indicator of primary specialty",
          "definition" : "Flag indicating if the specialty is the primary specialty of the provider. Normally, a practitioner will have one primary specialty, but in some cases more than one can be primary.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "diagnosticReport-risk",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk",
      "version" : "4.0.1",
      "name" : "risk",
      "title" : "Risk",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "Provides a link to an assessment of prognosis or risk as informed by the diagnostic results (For example, genetic results and possibly by patient genetic family history information).  This extension is used when need RiskAssessment as an alternate choice  for `Observation.hasMember` or `DiagnosticReport.result`.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "DiagnosticReport"
      },
      {
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Risk",
          "definition" : "Provides a link to an assessment of prognosis or risk as informed by the diagnostic results (For example, genetic results and possibly by patient genetic family history information).  This extension is used when need RiskAssessment as an alternate choice  for `Observation.hasMember` or `DiagnosticReport.result`.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/RiskAssessment"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Risk",
          "definition" : "Provides a link to an assessment of prognosis or risk as informed by the diagnostic results (For example, genetic results and possibly by patient genetic family history information).  This extension is used when need RiskAssessment as an alternate choice  for `Observation.hasMember` or `DiagnosticReport.result`.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/RiskAssessment"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/regex",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "regex",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/regex",
      "version" : "4.0.1",
      "name" : "regex",
      "status" : "draft",
      "date" : "2014-04-27",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "A regular expression that defines the syntax for the data element to be considered valid.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "ElementDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Regular expression pattern",
          "definition" : "A regular expression that defines the syntax for the data element to be considered valid.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/regex",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Regular expression pattern",
          "definition" : "A regular expression that defines the syntax for the data element to be considered valid.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/regex"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-systemRef",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-systemRef",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-systemRef",
      "version" : "4.0.1",
      "name" : "systemRef",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "The formal URI for the code system.  I.e. ValueSet.codeSystem.system (or its equivalent).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet.compose.include"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Where to find code system",
          "definition" : "The formal URI for the code system.  I.e. ValueSet.codeSystem.system (or its equivalent).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-systemRef",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Where to find code system",
          "definition" : "The formal URI for the code system.  I.e. ValueSet.codeSystem.system (or its equivalent).",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-systemRef"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaire-optionExclusive",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive",
      "version" : "4.0.1",
      "name" : "optionExclusive",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "If true, indicates that if this answerOption is selected, no other possible answers may be selected, even if the item is a repeating question.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item.answerOption"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Option is exclusive",
          "definition" : "If true, indicates that if this answerOption is selected, no other possible answers may be selected, even if the item is a repeating question.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Option is exclusive",
          "definition" : "If true, indicates that if this answerOption is selected, no other possible answers may be selected, even if the item is a repeating question.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "hla-genotyping-results-glstring",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring",
      "version" : "4.0.1",
      "name" : "glstring",
      "status" : "draft",
      "date" : "2015-10-09",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "glstring.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "DiagnosticReport"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "glstring",
          "definition" : "glstring.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:url",
          "path" : "Extension.extension",
          "sliceName" : "url",
          "short" : "glstring.url",
          "definition" : "glstring using a URI reference.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:url.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:url.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:url.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "url",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:url.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:text",
          "path" : "Extension.extension",
          "sliceName" : "text",
          "short" : "glstring.text",
          "definition" : "glstring using inline data.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:text.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:text.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:text.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "text",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:text.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "glstring",
          "definition" : "glstring.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension:url",
          "path" : "Extension.extension",
          "sliceName" : "url",
          "short" : "glstring.url",
          "definition" : "glstring using a URI reference.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:url.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:url.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "url"
        },
        {
          "id" : "Extension.extension:url.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        },
        {
          "id" : "Extension.extension:text",
          "path" : "Extension.extension",
          "sliceName" : "text",
          "short" : "glstring.text",
          "definition" : "glstring using inline data.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:text.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:text.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "text"
        },
        {
          "id" : "Extension.extension:text.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-careOf",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf",
      "version" : "4.0.1",
      "name" : "ADXP-careOf",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "The name of the party who will take receipt at the specified address, and will take on responsibility for ensuring delivery to the target recipient.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address.line"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "careOf",
          "definition" : "The name of the party who will take receipt at the specified address, and will take on responsibility for ensuring delivery to the target recipient.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=CAR]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "careOf",
          "definition" : "The name of the party who will take receipt at the specified address, and will take on responsibility for ensuring delivery to the target recipient.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=CAR]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "codesystem-workflowStatus",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus",
      "version" : "4.0.1",
      "name" : "workflowStatus",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Workflow Status is used to represent details of the value set development process while the value set has an Activity Status of Preliminary. The development of a value set often follows a formal workflow process from initiation to completion, and this element carries the state variable for this state machine. The assumption is that when first created a value set would have a workflow state of Draft. Additional workflow states may be used.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CodeSystem"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Indicates the state of development of the value set",
          "definition" : "Workflow Status is used to represent details of the value set development process while the value set has an Activity Status of Preliminary. The development of a value set often follows a formal workflow process from initiation to completion, and this element carries the state variable for this state machine. The assumption is that when first created a value set would have a workflow state of Draft. Additional workflow states may be used.",
          "comment" : "The values that this element may assume include phrases that capture various stages in review and approval. In addition to the minimum of ???Draft???,  these include ???Proposed???, ???Approved???, ???Ready to Publish???.  There may be additional states defined by different developers. This is an optional element because the use of Activity Status ???Preliminary??? may be sufficient for some implementations.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Indicates the state of development of the value set",
          "definition" : "Workflow Status is used to represent details of the value set development process while the value set has an Activity Status of Preliminary. The development of a value set often follows a formal workflow process from initiation to completion, and this element carries the state variable for this state machine. The assumption is that when first created a value set would have a workflow state of Draft. Additional workflow states may be used.",
          "comment" : "The values that this element may assume include phrases that capture various stages in review and approval. In addition to the minimum of ???Draft???,  these include ???Proposed???, ???Approved???, ???Ready to Publish???.  There may be additional states defined by different developers. This is an optional element because the use of Activity Status ???Preliminary??? may be sufficient for some implementations.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-deliveryInstallationQualifier",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier",
      "version" : "4.0.1",
      "name" : "ADXP-deliveryInstallationQualifier",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "A number, letter or name identifying a delivery installation. For example, for Station A, the delivery installation qualifier would be 'A'.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address.line"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "deliveryInstallationQualifier",
          "definition" : "A number, letter or name identifying a delivery installation. For example, for Station A, the delivery installation qualifier would be 'A'.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=DINSTQ]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "deliveryInstallationQualifier",
          "definition" : "A number, letter or name identifying a delivery installation. For example, for Station A, the delivery installation qualifier would be 'A'.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=DINSTQ]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/patient-genderIdentity",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "patient-genderIdentity",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/patient-genderIdentity",
      "version" : "4.0.1",
      "name" : "genderIdentity",
      "title" : "genderIdentity",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "The gender the patient identifies with. The Patient's gender identity is used as guidance (e.g. for staff) about how to interact with the patient.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Patient"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The patient's gender identity",
          "definition" : "The gender the patient identifies with. The Patient's gender identity is used as guidance (e.g. for staff) about how to interact with the patient.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-genderIdentity",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "GenderIdentity"
            }],
            "strength" : "example",
            "valueSet" : "http://hl7.org/fhir/ValueSet/gender-identity"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The patient's gender identity",
          "definition" : "The gender the patient identifies with. The Patient's gender identity is used as guidance (e.g. for staff) about how to interact with the patient.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-genderIdentity"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "GenderIdentity"
            }],
            "strength" : "example",
            "valueSet" : "http://hl7.org/fhir/ValueSet/gender-identity"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-unitType",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType",
      "version" : "4.0.1",
      "name" : "ADXP-unitType",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "Indicates the type of specific unit contained within a building or complex. E.g. Appartment, Floor.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address.line"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "unitType",
          "definition" : "Indicates the type of specific unit contained within a building or complex. E.g. Appartment, Floor.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=UNIT]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "unitType",
          "definition" : "Indicates the type of specific unit contained within a building or complex. E.g. Appartment, Floor.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=UNIT]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaire-sliderStepValue",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue",
      "version" : "4.0.1",
      "name" : "sliderStepValue",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "For slider-based controls, indicates the step size to use when toggling the control up or down.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.item"
      }],
      "contextInvariant" : ["type='integer'"],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Increment value for slider",
          "definition" : "For slider-based controls, indicates the step size to use when toggling the control up or down.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "integer"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Increment value for slider",
          "definition" : "For slider-based controls, indicates the step size to use when toggling the control up or down.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "integer"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-delta",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-delta",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-delta",
      "version" : "4.0.1",
      "name" : "delta",
      "title" : "delta",
      "status" : "draft",
      "date" : "2015-03-02",
      "publisher" : "Health Level Seven, Inc. - OO WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/orders"
        }]
      }],
      "description" : "The qualitative change in the value relative to the previous measurement. Usually only recorded if the change is clinically significant.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Qualitative change or trend in the measurement",
          "definition" : "The qualitative change in the value relative to the previous measurement. Usually only recorded if the change is clinically significant.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-delta",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Qualitative change or trend in the measurement",
          "definition" : "The qualitative change in the value relative to the previous measurement. Usually only recorded if the change is clinically significant.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-delta"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "diagnosticReport-replaces",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces",
      "version" : "4.0.1",
      "name" : "replaces",
      "title" : "Replaces",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "The report replaces the target resource.  For example, when a final anatomic pathology report replaces a preliminary anatomic pathology report replaces  where the subsequent observation of case and report  may be on more or different material (specimen).  Note that  this is not same concept as` DiagnosticReport.status`  = preliminary of final, but industry definition of preliminary and final.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "DiagnosticReport"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Replacement for another report",
          "definition" : "The report replaces the target resource.  For example, when a final anatomic pathology report replaces a preliminary anatomic pathology report replaces  where the subsequent observation of case and report  may be on more or different material (specimen).  Note that  this is not same concept as` DiagnosticReport.status`  = preliminary of final, but industry definition of preliminary and final.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/DiagnosticReport"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Replacement for another report",
          "definition" : "The report replaces the target resource.  For example, when a final anatomic pathology report replaces a preliminary anatomic pathology report replaces  where the subsequent observation of case and report  may be on more or different material (specimen).  Note that  this is not same concept as` DiagnosticReport.status`  = preliminary of final, but industry definition of preliminary and final.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/DiagnosticReport"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaire-referenceResource",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
      "version" : "4.0.1",
      "name" : "referenceResource",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "Where the type for a question is \"Reference\", indicates a type of resource that is permitted.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.item"
      }],
      "contextInvariant" : ["type='reference'"],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Allowed resource for reference",
          "definition" : "Where the type for a question is \"Reference\", indicates a type of resource that is permitted.",
          "comment" : "This extension only has meaning if the question.type = Reference.  If no allowedResource extensions are present, the presumption is that any type of resource is permitted.  If multiple are present, then any of the specified types are permitted.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A - MIF rather than RIM level"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ResourceType"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "required",
            "description" : "One of the resource types defined as part of this version of FHIR.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/resource-types|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Allowed resource for reference",
          "definition" : "Where the type for a question is \"Reference\", indicates a type of resource that is permitted.",
          "comment" : "This extension only has meaning if the question.type = Reference.  If no allowedResource extensions are present, the presumption is that any type of resource is permitted.  If multiple are present, then any of the specified types are permitted.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A - MIF rather than RIM level"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ResourceType"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "required",
            "description" : "One of the resource types defined as part of this version of FHIR.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/resource-types|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "elementdefinition-translatable",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
      "version" : "4.0.1",
      "name" : "translatable",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "Whether translations might be expected for this element in resource instances.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ElementDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Whether translations apply to this element",
          "definition" : "Whether translations might be expected for this element in resource instances.",
          "comment" : "This is a hint to design tools (e.g. profile editors,  UI builders) that translations are likely to be appropriate for this element in countries that are multi-lingual.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Whether translations apply to this element",
          "definition" : "Whether translations might be expected for this element in resource instances.",
          "comment" : "This is a hint to design tools (e.g. profile editors,  UI builders) that translations are likely to be appropriate for this element in countries that are multi-lingual.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-selector",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "elementdefinition-selector",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-selector",
      "version" : "4.0.1",
      "name" : "selector",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "A FHIRPath statement that defines whether an element is in the slice.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ElementDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "FHIRPath that defines the selection criteria for a slice",
          "definition" : "A FHIRPath statement that defines whether an element is in the slice.",
          "comment" : "This extension can only appear on element definitions that are part of a set of slices, and not on the slicing definition itself. If the selector appears in the presence of nominated slices discriminators, then the slicing defined by the discriminator(s) and the selector on each slice must agree. In the absence of any nominated discriminators, then an element is allowed to be in multiple slices.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF territory)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-selector",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "FHIRPath that defines the selection criteria for a slice",
          "definition" : "A FHIRPath statement that defines whether an element is in the slice.",
          "comment" : "This extension can only appear on element definitions that are part of a set of slices, and not on the slicing definition itself. If the selector appears in the presence of nominated slices discriminators, then the slicing defined by the discriminator(s) and the selector on each slice must agree. In the absence of any nominated discriminators, then an element is allowed to be in multiple slices.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF territory)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-selector"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "allergyintolerance-substanceExposureRisk",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk",
      "version" : "4.0.1",
      "name" : "substanceExposureRisk",
      "title" : "substanceExposureRisk",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "A complex extension allowing structured capture of the exposure risk of the patient for an adverse reaction (allergy or intolerance) to the specified substance/product.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AllergyIntolerance"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Exposure risk of adverse reaction (allergy or intolerance) to the specified substance/product",
          "definition" : "A complex extension allowing structured capture of the exposure risk of the patient for an adverse reaction (allergy or intolerance) to the specified substance/product.",
          "comment" : "This extension is available and is intended to be used as a more completely structured and flexible alternative to the 'code' element for representing positive and negative allergy and intolerance statements.  If this extension element is present, the AllergyIntolerance.code element SHALL be omitted (see invariant \"code or substanceExposureRisk\").",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key" : "inv-1",
            "severity" : "error",
            "human" : "If the substanceExposureRisk extension element is present, the AllergyIntolerance.code element must be omitted.",
            "expression" : "substanceExposureRisk.exists() and code.empty()",
            "xpath" : "exists(f:substanceExposureRisk) and not(exists(f:code))"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:substance",
          "path" : "Extension.extension",
          "sliceName" : "substance",
          "short" : "Substance (or pharmaceutical product)",
          "definition" : "Code for a substance or pharmaceutical product that is considered to be responsible for the adverse reaction risk or is known not to have an associated risk of an adverse reaction upon exposure.",
          "comment" : "It is strongly recommended that this element be populated using a terminology, where possible. For example, some terminologies used include RxNorm, SNOMED CT, DM+D, NDFRT, UNII, and ATC. Plain text should only be used if there is no appropriate terminology available. Additional details can be specified in the text.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "AL1-3 / IAM-3"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=CAGNT].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]"
          }]
        },
        {
          "id" : "Extension.extension:substance.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:substance.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:substance.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "substance",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:substance.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "SubstanceCode"
            }],
            "strength" : "example",
            "description" : "Codes defining the type of the substance (including pharmaceutical products).",
            "valueSet" : "http://hl7.org/fhir/ValueSet/substance-code"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:exposureRisk",
          "path" : "Extension.extension",
          "sliceName" : "exposureRisk",
          "short" : "known-reaction-risk | no-known-reaction-risk",
          "definition" : "The presence or absence of a known exposure risk of the patient for an adverse reaction (allergy or intolerance) to the specified substance/product.",
          "comment" : "exposureRisk is a modifier of the substance.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:exposureRisk.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:exposureRisk.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:exposureRisk.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "exposureRisk",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:exposureRisk.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AllergyIntoleranceSubstanceExposureRisk"
            }],
            "strength" : "required",
            "description" : "The risk of an adverse reaction (allergy or intolerance) for this patient upon exposure to the substance (including pharmaceutical products).",
            "valueSet" : "http://hl7.org/fhir/ValueSet/allerg-intol-substance-exp-risk|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Exposure risk of adverse reaction (allergy or intolerance) to the specified substance/product",
          "definition" : "A complex extension allowing structured capture of the exposure risk of the patient for an adverse reaction (allergy or intolerance) to the specified substance/product.",
          "comment" : "This extension is available and is intended to be used as a more completely structured and flexible alternative to the 'code' element for representing positive and negative allergy and intolerance statements.  If this extension element is present, the AllergyIntolerance.code element SHALL be omitted (see invariant \"code or substanceExposureRisk\").",
          "min" : 0,
          "max" : "1",
          "constraint" : [{
            "key" : "inv-1",
            "severity" : "error",
            "human" : "If the substanceExposureRisk extension element is present, the AllergyIntolerance.code element must be omitted.",
            "expression" : "substanceExposureRisk.exists() and code.empty()",
            "xpath" : "exists(f:substanceExposureRisk) and not(exists(f:code))"
          }]
        },
        {
          "id" : "Extension.extension:substance",
          "path" : "Extension.extension",
          "sliceName" : "substance",
          "short" : "Substance (or pharmaceutical product)",
          "definition" : "Code for a substance or pharmaceutical product that is considered to be responsible for the adverse reaction risk or is known not to have an associated risk of an adverse reaction upon exposure.",
          "comment" : "It is strongly recommended that this element be populated using a terminology, where possible. For example, some terminologies used include RxNorm, SNOMED CT, DM+D, NDFRT, UNII, and ATC. Plain text should only be used if there is no appropriate terminology available. Additional details can be specified in the text.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "mapping" : [{
            "identity" : "v2",
            "map" : "AL1-3 / IAM-3"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=CAGNT].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]"
          }]
        },
        {
          "id" : "Extension.extension:substance.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:substance.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "substance"
        },
        {
          "id" : "Extension.extension:substance.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "SubstanceCode"
            }],
            "strength" : "example",
            "description" : "Codes defining the type of the substance (including pharmaceutical products).",
            "valueSet" : "http://hl7.org/fhir/ValueSet/substance-code"
          }
        },
        {
          "id" : "Extension.extension:exposureRisk",
          "path" : "Extension.extension",
          "sliceName" : "exposureRisk",
          "short" : "known-reaction-risk | no-known-reaction-risk",
          "definition" : "The presence or absence of a known exposure risk of the patient for an adverse reaction (allergy or intolerance) to the specified substance/product.",
          "comment" : "exposureRisk is a modifier of the substance.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:exposureRisk.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:exposureRisk.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "exposureRisk"
        },
        {
          "id" : "Extension.extension:exposureRisk.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AllergyIntoleranceSubstanceExposureRisk"
            }],
            "strength" : "required",
            "description" : "The risk of an adverse reaction (allergy or intolerance) for this patient upon exposure to the substance (including pharmaceutical products).",
            "valueSet" : "http://hl7.org/fhir/ValueSet/allerg-intol-substance-exp-risk|4.0.1"
          }
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "devicerequest-patientInstruction",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction",
      "version" : "4.0.1",
      "name" : "patientInstruction",
      "title" : "Directions",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "Simple concise instructions to be read by the patient.  For example  “twice a day” rather than “BID.”.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "DeviceRequest"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Patient Friendly Insructions",
          "definition" : "Simple concise instructions to be read by the patient.  For example  “twice a day” rather than “BID.”.",
          "comment" : "Should use only common terms and sentences.  Use of unfamiliar words and jargon should be avoided.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:lang",
          "path" : "Extension.extension",
          "sliceName" : "lang",
          "short" : "Language",
          "definition" : "Code for Language.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:lang.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:lang.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:lang.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "lang",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:lang.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Language"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "preferred",
            "description" : "A human language.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:content",
          "path" : "Extension.extension",
          "sliceName" : "content",
          "short" : "Text",
          "definition" : "The actual text containing the instructions.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:content.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:content.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:content.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "content",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:content.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Patient Friendly Insructions",
          "definition" : "Simple concise instructions to be read by the patient.  For example  “twice a day” rather than “BID.”.",
          "comment" : "Should use only common terms and sentences.  Use of unfamiliar words and jargon should be avoided.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension:lang",
          "path" : "Extension.extension",
          "sliceName" : "lang",
          "short" : "Language",
          "definition" : "Code for Language.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:lang.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:lang.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "lang"
        },
        {
          "id" : "Extension.extension:lang.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Language"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "preferred",
            "description" : "A human language.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
          }
        },
        {
          "id" : "Extension.extension:content",
          "path" : "Extension.extension",
          "sliceName" : "content",
          "short" : "Text",
          "definition" : "The actual text containing the instructions.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:content.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:content.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "content"
        },
        {
          "id" : "Extension.extension:content.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/bodySite",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "bodySite",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/bodySite",
      "version" : "4.0.1",
      "name" : "BodyStructure Reference",
      "title" : "Body Site",
      "status" : "draft",
      "date" : "2013-12-05",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "Record details about the anatomical location of a specimen or body part. This resource may be used when a coded concept does not provide the necessary detail needed for the use case.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Element"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Target anatomic location or structure",
          "definition" : "Record details about the anatomical location of a specimen or body part. This resource may be used when a coded concept does not provide the necessary detail needed for the use case.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/bodySite",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/BodyStructure"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Target anatomic location or structure",
          "definition" : "Record details about the anatomical location of a specimen or body part. This resource may be used when a coded concept does not provide the necessary detail needed for the use case.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/bodySite"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/BodyStructure"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/task-candidateList",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "task-candidateList",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/task-candidateList",
      "version" : "4.0.1",
      "name" : "candidateList",
      "title" : "Candidate List",
      "status" : "draft",
      "date" : "2017-02-16",
      "publisher" : "Health Level Seven, Inc. - FHIR I WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "Identifies the individuals who are candidates for being the owner of the task.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "workflow",
        "uri" : "http://hl7.org/fhir/workflow",
        "name" : "Workflow Pattern"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Task"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "List of possible owners of Task",
          "definition" : "Identifies the individuals who are candidates for being the owner of the task.",
          "comment" : "In some environments, this list might be binding (i.e. owner must be one of the listed individuals), in others it may be suggestive (i.e. preferred owner will be from this list, but business processes may allow assignment to someone not on the list.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.performer.actor, Request.performer"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=PRF].role"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/task-candidateList",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Device",
            "http://hl7.org/fhir/StructureDefinition/Organization",
            "http://hl7.org/fhir/StructureDefinition/Patient",
            "http://hl7.org/fhir/StructureDefinition/Practitioner",
            "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "List of possible owners of Task",
          "definition" : "Identifies the individuals who are candidates for being the owner of the task.",
          "comment" : "In some environments, this list might be binding (i.e. owner must be one of the listed individuals), in others it may be suggestive (i.e. preferred owner will be from this list, but business processes may allow assignment to someone not on the list.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.performer.actor, Request.performer"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=PRF].role"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/task-candidateList"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Device",
            "http://hl7.org/fhir/StructureDefinition/Organization",
            "http://hl7.org/fhir/StructureDefinition/Patient",
            "http://hl7.org/fhir/StructureDefinition/Practitioner",
            "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "elementdefinition-maxValueSet",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
      "version" : "4.0.1",
      "name" : "maxValueSet",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The maximum allowable value set, for use when the binding strength is 'extensible' or 'preferred'. This value set is the value set from which additional codes can be taken from. This defines a 'required' binding over the top of the extensible binding.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ElementDefinition.binding"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Maximum Value Set (when strength = extensible)",
          "definition" : "The maximum allowable value set, for use when the binding strength is 'extensible' or 'preferred'. This value set is the value set from which additional codes can be taken from. This defines a 'required' binding over the top of the extensible binding.",
          "comment" : "Typically, this will be an entire code system, e.g. SNOMED CT. The maximum binding needs to include all the codes in the extensible or preferred binding.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF territory)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          },
          {
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ValueSet"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Maximum Value Set (when strength = extensible)",
          "definition" : "The maximum allowable value set, for use when the binding strength is 'extensible' or 'preferred'. This value set is the value set from which additional codes can be taken from. This defines a 'required' binding over the top of the extensible binding.",
          "comment" : "Typically, this will be an entire code system, e.g. SNOMED CT. The maximum binding needs to include all the codes in the extensible or preferred binding.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF territory)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          },
          {
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ValueSet"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "allergyintolerance-certainty",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty",
      "version" : "4.0.1",
      "name" : "certainty",
      "title" : "certainty",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AllergyIntolerance.reaction"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Certainty that the substance was the cause of the manifestation",
          "definition" : "Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event.",
          "comment" : "When certainty is missing, it means no information exists (although it could be in narrative).  By contrast, the unknown code is used when there is an explicit assertion that certainty is not known, such as when a patient eats a meal and it is unknown which food caused the reaction.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "uncertaintyCode"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AllergyIntoleranceCertainty"
            }],
            "strength" : "extensible",
            "description" : "Statement about the degree of clinical certainty that a specific substance was the cause of the manifestation in a reaction event.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/reaction-event-certainty"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Certainty that the substance was the cause of the manifestation",
          "definition" : "Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event.",
          "comment" : "When certainty is missing, it means no information exists (although it could be in narrative).  By contrast, the unknown code is used when there is an explicit assertion that certainty is not known, such as when a patient eats a meal and it is unknown which food caused the reaction.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "uncertaintyCode"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AllergyIntoleranceCertainty"
            }],
            "strength" : "extensible",
            "description" : "Statement about the degree of clinical certainty that a specific substance was the cause of the manifestation in a reaction event.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/reaction-event-certainty"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-reference",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-reference",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-reference",
      "version" : "4.0.1",
      "name" : "reference",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "A logical reference (e.g. a reference to ValueSet.url) that identifies the value set/version that identifies the set of possible coded values this coding was chosen from or constrained by.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Coding"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Url of Value set the code was chosen from",
          "definition" : "A logical reference (e.g. a reference to ValueSet.url) that identifies the value set/version that identifies the set of possible coded values this coding was chosen from or constrained by.",
          "comment" : "If this extension is used with an [extensible binding](terminologies.html#extensible), and the concept comes from outside the bound valueset, the value set SHALL be different from the bound valueset.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "CWE."
          },
          {
            "identity" : "rim",
            "map" : "CD.valueSet/CD.valueSetVersion"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-reference",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Url of Value set the code was chosen from",
          "definition" : "A logical reference (e.g. a reference to ValueSet.url) that identifies the value set/version that identifies the set of possible coded values this coding was chosen from or constrained by.",
          "comment" : "If this extension is used with an [extensible binding](terminologies.html#extensible), and the concept comes from outside the bound valueset, the value set SHALL be different from the bound valueset.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "CWE."
          },
          {
            "identity" : "rim",
            "map" : "CD.valueSet/CD.valueSetVersion"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-reference"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/flag-priority",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "flag-priority",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/flag-priority",
      "version" : "4.0.1",
      "name" : "priority",
      "title" : "Flag Priority",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - Patient Care WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "A code that identifies the priority of the alert, for example the Alert Priority flags column in IHE PCD TF 2 Table B.8-4.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Flag"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "An alarm code",
          "definition" : "A code that identifies the priority of the alert, for example the Alert Priority flags column in IHE PCD TF 2 Table B.8-4.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/flag-priority",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "FlagPriority"
            }],
            "strength" : "example",
            "description" : "A code of the alarm.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/flag-priority"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "An alarm code",
          "definition" : "A code that identifies the priority of the alert, for example the Alert Priority flags column in IHE PCD TF 2 Table B.8-4.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/flag-priority"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "FlagPriority"
            }],
            "strength" : "example",
            "description" : "A code of the alarm.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/flag-priority"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/contactpoint-local",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "contactpoint-local",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-local",
      "version" : "4.0.1",
      "name" : "local",
      "title" : "Local Number",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The local number that must be dialed to connect within the area/city/zone. This extension is used when a system wishes to designate specific parts of a phone number (and potentially place constraints on which components must be present and how they're filled in).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ContactPoint"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Local number that must always be dialled",
          "definition" : "The local number that must be dialed to connect within the area/city/zone. This extension is used when a system wishes to designate specific parts of a phone number (and potentially place constraints on which components must be present and how they're filled in).",
          "comment" : "The ContactPoint.value element SHOULD still be populated even if the extension is present.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/contactpoint-local",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Local number that must always be dialled",
          "definition" : "The local number that must be dialed to connect within the area/city/zone. This extension is used when a system wishes to designate specific parts of a phone number (and potentially place constraints on which components must be present and how they're filled in).",
          "comment" : "The ContactPoint.value element SHOULD still be populated even if the extension is present.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/contactpoint-local"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "structuredefinition-codegen-super",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super",
      "version" : "4.0.1",
      "name" : "codegen-super",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "A specific instruction to use an intermediate parent class when generating code for the classes.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "StructureDefinition.baseDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Use a different base when generating code",
          "definition" : "A specific instruction to use an intermediate parent class when generating code for the classes.",
          "comment" : "This can be useful when setting up special common ancestor classes for shared code. At present the only use for this is for the special MetadataResource pattern.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Use a different base when generating code",
          "definition" : "A specific instruction to use an intermediate parent class when generating code for the classes.",
          "comment" : "This can be useful when setting up special common ancestor classes for shared code. At present the only use for this is for the special MetadataResource pattern.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/consent-location",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "consent-location",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "cbcc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/consent-location",
      "version" : "4.0.1",
      "name" : "location",
      "title" : "Location of Access restriction",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "Health Level Seven, Inc. - CBCC WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/homehealth/index.cfm"
        }]
      }],
      "description" : "Restricts this exception to only apply a specific location as defined.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Consent.provision"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A location specific constraint",
          "definition" : "Restricts this exception to only apply a specific location as defined.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/consent-location",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Location"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A location specific constraint",
          "definition" : "Restricts this exception to only apply a specific location as defined.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/consent-location"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Location"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-nullFlavor",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor",
      "version" : "4.0.1",
      "name" : "nullFlavor",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "If the value is not a proper value, indicates the reason.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Element"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "NI | OTH | NINF | PINF | UNK | ASKU | NAV | NASK | TRC | MSK | NA | QS",
          "definition" : "If the value is not a proper value, indicates the reason.",
          "comment" : "Considerable care must be used when using nullFlavor in this context of FHIR - more than any other concept, this is tied to the way v3 works, and FHIR is quite different. For instance, there is no notion of a \"proper value\" as opposed to any other value in FHIR. a NullFlavor should be understood to mean, \"why information is missing\", and the nulFlavors OTH, NINF, PINF, and TRC should not be used.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "n/a"
          },
          {
            "identity" : "rim",
            "map" : "ANY.nullFlavor"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "NullFlavor"
            }],
            "strength" : "required",
            "description" : "A collection of codes specifying why a valid value is not present.",
            "valueSet" : "http://terminology.hl7.org/ValueSet/v3-NullFlavor|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "NI | OTH | NINF | PINF | UNK | ASKU | NAV | NASK | TRC | MSK | NA | QS",
          "definition" : "If the value is not a proper value, indicates the reason.",
          "comment" : "Considerable care must be used when using nullFlavor in this context of FHIR - more than any other concept, this is tied to the way v3 works, and FHIR is quite different. For instance, there is no notion of a \"proper value\" as opposed to any other value in FHIR. a NullFlavor should be understood to mean, \"why information is missing\", and the nulFlavors OTH, NINF, PINF, and TRC should not be used.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "n/a"
          },
          {
            "identity" : "rim",
            "map" : "ANY.nullFlavor"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "NullFlavor"
            }],
            "strength" : "required",
            "description" : "A collection of codes specifying why a valid value is not present.",
            "valueSet" : "http://terminology.hl7.org/ValueSet/v3-NullFlavor|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "operationdefinition-allowed-type",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type",
      "version" : "4.0.1",
      "name" : "allowed-type",
      "title" : "Allowed Type",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "When the base type is an abstract type (e.g. Resource or Element) then this extension defines which concrete types are allowed to be used for a parameter. In the absence of this extension, any type is allowed.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "OperationDefinition.parameter"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Which types are allowed for a parameter, when the base type is Abstract",
          "definition" : "When the base type is an abstract type (e.g. Resource or Element) then this extension defines which concrete types are allowed to be used for a parameter. In the absence of this extension, any type is allowed.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Which types are allowed for a parameter, when the base type is Abstract",
          "definition" : "When the base type is an abstract type (e.g. Resource or Element) then this extension defines which concrete types are allowed to be used for a parameter. In the absence of this extension, any type is allowed.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/capabilities",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "capabilities",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities",
      "version" : "4.0.1",
      "name" : "capabilities",
      "status" : "active",
      "date" : "2018-02-15",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "A set of codes that defines what the server is capable of.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CapabilityStatement.rest.security"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Server Capabilities",
          "definition" : "A set of codes that defines what the server is capable of.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "SmartCapabilities"
            }],
            "strength" : "required",
            "description" : "Codes that define what the server is capable of.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/smart-capabilities|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Server Capabilities",
          "definition" : "A set of codes that defines what the server is capable of.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "SmartCapabilities"
            }],
            "strength" : "required",
            "description" : "Codes that define what the server is capable of.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/smart-capabilities|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-map",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-map",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-map",
      "version" : "4.0.1",
      "name" : "map",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "A reference to a concept map that is relevant for the interpretation of this value set.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A concept map relevant to interpret this value set",
          "definition" : "A reference to a concept map that is relevant for the interpretation of this value set.",
          "comment" : "One use of this extension is to use it to include a partial concept map inside an expansion, only containing maps for the concepts included in this particular expansion.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-map",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ConceptMap"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A concept map relevant to interpret this value set",
          "definition" : "A reference to a concept map that is relevant for the interpretation of this value set.",
          "comment" : "One use of this extension is to use it to include a partial concept map inside an expansion, only containing maps for the concepts included in this particular expansion.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-map"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ConceptMap"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-workflowStatus",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus",
      "version" : "4.0.1",
      "name" : "workflowStatus",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Workflow Status is used to represent details of the value set development process while in a single Activity Status.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Indicates the state of development of the value set",
          "definition" : "Workflow Status is used to represent details of the value set development process while in a single Activity Status.",
          "comment" : "The values that are traditionally used for this element while the Value Set Definition has an Activity Status of Preliminary are assumed to include phrases that capture various stages in review and approval. It is expected that this would be used to manage maintenance activities, but that a terminology service would not be expected to expose this information. Different services might adopt different workflow status values reflecting their local practices.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Indicates the state of development of the value set",
          "definition" : "Workflow Status is used to represent details of the value set development process while in a single Activity Status.",
          "comment" : "The values that are traditionally used for this element while the Value Set Definition has an Activity Status of Preliminary are assumed to include phrases that capture various stages in review and approval. It is expected that this would be used to manage maintenance activities, but that a terminology service would not be expected to expose this information. Different services might adopt different workflow status values reflecting their local practices.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "allergyintolerance-reasonRefuted",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted",
      "version" : "4.0.1",
      "name" : "reasonRefuted",
      "title" : "reasonRefuted",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "A code capturing the explanation of why the allergy or intolerance has been refuted. Should be specified only if the status is refuted.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AllergyIntolerance"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Explanation associated with refuted status",
          "definition" : "A code capturing the explanation of why the allergy or intolerance has been refuted. Should be specified only if the status is refuted.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Explanation associated with refuted status",
          "definition" : "A code capturing the explanation of why the allergy or intolerance has been refuted. Should be specified only if the status is refuted.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/codesystem-label",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "codesystem-label",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/codesystem-label",
      "version" : "4.0.1",
      "name" : "label",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "The label to list in front of a code when presenting a list of possible values in a questionnaire-like fashion.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CodeSystem.concept"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "E.g. \"(a)\", \"1.\", etc.",
          "definition" : "The label to list in front of a code when presenting a list of possible values in a questionnaire-like fashion.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-label",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "E.g. \"(a)\", \"1.\", etc.",
          "definition" : "The label to list in front of a code when presenting a list of possible values in a questionnaire-like fashion.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-label"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaireresponse-completionMode",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode",
      "version" : "4.0.1",
      "name" : "completionMode",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "Indicates how the individual completing the QuestionnaireResponse provided their responses.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "QuestionnaireResponse"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "E.g. Verbal, written, electronic",
          "definition" : "Indicates how the individual completing the QuestionnaireResponse provided their responses.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "CompletionMode"
            }],
            "strength" : "required",
            "description" : "Codes indicating how the questionnaire was completed.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/questionnaireresponse-mode|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "E.g. Verbal, written, electronic",
          "definition" : "Indicates how the individual completing the QuestionnaireResponse provided their responses.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "CompletionMode"
            }],
            "strength" : "required",
            "description" : "Codes indicating how the questionnaire was completed.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/questionnaireresponse-mode|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-expirationDate",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-expirationDate",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-expirationDate",
      "version" : "4.0.1",
      "name" : "expirationDate",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "The date when the value set version is no longer expected to be used to create new content. This is the first date-time when the value set version becomes Inactive, so this value SHALL present on all Inactive value set versions. The start Date_time is expected to be as of 0001 UTC of the Expiration Date.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "When the value set version should no longer be used",
          "definition" : "The date when the value set version is no longer expected to be used to create new content. This is the first date-time when the value set version becomes Inactive, so this value SHALL present on all Inactive value set versions. The start Date_time is expected to be as of 0001 UTC of the Expiration Date.",
          "comment" : "Upon reaching the Expiration Date, the value set Activity Status should be consdiered as inactive. An Inactive value set version may no longer be used to create new content, but it may be used to evaluate content created prior to the Expiration Date.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-expirationDate",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "date"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "When the value set version should no longer be used",
          "definition" : "The date when the value set version is no longer expected to be used to create new content. This is the first date-time when the value set version becomes Inactive, so this value SHALL present on all Inactive value set versions. The start Date_time is expected to be as of 0001 UTC of the Expiration Date.",
          "comment" : "Upon reaching the Expiration Date, the value set Activity Status should be consdiered as inactive. An Inactive value set version may no longer be used to create new content, but it may be used to evaluate content created prior to the Expiration Date.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-expirationDate"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "date"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "timing-dayOfMonth",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth",
      "version" : "4.0.1",
      "name" : "dayOfMonth",
      "title" : "Day Of Month",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - MnM WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/MnM"
        }]
      }],
      "description" : "When present, this extension indicate that the event actually only occurs on the specified days of the month, on the times as otherwise specified by the timing schedule.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Timing.repeat"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Day of Month for schedule",
          "definition" : "When present, this extension indicate that the event actually only occurs on the specified days of the month, on the times as otherwise specified by the timing schedule.",
          "comment" : "The value must be an integer in thr range of 0 to 31. Its at the discretion of the implementer what to do if the value of the day is higher than the number of days in a given month.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "positiveInt"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Day of Month for schedule",
          "definition" : "When present, this extension indicate that the event actually only occurs on the specified days of the month, on the times as otherwise specified by the timing schedule.",
          "comment" : "The value must be an integer in thr range of 0 to 31. Its at the discretion of the implementer what to do if the value of the day is higher than the number of days in a given month.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "positiveInt"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "workflow-relatedArtifact",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact",
      "version" : "4.0.1",
      "name" : "relatedArtifact",
      "title" : "Related Artifact",
      "status" : "draft",
      "date" : "2017-12-06",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fwg"
        }]
      }],
      "description" : "Documentation  or 'knowledge artifacts' relevant to the base resource such as citations, supporting evidence, documentation of processes, caveats around testing methodology.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "DiagnosticReport"
      },
      {
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Documentation relevant to the 'parent' resource",
          "definition" : "Documentation  or 'knowledge artifacts' relevant to the base resource such as citations, supporting evidence, documentation of processes, caveats around testing methodology.",
          "comment" : "Note that in contrast this extension, the [supportingInfo extension](extension-workflow-supportinginfo.html) references other resources *from the patient record* that were used in creating the resource.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "RelatedArtifact"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Documentation relevant to the 'parent' resource",
          "definition" : "Documentation  or 'knowledge artifacts' relevant to the base resource such as citations, supporting evidence, documentation of processes, caveats around testing methodology.",
          "comment" : "Note that in contrast this extension, the [supportingInfo extension](extension-workflow-supportinginfo.html) references other resources *from the patient record* that were used in creating the resource.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "RelatedArtifact"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-timeOffset",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-timeOffset",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-timeOffset",
      "version" : "4.0.1",
      "name" : "timeOffset",
      "title" : "Time-offset",
      "status" : "draft",
      "date" : "2015-03-02",
      "publisher" : "Health Level Seven, Inc. - OO WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/orders"
        }]
      }],
      "description" : "A specific offset time in milliseconds from the stated time in the Observation.appliesDateTime to allow for representation of sequential recording  of sampled data from the same lead or data stream.  For example, an ECG recorder may record sequentially 3 leads four time to receive 12-lead ECG, see [ISO 22077](https://www.iso.org/obp/ui/#iso:std:61871:en).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation.component"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Time Offset for interlacing",
          "definition" : "A specific offset time in milliseconds from the stated time in the Observation.appliesDateTime to allow for representation of sequential recording  of sampled data from the same lead or data stream.  For example, an ECG recorder may record sequentially 3 leads four time to receive 12-lead ECG, see [ISO 22077](https://www.iso.org/obp/ui/#iso:std:61871:en).",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-timeOffset",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "integer"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Time Offset for interlacing",
          "definition" : "A specific offset time in milliseconds from the stated time in the Observation.appliesDateTime to allow for representation of sequential recording  of sampled data from the same lead or data stream.  For example, an ECG recorder may record sequentially 3 leads four time to receive 12-lead ECG, see [ISO 22077](https://www.iso.org/obp/ui/#iso:std:61871:en).",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-timeOffset"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "integer"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "structuredefinition-dependencies",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies",
      "version" : "4.0.1",
      "name" : "dependencies",
      "title" : "Dependent Profiles",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "Instances can only be valid against this StructureDefinition, if they also sucessfully validate against the dependent profile identified in this extension.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "StructureDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Dependent Profiles - must be valid against these too",
          "definition" : "Instances can only be valid against this StructureDefinition, if they also sucessfully validate against the dependent profile identified in this extension.",
          "comment" : "Ideally, a profile will restate the constraints of it's base profile and all it's dependent profiles, but this can get pretty complicated once slicing enters the picture. Tools SHOULD not assume that this profile includes all the constraints from the dependent profile.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/StructureDefinition"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Dependent Profiles - must be valid against these too",
          "definition" : "Instances can only be valid against this StructureDefinition, if they also sucessfully validate against the dependent profile identified in this extension.",
          "comment" : "Ideally, a profile will restate the constraints of it's base profile and all it's dependent profiles, but this can get pretty complicated once slicing enters the picture. Tools SHOULD not assume that this profile includes all the constraints from the dependent profile.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/StructureDefinition"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaire-choiceOrientation",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
      "version" : "4.0.1",
      "name" : "choiceOrientation",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "Identifies the desired orientation when rendering a list of choices (typically radio-box or check-box lists).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.item"
      }],
      "contextInvariant" : ["type='choice' or type='open-choice'"],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "horizontal | vertical",
          "definition" : "Identifies the desired orientation when rendering a list of choices (typically radio-box or check-box lists).",
          "comment" : "Systems may choose to wrap answers rather than attempting to display them all in one row or column.  Language conventions may determine the order in which the choices are listed (left-to-right or right-to-left, etc.).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ChoiceListOrientation"
            }],
            "strength" : "required",
            "description" : "Direction in which lists of possible answers should be displayed.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/choice-list-orientation|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "horizontal | vertical",
          "definition" : "Identifies the desired orientation when rendering a list of choices (typically radio-box or check-box lists).",
          "comment" : "Systems may choose to wrap answers rather than attempting to display them all in one row or column.  Language conventions may determine the order in which the choices are listed (left-to-right or right-to-left, etc.).",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ChoiceListOrientation"
            }],
            "strength" : "required",
            "description" : "Direction in which lists of possible answers should be displayed.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/choice-list-orientation|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-streetAddressLine",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine",
      "version" : "4.0.1",
      "name" : "ADXP-streetAddressLine",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "A street address line is frequently used instead of breaking out building number, street name, street type, etc. An address generally has only a delivery address line or a street address line, but not both.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address.line"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "streetAddressLine",
          "definition" : "A street address line is frequently used instead of breaking out building number, street name, street type, etc. An address generally has only a delivery address line or a street address line, but not both.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=SAL]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "streetAddressLine",
          "definition" : "A street address line is frequently used instead of breaking out building number, street name, street type, etc. An address generally has only a delivery address line or a street address line, but not both.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=SAL]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/procedure-schedule",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "procedure-schedule",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/procedure-schedule",
      "version" : "4.0.1",
      "name" : "schedule",
      "title" : "schedule",
      "status" : "draft",
      "date" : "2015-02-12",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "The schedule that was followed.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Procedure"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Schedule followed",
          "definition" : "The schedule that was followed.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/procedure-schedule",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Timing"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Schedule followed",
          "definition" : "The schedule that was followed.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/procedure-schedule"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Timing"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "diagnosticReport-locationPerformed",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed",
      "version" : "4.0.1",
      "name" : "locationPerformed",
      "title" : "locationPerformed",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "Facility location where this report was prepared.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "DiagnosticReport"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Location Performed",
          "definition" : "Facility location where this report was prepared.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Location"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Location Performed",
          "definition" : "Facility location where this report was prepared.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Location"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqf-initiatingPerson",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson",
      "version" : "4.0.1",
      "name" : "initiatingPerson",
      "title" : "initiatingPerson",
      "status" : "draft",
      "date" : "2015-05-30",
      "publisher" : "Health Level Seven, Inc. - CDS WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/dss"
        }]
      }],
      "description" : "The person initiating the request.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Basic"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Extension",
          "definition" : "The person initiating the request.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Person",
            "http://hl7.org/fhir/StructureDefinition/Patient",
            "http://hl7.org/fhir/StructureDefinition/Practitioner",
            "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "definition" : "The person initiating the request.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Person",
            "http://hl7.org/fhir/StructureDefinition/Patient",
            "http://hl7.org/fhir/StructureDefinition/Practitioner",
            "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/patient-nationality",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "patient-nationality",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/patient-nationality",
      "version" : "4.0.1",
      "name" : "nationality",
      "title" : "nationality",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "The nationality of the patient.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Patient"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Nationality",
          "definition" : "The nationality of the patient.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:code",
          "path" : "Extension.extension",
          "sliceName" : "code",
          "short" : "Nationality Code",
          "definition" : "Code representing nationality of patient.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:code.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:code.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:code.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "code",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:code.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:period",
          "path" : "Extension.extension",
          "sliceName" : "period",
          "short" : "Nationality Period",
          "definition" : "Period when nationality was effective.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:period.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:period.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:period.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "period",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:period.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Period"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-nationality",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Nationality",
          "definition" : "The nationality of the patient.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension:code",
          "path" : "Extension.extension",
          "sliceName" : "code",
          "short" : "Nationality Code",
          "definition" : "Code representing nationality of patient.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:code.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:code.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "code"
        },
        {
          "id" : "Extension.extension:code.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        },
        {
          "id" : "Extension.extension:period",
          "path" : "Extension.extension",
          "sliceName" : "period",
          "short" : "Nationality Period",
          "definition" : "Period when nationality was effective.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:period.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:period.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "period"
        },
        {
          "id" : "Extension.extension:period.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Period"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-nationality"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "patient-cadavericDonor",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor",
      "version" : "4.0.1",
      "name" : "cadavericDonor",
      "title" : "cadavericDonor",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Flag indicating whether the patient authorized the donation of body parts after death.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Patient"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Post-mortem donor status",
          "definition" : "Flag indicating whether the patient authorized the donation of body parts after death.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Post-mortem donor status",
          "definition" : "Flag indicating whether the patient authorized the donation of body parts after death.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/condition-dueTo",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "condition-dueTo",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/condition-dueTo",
      "version" : "4.0.1",
      "name" : "dueTo",
      "title" : "dueTo",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "Further conditions, problems, diagnoses, procedures or events or the substance that caused/triggered this Condition.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Condition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Causes for this Condition",
          "definition" : "Further conditions, problems, diagnoses, procedures or events or the substance that caused/triggered this Condition.",
          "comment" : "Although a condition may be caused by a substance, this is not intended to be used to record allergies/adverse reactions to substances.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : ".typeCode"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/condition-dueTo",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          },
          {
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition",
            "http://hl7.org/fhir/StructureDefinition/Procedure",
            "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
            "http://hl7.org/fhir/StructureDefinition/Immunization",
            "http://hl7.org/fhir/StructureDefinition/MedicationStatement"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConditionCause"
            }],
            "strength" : "example",
            "description" : "Codes that describe causes of patient conditions; e.g. Surgical mishap, escalation of a previous condition, etc.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/condition-cause"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Causes for this Condition",
          "definition" : "Further conditions, problems, diagnoses, procedures or events or the substance that caused/triggered this Condition.",
          "comment" : "Although a condition may be caused by a substance, this is not intended to be used to record allergies/adverse reactions to substances.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : ".typeCode"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/condition-dueTo"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          },
          {
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition",
            "http://hl7.org/fhir/StructureDefinition/Procedure",
            "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
            "http://hl7.org/fhir/StructureDefinition/Immunization",
            "http://hl7.org/fhir/StructureDefinition/MedicationStatement"]
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConditionCause"
            }],
            "strength" : "example",
            "description" : "Codes that describe causes of patient conditions; e.g. Surgical mishap, escalation of a previous condition, etc.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/condition-cause"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-keyWord",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-keyWord",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-keyWord",
      "version" : "4.0.1",
      "name" : "keyWord",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Word or words used in an information retrieval system to indicate the content of the value set.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Descriptors and key terms for search",
          "definition" : "Word or words used in an information retrieval system to indicate the content of the value set.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-keyWord",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Descriptors and key terms for search",
          "definition" : "Word or words used in an information retrieval system to indicate the content of the value set.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-keyWord"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-direction",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction",
      "version" : "4.0.1",
      "name" : "ADXP-direction",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "Direction (e.g., N, S, W, E).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address.line"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "direction",
          "definition" : "Direction (e.g., N, S, W, E).",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=DIR]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "direction",
          "definition" : "Direction (e.g., N, S, W, E).",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=DIR]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "auditevent-ParticipantObjectContainsStudy",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "sec"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy",
      "version" : "4.0.1",
      "name" : "ParticipantObjectContainsStudy",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "Health Level Seven, Inc. - Security WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/security/index.cfm"
        }]
      }],
      "description" : "A Study Instance ID, which may be used when the Entity type is not (110180, DCM, \"Study Instance UID\").",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "dicom",
        "uri" : "http://nema.org/dicom",
        "name" : "DICOM Tag Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AuditEvent.entity"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Contains Study",
          "definition" : "A Study Instance ID, which may be used when the Entity type is not (110180, DCM, \"Study Instance UID\").",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "dicom",
            "map" : "ParticipantObjectContainsStudy"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Identifier"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Contains Study",
          "definition" : "A Study Instance ID, which may be used when the Entity type is not (110180, DCM, \"Study Instance UID\").",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "dicom",
            "map" : "ParticipantObjectContainsStudy"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Identifier"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "communicationrequest-initiatingLocation",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation",
      "version" : "4.0.1",
      "name" : "initiatingLocation",
      "title" : "initiatingLocation",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "Location where the information being requested to be communicated happened.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CommunicationRequest"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Location where the CommunicationRequest was initiated",
          "definition" : "Location where the information being requested to be communicated happened.",
          "comment" : "Use when the location of initiation is important for interpretation of the communication.  Do not use for general Provenance purposes.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Location"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Location where the CommunicationRequest was initiated",
          "definition" : "Location where the information being requested to be communicated happened.",
          "comment" : "Use when the location of initiation is important for interpretation of the communication.  Do not use for general Provenance purposes.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Location"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-additionalLocator",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
      "version" : "4.0.1",
      "name" : "ADXP-additionalLocator",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "This can be a unit designator, such as apartment number, suite number, or floor. There may be several unit designators in an address (e.g., \"3rd floor, Appt. 342\"). This can also be a designator pointing away from the location, rather than specifying a smaller location within some larger one (e.g., Dutch \"t.o.\" means \"opposite to\" for house boats located across the street facing houses).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address.line"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "additionalLocator",
          "definition" : "This can be a unit designator, such as apartment number, suite number, or floor. There may be several unit designators in an address (e.g., \"3rd floor, Appt. 342\"). This can also be a designator pointing away from the location, rather than specifying a smaller location within some larger one (e.g., Dutch \"t.o.\" means \"opposite to\" for house boats located across the street facing houses).",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=ADL]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "additionalLocator",
          "definition" : "This can be a unit designator, such as apartment number, suite number, or floor. There may be several unit designators in an address (e.g., \"3rd floor, Appt. 342\"). This can also be a designator pointing away from the location, rather than specifying a smaller location within some larger one (e.g., Dutch \"t.o.\" means \"opposite to\" for house boats located across the street facing houses).",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=ADL]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "codesystem-conceptOrder",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder",
      "version" : "4.0.1",
      "name" : "conceptOrder",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Identifies the relative order in which concepts within the value set should be presented to a user.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CodeSystem.concept"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Appearance order for user selection",
          "definition" : "Identifies the relative order in which concepts within the value set should be presented to a user.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "integer"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Appearance order for user selection",
          "definition" : "Identifies the relative order in which concepts within the value set should be presented to a user.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "integer"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/task-replaces",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "task-replaces",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/task-replaces",
      "version" : "4.0.1",
      "name" : "replaces",
      "title" : "replaces",
      "status" : "draft",
      "date" : "2017-02-16",
      "publisher" : "Health Level Seven, Inc. - FHIR I WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "Completed or terminated task(s) whose function is taken by this new task.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "workflow",
        "uri" : "http://hl7.org/fhir/workflow",
        "name" : "Workflow Pattern"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Task"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Task(s) replaced by this Task",
          "definition" : "Completed or terminated task(s) whose function is taken by this new task.",
          "comment" : "The replacement could be because the initial task was immediately rejected (due to an issue) or because the previous task was completed, but the need for the action described by the task remains ongoing.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Request.replaces"
          },
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=RPLC].target"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/task-replaces",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Task"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Task(s) replaced by this Task",
          "definition" : "Completed or terminated task(s) whose function is taken by this new task.",
          "comment" : "The replacement could be because the initial task was immediately rejected (due to an issue) or because the previous task was completed, but the need for the action described by the task remains ongoing.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Request.replaces"
          },
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=RPLC].target"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/task-replaces"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Task"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "structuredefinition-wg",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "version" : "4.0.1",
      "name" : "wg",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The work group that owns and maintains this resource.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Element"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Owning Work Group",
          "definition" : "The work group that owns and maintains this resource.",
          "comment" : "This is mostly used in the main specification.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "HL7Workgroup"
            }],
            "strength" : "required",
            "description" : "An HL7 administrative unit that owns artifacts in the FHIR specification.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/hl7-work-group|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Owning Work Group",
          "definition" : "The work group that owns and maintains this resource.",
          "comment" : "This is mostly used in the main specification.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "HL7Workgroup"
            }],
            "strength" : "required",
            "description" : "An HL7 administrative unit that owns artifacts in the FHIR specification.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/hl7-work-group|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/contactpoint-country",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "contactpoint-country",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-country",
      "version" : "4.0.1",
      "name" : "country",
      "title" : "Country Code",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The country code as defined by the ITU. This extension is used when a system wishes to designate specific parts of a phone number (and potentially place constraints on which components must be present and how they're filled in).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ContactPoint"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Country code as defined by the ITU",
          "definition" : "The country code as defined by the ITU. This extension is used when a system wishes to designate specific parts of a phone number (and potentially place constraints on which components must be present and how they're filled in).",
          "comment" : "The ContactPoint.value element SHOULD still be populated even if the extension is present.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/contactpoint-country",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Country code as defined by the ITU",
          "definition" : "The country code as defined by the ITU. This extension is used when a system wishes to designate specific parts of a phone number (and potentially place constraints on which components must be present and how they're filled in).",
          "comment" : "The ContactPoint.value element SHOULD still be populated even if the extension is present.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/contactpoint-country"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/procedure-directedBy",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "procedure-directedBy",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/procedure-directedBy",
      "version" : "4.0.1",
      "name" : "directedBy",
      "title" : "directedBy",
      "status" : "draft",
      "date" : "2015-02-12",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "The target of the extension is a distinct actor from the requester and has decision-making authority over the service and takes direct responsibility to manage the service.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Procedure"
      },
      {
        "type" : "element",
        "expression" : "ServiceRequest"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Who has decision-making authority",
          "definition" : "The target of the extension is a distinct actor from the requester and has decision-making authority over the service and takes direct responsibility to manage the service.",
          "comment" : "For example, a long term care beneficiary who coordinates the services related to their activities of daily living.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/procedure-directedBy",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          },
          {
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient",
            "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
            "http://hl7.org/fhir/StructureDefinition/Practitioner",
            "http://hl7.org/fhir/StructureDefinition/PractitionerRole"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Who has decision-making authority",
          "definition" : "The target of the extension is a distinct actor from the requester and has decision-making authority over the service and takes direct responsibility to manage the service.",
          "comment" : "For example, a long term care beneficiary who coordinates the services related to their activities of daily living.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/procedure-directedBy"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          },
          {
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient",
            "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
            "http://hl7.org/fhir/StructureDefinition/Practitioner",
            "http://hl7.org/fhir/StructureDefinition/PractitionerRole"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqf-citation",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqf-citation",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-citation",
      "version" : "4.0.1",
      "name" : "citation",
      "title" : "citation",
      "status" : "draft",
      "date" : "2015-05-30",
      "publisher" : "Health Level Seven, Inc. - CDS WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/dss"
        }]
      }],
      "description" : "A bibliographic citation for the related resource. This text SHOULD be formatted according to an accepted citation format.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Attachment"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Bibliographic citation for the resource",
          "definition" : "A bibliographic citation for the related resource. This text SHOULD be formatted according to an accepted citation format.",
          "comment" : "Additional structured information about citations should be captured as extensions.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-citation",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Bibliographic citation for the resource",
          "definition" : "A bibliographic citation for the related resource. This text SHOULD be formatted according to an accepted citation format.",
          "comment" : "Additional structured information about citations should be captured as extensions.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-citation"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-streetNameBase",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase",
      "version" : "4.0.1",
      "name" : "ADXP-streetNameBase",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "The base name of a roadway or artery recognized by a municipality (excluding street type and direction).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address.line"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "streetNameBase",
          "definition" : "The base name of a roadway or artery recognized by a municipality (excluding street type and direction).",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=STB]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "streetNameBase",
          "definition" : "The base name of a roadway or artery recognized by a municipality (excluding street type and direction).",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=STB]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/codesystem-usage",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "codesystem-usage",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/codesystem-usage",
      "version" : "4.0.1",
      "name" : "usage",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Consumers of the value set and the implementations, projects or standards that the author has utilized the value set in.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CodeSystem"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Who has used and how?",
          "definition" : "Consumers of the value set and the implementations, projects or standards that the author has utilized the value set in.",
          "comment" : "This is likely to be a ???point in time??? view and should not be considered an authoritative listing of all uses of the value set.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:user",
          "path" : "Extension.extension",
          "sliceName" : "user",
          "short" : "A consumer of or client for the value set",
          "definition" : "This is most likely to be an organization but can be an individual. It would not be a program, that information should be recorded in the usage.use.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:user.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:user.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:user.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "user",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:user.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:use",
          "path" : "Extension.extension",
          "sliceName" : "use",
          "short" : "Implementation/project/standard that uses value set",
          "definition" : "A descriptive name of the project or standard in which the value set is used.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:use.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:use.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:use.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "use",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:use.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-usage",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Who has used and how?",
          "definition" : "Consumers of the value set and the implementations, projects or standards that the author has utilized the value set in.",
          "comment" : "This is likely to be a ???point in time??? view and should not be considered an authoritative listing of all uses of the value set.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:user",
          "path" : "Extension.extension",
          "sliceName" : "user",
          "short" : "A consumer of or client for the value set",
          "definition" : "This is most likely to be an organization but can be an individual. It would not be a program, that information should be recorded in the usage.use.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:user.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:user.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "user"
        },
        {
          "id" : "Extension.extension:user.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.extension:use",
          "path" : "Extension.extension",
          "sliceName" : "use",
          "short" : "Implementation/project/standard that uses value set",
          "definition" : "A descriptive name of the project or standard in which the value set is used.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:use.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:use.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "use"
        },
        {
          "id" : "Extension.extension:use.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-usage"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/maxSize",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "maxSize",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/maxSize",
      "version" : "4.0.1",
      "name" : "maxSize",
      "status" : "draft",
      "date" : "2014-04-27",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "For attachment answers, indicates the maximum size an attachment can be.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "ElementDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Max size in MB",
          "definition" : "For attachment answers, indicates the maximum size an attachment can be.",
          "comment" : "This extension only has meaning if the element has a type of Attachment.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/maxSize",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "decimal"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Max size in MB",
          "definition" : "For attachment answers, indicates the maximum size an attachment can be.",
          "comment" : "This extension only has meaning if the element has a type of Attachment.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/maxSize"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "decimal"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-deliveryMode",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode",
      "version" : "4.0.1",
      "name" : "ADXP-deliveryMode",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "Indicates the type of service offered, method of delivery. For example: post office box, rural route, general delivery, etc.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address.line"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "deliveryMode",
          "definition" : "Indicates the type of service offered, method of delivery. For example: post office box, rural route, general delivery, etc.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=DMOD]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "deliveryMode",
          "definition" : "Indicates the type of service offered, method of delivery. For example: post office box, rural route, general delivery, etc.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=DMOD]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/identifier-validDate",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "identifier-validDate",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/identifier-validDate",
      "version" : "4.0.1",
      "name" : "validDate",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "Indicates a date on which this identifier value was deemed to apply to this instance.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Identifier"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "External Identifier associated with this element",
          "definition" : "Indicates a date on which this identifier value was deemed to apply to this instance.",
          "comment" : "When referencing business objects where an identifier might not be globally unique but is instead re-used, allows determination of which object applies (on the presumption that the identifiers on the referenced object have an identifier.period or other metadata that indicates when that identifier was valid for the business object).",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/identifier-validDate",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "dateTime"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "External Identifier associated with this element",
          "definition" : "Indicates a date on which this identifier value was deemed to apply to this instance.",
          "comment" : "When referencing business objects where an identifier might not be globally unique but is instead re-used, allows determination of which object applies (on the presumption that the identifiers on the referenced object have an identifier.period or other metadata that indicates when that identifier was valid for the business object).",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/identifier-validDate"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "dateTime"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "patient-citizenship",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
      "version" : "4.0.1",
      "name" : "citizenship",
      "title" : "citizenship",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "The patient's legal status as citizen of a country.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Patient"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Nation(s) where the patient claims citizenship",
          "definition" : "The patient's legal status as citizen of a country.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:code",
          "path" : "Extension.extension",
          "sliceName" : "code",
          "short" : "Nation code of citizenship",
          "definition" : "Nation code representing the citizenship of patient.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:code.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:code.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:code.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "code",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:code.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:period",
          "path" : "Extension.extension",
          "sliceName" : "period",
          "short" : "Time period of citizenship",
          "definition" : "Period when citizenship was effective.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:period.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:period.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:period.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "period",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:period.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Period"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Nation(s) where the patient claims citizenship",
          "definition" : "The patient's legal status as citizen of a country.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension:code",
          "path" : "Extension.extension",
          "sliceName" : "code",
          "short" : "Nation code of citizenship",
          "definition" : "Nation code representing the citizenship of patient.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:code.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:code.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "code"
        },
        {
          "id" : "Extension.extension:code.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        },
        {
          "id" : "Extension.extension:period",
          "path" : "Extension.extension",
          "sliceName" : "period",
          "short" : "Time period of citizenship",
          "definition" : "Period when citizenship was effective.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:period.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:period.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "period"
        },
        {
          "id" : "Extension.extension:period.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Period"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-citizenship"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaire-baseType",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaire-baseType",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-baseType",
      "version" : "4.0.1",
      "name" : "baseType",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "This identifies the underlying type in a profile, when a questionnaire is generated from a profile.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.item"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Base Type for answer",
          "definition" : "This identifies the underlying type in a profile, when a questionnaire is generated from a profile.",
          "comment" : "The extension may assist a questionnaire renderer to tune the UI, and it guides a QuestionnaireResponse processor when generating resources from the responses.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-baseType",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "DataType"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "required",
            "description" : "A version specific list of the data types defined by the FHIR specification for use as an element  type (any of the FHIR defined data types).",
            "valueSet" : "http://hl7.org/fhir/ValueSet/data-types|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Base Type for answer",
          "definition" : "This identifies the underlying type in a profile, when a questionnaire is generated from a profile.",
          "comment" : "The extension may assist a questionnaire renderer to tune the UI, and it guides a QuestionnaireResponse processor when generating resources from the responses.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-baseType"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "DataType"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "required",
            "description" : "A version specific list of the data types defined by the FHIR specification for use as an element  type (any of the FHIR defined data types).",
            "valueSet" : "http://hl7.org/fhir/ValueSet/data-types|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "humanname-partner-name",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
      "version" : "4.0.1",
      "name" : "partner-name",
      "status" : "draft",
      "date" : "2015-11-22",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The portion of the family name that is derived from the person's partner's surname, as distinguished from any portion that is derived from the surname of the person's own name.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "HumanName.family"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Portion derived from person's partner's surname",
          "definition" : "The portion of the family name that is derived from the person's partner's surname, as distinguished from any portion that is derived from the surname of the person's own name.",
          "comment" : "If the person's surname has legally changed to become (or incorporate) the surname of the person's partner or spouse, this is the person's surname immediately prior to such change. Often this is the person's \"maiden name\".",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "FN.5"
          },
          {
            "identity" : "rim",
            "map" : "ENXP where Qualifiers = (SP)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Portion derived from person's partner's surname",
          "definition" : "The portion of the family name that is derived from the person's partner's surname, as distinguished from any portion that is derived from the surname of the person's own name.",
          "comment" : "If the person's surname has legally changed to become (or incorporate) the surname of the person's partner or spouse, this is the person's surname immediately prior to such change. Often this is the person's \"maiden name\".",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "FN.5"
          },
          {
            "identity" : "rim",
            "map" : "ENXP where Qualifiers = (SP)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/location-boundary-geojson",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "location-boundary-geojson",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/location-boundary-geojson",
      "version" : "4.0.1",
      "name" : "boundary-geojson",
      "title" : "Boundary (GeoJSON)",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "A boundary shape that represents the outside edge of the location (in GeoJSON format) This shape may have holes, and disconnected shapes.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Location"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A boundary shape that represents the outside edge of the location (in GeoJSON format)",
          "definition" : "A boundary shape that represents the outside edge of the location (in GeoJSON format) This shape may have holes, and disconnected shapes.",
          "comment" : "The format of the content is GeoJSON in both the JSON and XML formats. It will be stored in the resource using the .data property, and externally referenced via the URL property. The mimetype to be used will be 'application/geo+json'.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/location-boundary-geojson",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Attachment"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A boundary shape that represents the outside edge of the location (in GeoJSON format)",
          "definition" : "A boundary shape that represents the outside edge of the location (in GeoJSON format) This shape may have holes, and disconnected shapes.",
          "comment" : "The format of the content is GeoJSON in both the JSON and XML formats. It will be stored in the resource using the .data property, and externally referenced via the URL property. The mimetype to be used will be 'application/geo+json'.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/location-boundary-geojson"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Attachment"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-activityStatusDate",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate",
      "version" : "4.0.1",
      "name" : "activityStatusDate",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "The date when the associated Value Set Definition Version activity status is in effect.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Date when the activity status is in effect",
          "definition" : "The date when the associated Value Set Definition Version activity status is in effect.",
          "comment" : "When the Activity Status is set to “Active”, the Activity Status Date defines the Effective Date which is the date-time the Value Set Definition Version becomes active. When the Activity Status is set to “Inactive”, the Activity Status Date is the date-time when the Value Set Definition version becomes Inactive. This cycle may happen multiple times. The specified time is expected to be one second after midnight UTC of the Activity Status Date. The date may be in the future. \n\nIt is strongly encouraged that the Activity Status be set such that no more than one Value Set Definition Version for a single Value Set Identifier can have an Activity Status of ACTIVE at the same time within a single realm. In cases where this is not true, evaluation of the alignment of a Value Set Expansion Code Set to a specific Value Set Definition, as referenced in a CD, will be problematic.\n\nChanges to this element should never result in a new Value Set Definition Version.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "date"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Date when the activity status is in effect",
          "definition" : "The date when the associated Value Set Definition Version activity status is in effect.",
          "comment" : "When the Activity Status is set to “Active”, the Activity Status Date defines the Effective Date which is the date-time the Value Set Definition Version becomes active. When the Activity Status is set to “Inactive”, the Activity Status Date is the date-time when the Value Set Definition version becomes Inactive. This cycle may happen multiple times. The specified time is expected to be one second after midnight UTC of the Activity Status Date. The date may be in the future. \n\nIt is strongly encouraged that the Activity Status be set such that no more than one Value Set Definition Version for a single Value Set Identifier can have an Activity Status of ACTIVE at the same time within a single realm. In cases where this is not true, evaluation of the alignment of a Value Set Expansion Code Set to a specific Value Set Definition, as referenced in a CD, will be problematic.\n\nChanges to this element should never result in a new Value Set Definition Version.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "date"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-geneticsAllele",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele",
      "version" : "4.0.1",
      "name" : "Allele",
      "status" : "draft",
      "date" : "2016-03-14",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "Allele information.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Allele",
          "definition" : "Allele information.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:Name",
          "path" : "Extension.extension",
          "sliceName" : "Name",
          "short" : "Name of allele",
          "definition" : "An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). This element is the common name for the allele. LOINC Code: ([48008-7](http://loinc.org/48008-7)).",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Name.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:Name.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:Name.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Name",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Name.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "EBI-AlleleName"
            }],
            "strength" : "preferred",
            "description" : "EMBL-EBI database of AlleleName.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/allelename"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:State",
          "path" : "Extension.extension",
          "sliceName" : "State",
          "short" : "The level of occurrence of a single DNA sequence variant within a set of chromosomes: Heteroplasmic / Homoplasmic / Homozygous / Heterozygous / Hemizygous",
          "definition" : "The level of occurrence of a single DNA Sequence Variant within a set of chromosomes. Heterozygous indicates the DNA sequence variant is only present in one of the two genes contained in homologous chromosomes. Homozygous indicates the DNA Sequence Variant is present in both genes contained in homologous chromosomes. Hemizygous indicates the DNA Sequence Variant exists in the only single copy of a gene in a non-homologous chromosome (the male X and Y chromosome are non-homologous). Hemiplasmic indicates that the DNA Sequence Variant is present in some but not all of the copies of mitochondrial DNA. Homoplasmic indicates that the DNA Sequence Variant is present in all of the copies of mitochondrial DNA. LOINC Code: ([53034-5](http://loinc.org/53034-5)).",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:State.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:State.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:State.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "State",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:State.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Frequency",
          "path" : "Extension.extension",
          "sliceName" : "Frequency",
          "short" : "Allele frequency",
          "definition" : "A physical quality which inheres to the allele by virtue of the number instances of the allele within a population. LOINC Code: ([81258-6](http://loinc.org/81258-6)).",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:Frequency.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:Frequency.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:Frequency.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Frequency",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Frequency.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "decimal"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Allele",
          "definition" : "Allele information.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension:Name",
          "path" : "Extension.extension",
          "sliceName" : "Name",
          "short" : "Name of allele",
          "definition" : "An allele is one of a set of coexisting sequence variants of a gene ([SO:0001023](http://www.sequenceontology.org/browser/current_svn/term/SO:0001023)). This element is the common name for the allele. LOINC Code: ([48008-7](http://loinc.org/48008-7)).",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Name.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:Name.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Name"
        },
        {
          "id" : "Extension.extension:Name.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "EBI-AlleleName"
            }],
            "strength" : "preferred",
            "description" : "EMBL-EBI database of AlleleName.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/allelename"
          }
        },
        {
          "id" : "Extension.extension:State",
          "path" : "Extension.extension",
          "sliceName" : "State",
          "short" : "The level of occurrence of a single DNA sequence variant within a set of chromosomes: Heteroplasmic / Homoplasmic / Homozygous / Heterozygous / Hemizygous",
          "definition" : "The level of occurrence of a single DNA Sequence Variant within a set of chromosomes. Heterozygous indicates the DNA sequence variant is only present in one of the two genes contained in homologous chromosomes. Homozygous indicates the DNA Sequence Variant is present in both genes contained in homologous chromosomes. Hemizygous indicates the DNA Sequence Variant exists in the only single copy of a gene in a non-homologous chromosome (the male X and Y chromosome are non-homologous). Hemiplasmic indicates that the DNA Sequence Variant is present in some but not all of the copies of mitochondrial DNA. Homoplasmic indicates that the DNA Sequence Variant is present in all of the copies of mitochondrial DNA. LOINC Code: ([53034-5](http://loinc.org/53034-5)).",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:State.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:State.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "State"
        },
        {
          "id" : "Extension.extension:State.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        },
        {
          "id" : "Extension.extension:Frequency",
          "path" : "Extension.extension",
          "sliceName" : "Frequency",
          "short" : "Allele frequency",
          "definition" : "A physical quality which inheres to the allele by virtue of the number instances of the allele within a population. LOINC Code: ([81258-6](http://loinc.org/81258-6)).",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:Frequency.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:Frequency.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Frequency"
        },
        {
          "id" : "Extension.extension:Frequency.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "decimal"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "humanname-mothers-family",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family",
      "version" : "4.0.1",
      "name" : "mothers-family",
      "status" : "draft",
      "date" : "2015-11-22",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The portion of the family name that is derived from the person's mother.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "HumanName.family"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Portion of family name derived from mother",
          "definition" : "The portion of the family name that is derived from the person's mother.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Portion of family name derived from mother",
          "definition" : "The portion of the family name that is derived from the person's mother.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "auditevent-SOPClass",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "sec"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass",
      "version" : "4.0.1",
      "name" : "SOPClass",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "Health Level Seven, Inc. - Security WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/security/index.cfm"
        }]
      }],
      "description" : "Required if ParticipantObjectIDTypeCode is (110180, DCM, \"Study Instance UID\") and any of the optional fields (AccessionNumber, ContainsMPPS, NumberOfInstances, ContainsSOPInstances,Encrypted,Anonymized) are present in this Participant Object. May be present if ParticipantObjectIDTypeCode is (110180, DCM, \"Study Instance UID\") even though none of the optional fields are present.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "dicom",
        "uri" : "http://nema.org/dicom",
        "name" : "DICOM Tag Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AuditEvent.entity"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "UIDs of SOP classes referred to",
          "definition" : "Required if ParticipantObjectIDTypeCode is (110180, DCM, \"Study Instance UID\") and any of the optional fields (AccessionNumber, ContainsMPPS, NumberOfInstances, ContainsSOPInstances,Encrypted,Anonymized) are present in this Participant Object. May be present if ParticipantObjectIDTypeCode is (110180, DCM, \"Study Instance UID\") even though none of the optional fields are present.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "dicom",
            "map" : "SOPClass"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ImagingStudy"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "UIDs of SOP classes referred to",
          "definition" : "Required if ParticipantObjectIDTypeCode is (110180, DCM, \"Study Instance UID\") and any of the optional fields (AccessionNumber, ContainsMPPS, NumberOfInstances, ContainsSOPInstances,Encrypted,Anonymized) are present in this Participant Object. May be present if ParticipantObjectIDTypeCode is (110180, DCM, \"Study Instance UID\") even though none of the optional fields are present.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "dicom",
            "map" : "SOPClass"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ImagingStudy"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/organization-period",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "organization-period",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/organization-period",
      "version" : "4.0.1",
      "name" : "period",
      "title" : "Period",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "The date range that this organization should be considered available.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Organization"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Extension",
          "definition" : "The date range that this organization should be considered available.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/organization-period",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Period"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "definition" : "The date range that this organization should be considered available.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/organization-period"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Period"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "encounter-reasonCancelled",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled",
      "version" : "4.0.1",
      "name" : "reasonCancelled",
      "title" : "reasonCancelled",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "If the encountered was cancelled after it was planned, why? Applies only if the status is cancelled.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Encounter"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Explanation for cancellation",
          "definition" : "If the encountered was cancelled after it was planned, why? Applies only if the status is cancelled.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Explanation for cancellation",
          "definition" : "If the encountered was cancelled after it was planned, why? Applies only if the status is cancelled.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "resource-effectivePeriod",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod",
      "version" : "4.0.1",
      "name" : "effectivePeriod",
      "title" : "Effective Period",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "The period during which the resource content was or is planned to be effective.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "StructureDefinition"
      },
      {
        "type" : "element",
        "expression" : "StructureMap"
      },
      {
        "type" : "element",
        "expression" : "CapabilityStatement"
      },
      {
        "type" : "element",
        "expression" : "OperationDefinition"
      },
      {
        "type" : "element",
        "expression" : "SearchParameter"
      },
      {
        "type" : "element",
        "expression" : "CompartmentDefinition"
      },
      {
        "type" : "element",
        "expression" : "ImplementationGuide"
      },
      {
        "type" : "element",
        "expression" : "CodeSystem"
      },
      {
        "type" : "element",
        "expression" : "ValueSet"
      },
      {
        "type" : "element",
        "expression" : "ConceptMap"
      },
      {
        "type" : "element",
        "expression" : "NamingSystem"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The effective date range for the resource",
          "definition" : "The period during which the resource content was or is planned to be effective.",
          "comment" : "The effective period for a resource  determines when the content is applicable for usage and is independent of publication and review dates. For example, a measure intended to be used for the year 2016 would be published in 2015.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Period"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The effective date range for the resource",
          "definition" : "The period during which the resource content was or is planned to be effective.",
          "comment" : "The effective period for a resource  determines when the content is applicable for usage and is independent of publication and review dates. For example, a measure intended to be used for the year 2016 would be published in 2015.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Period"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "structuredefinition-display-hint",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
      "version" : "4.0.1",
      "name" : "display-hint",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "Hinting information for the narrative generator - a series of name: value; pairs.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ElementDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Hinting information for the narrative generator",
          "definition" : "Hinting information for the narrative generator - a series of name: value; pairs.",
          "comment" : "known names: default (default value - don't represent if this value).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Hinting information for the narrative generator",
          "definition" : "Hinting information for the narrative generator - a series of name: value; pairs.",
          "comment" : "known names: default (default value - don't represent if this value).",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-geneticsVariant",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant",
      "version" : "4.0.1",
      "name" : "Variant",
      "status" : "draft",
      "date" : "2016-03-14",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "Variant information.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Variant",
          "definition" : "Variant information.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:Name",
          "path" : "Extension.extension",
          "sliceName" : "Name",
          "short" : "HGVS nomenclature for observed DNA sequence variant",
          "definition" : "Human Genome Variation Society (HGVS) nomenclature for a single or set of DNA Sequence Variation(s) identified in testing.  The use of the nomenclature is also used to describe non-variations (aka. wild types). LOINC Code: ([48004-6](http://loinc.org/48004-6)).",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:Name.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:Name.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:Name.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Name",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Name.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ClinVar-variant-database"
            }],
            "strength" : "preferred",
            "description" : "NCBI central repository of potentially clinically relevant variants.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/clinvar"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Id",
          "path" : "Extension.extension",
          "sliceName" : "Id",
          "short" : "DNA sequence variant ID",
          "definition" : "Identifier for DNA sequence variant.  If a germline variant, ClinVar or dbSNP identifier should be used.  If a somatic variant, COSMIC identifier should be used, unless in ClinVar then either maybe used. Need to provide the code system used (ClinVar, dbSNP, COSMIC) LOINC Code: ([48003-8](http://loinc.org/48003-8)).",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:Id.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:Id.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:Id.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Id",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Id.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Type",
          "path" : "Extension.extension",
          "sliceName" : "Type",
          "short" : "DNA sequence variant type",
          "definition" : "Codified type for associated DNA sequence variant. DNA sequence variants use the HGVS notation, which implies the DNA sequence variant type. LOINC Code: ([48019-4](http://loinc.org/48019-4)).",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Type.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:Type.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:Type.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Type",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Type.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Variant",
          "definition" : "Variant information.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension:Name",
          "path" : "Extension.extension",
          "sliceName" : "Name",
          "short" : "HGVS nomenclature for observed DNA sequence variant",
          "definition" : "Human Genome Variation Society (HGVS) nomenclature for a single or set of DNA Sequence Variation(s) identified in testing.  The use of the nomenclature is also used to describe non-variations (aka. wild types). LOINC Code: ([48004-6](http://loinc.org/48004-6)).",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:Name.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:Name.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Name"
        },
        {
          "id" : "Extension.extension:Name.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ClinVar-variant-database"
            }],
            "strength" : "preferred",
            "description" : "NCBI central repository of potentially clinically relevant variants.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/clinvar"
          }
        },
        {
          "id" : "Extension.extension:Id",
          "path" : "Extension.extension",
          "sliceName" : "Id",
          "short" : "DNA sequence variant ID",
          "definition" : "Identifier for DNA sequence variant.  If a germline variant, ClinVar or dbSNP identifier should be used.  If a somatic variant, COSMIC identifier should be used, unless in ClinVar then either maybe used. Need to provide the code system used (ClinVar, dbSNP, COSMIC) LOINC Code: ([48003-8](http://loinc.org/48003-8)).",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:Id.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:Id.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Id"
        },
        {
          "id" : "Extension.extension:Id.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        },
        {
          "id" : "Extension.extension:Type",
          "path" : "Extension.extension",
          "sliceName" : "Type",
          "short" : "DNA sequence variant type",
          "definition" : "Codified type for associated DNA sequence variant. DNA sequence variants use the HGVS notation, which implies the DNA sequence variant type. LOINC Code: ([48019-4](http://loinc.org/48019-4)).",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Type.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:Type.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Type"
        },
        {
          "id" : "Extension.extension:Type.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/entryFormat",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "entryFormat",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/entryFormat",
      "version" : "4.0.1",
      "name" : "entryFormat",
      "status" : "draft",
      "date" : "2014-04-27",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "Additional instructions for the user to guide their input (i.e. a human readable version of a regular expression like \"nnn-nnn-nnn\"). In most UIs this is the placeholder (or 'ghost') text placed directly inside the edit controls and that disappear when the control gets the focus.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "ElementDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "User prompt for format",
          "definition" : "Additional instructions for the user to guide their input (i.e. a human readable version of a regular expression like \"nnn-nnn-nnn\"). In most UIs this is the placeholder (or 'ghost') text placed directly inside the edit controls and that disappear when the control gets the focus.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/entryFormat",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "User prompt for format",
          "definition" : "Additional instructions for the user to guide their input (i.e. a human readable version of a regular expression like \"nnn-nnn-nnn\"). In most UIs this is the placeholder (or 'ghost') text placed directly inside the edit controls and that disappear when the control gets the focus.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/entryFormat"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "DiagnosticReport-geneticsAnalysis",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis",
      "version" : "4.0.1",
      "name" : "Analysis",
      "status" : "draft",
      "date" : "2015-10-09",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "Knowledge-based comments on the effect of the sequence on patient's condition/medication reaction.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "DiagnosticReport"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Analysis",
          "definition" : "Knowledge-based comments on the effect of the sequence on patient's condition/medication reaction.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:type",
          "path" : "Extension.extension",
          "sliceName" : "type",
          "short" : "Analysis type",
          "definition" : "Type of the analysis. E.g. for a drug, what is being analyzed - efficacy, reaction, the drug's effect on the user's metabolism, etc.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:type.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:type.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:type.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "type",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:type.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:interpretation",
          "path" : "Extension.extension",
          "sliceName" : "interpretation",
          "short" : "Analysis interpretation",
          "definition" : "Interpretation of the sequence's effect on the patient's condition or reaction to a medication.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:interpretation.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:interpretation.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:interpretation.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "interpretation",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:interpretation.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Analysis",
          "definition" : "Knowledge-based comments on the effect of the sequence on patient's condition/medication reaction.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension:type",
          "path" : "Extension.extension",
          "sliceName" : "type",
          "short" : "Analysis type",
          "definition" : "Type of the analysis. E.g. for a drug, what is being analyzed - efficacy, reaction, the drug's effect on the user's metabolism, etc.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:type.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:type.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "type"
        },
        {
          "id" : "Extension.extension:type.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        },
        {
          "id" : "Extension.extension:interpretation",
          "path" : "Extension.extension",
          "sliceName" : "interpretation",
          "short" : "Analysis interpretation",
          "definition" : "Interpretation of the sequence's effect on the patient's condition or reaction to a medication.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:interpretation.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:interpretation.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "interpretation"
        },
        {
          "id" : "Extension.extension:interpretation.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/request-replaces",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "request-replaces",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/request-replaces",
      "version" : "4.0.1",
      "name" : "replaces",
      "title" : "Replaces",
      "status" : "draft",
      "date" : "2017-12-06",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fwg"
        }]
      }],
      "description" : "Completed or terminated request(s) whose function is taken by this new request.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "NutritionOrder"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Request(s) replaced by this request",
          "definition" : "Completed or terminated request(s) whose function is taken by this new request.",
          "comment" : "The replacement could be because the initial request was immediately rejected (due to an issue) or because the previous request was completed, but the need for the action described by the request remains ongoing.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "Handled by message location of ORC (ORC.1=RO or RU)"
          },
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=RPLC].target"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/request-replaces",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Request(s) replaced by this request",
          "definition" : "Completed or terminated request(s) whose function is taken by this new request.",
          "comment" : "The replacement could be because the initial request was immediately rejected (due to an issue) or because the previous request was completed, but the need for the action described by the request remains ongoing.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "v2",
            "map" : "Handled by message location of ORC (ORC.1=RO or RU)"
          },
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=RPLC].target"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/request-replaces"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-deprecated",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-deprecated",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-deprecated",
      "version" : "4.0.1",
      "name" : "deprecated",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "if ture, indicates that the concept is deprecated from the value set - that is, it should not be used, and is planned to be withdrawn.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet.compose.include.concept"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The concept should not be used",
          "definition" : "if ture, indicates that the concept is deprecated from the value set - that is, it should not be used, and is planned to be withdrawn.",
          "comment" : "Ths status relates to a concept's inclusion in the value set, and might be different to the underlying status of the concept itself.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-deprecated",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The concept should not be used",
          "definition" : "if ture, indicates that the concept is deprecated from the value set - that is, it should not be used, and is planned to be withdrawn.",
          "comment" : "Ths status relates to a concept's inclusion in the value set, and might be different to the underlying status of the concept itself.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-deprecated"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/codesystem-warning",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "codesystem-warning",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/codesystem-warning",
      "version" : "4.0.1",
      "name" : "warning",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "An extra warning about the correct use of the value set.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CodeSystem"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Extra warning about the correct use of the value set",
          "definition" : "An extra warning about the correct use of the value set.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-warning",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "markdown"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Extra warning about the correct use of the value set",
          "definition" : "An extra warning about the correct use of the value set.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-warning"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "markdown"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaire-usageMode",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode",
      "version" : "4.0.1",
      "name" : "usageMode",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "Identifies that the specified element should only appear in certain \"modes\" of operation.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.item"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "capture | display | display-non-empty | capture-display | capture-display-non-empty",
          "definition" : "Identifies that the specified element should only appear in certain \"modes\" of operation.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "QuestionnaireItemUsageMode"
            }],
            "strength" : "required",
            "description" : "Identifies the modes of usage of a questionnaire that should enable a particular questionnaire item.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/questionnaire-usage-mode|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "capture | display | display-non-empty | capture-display | capture-display-non-empty",
          "definition" : "Identifies that the specified element should only appear in certain \"modes\" of operation.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "QuestionnaireItemUsageMode"
            }],
            "strength" : "required",
            "description" : "Identifies the modes of usage of a questionnaire that should enable a particular questionnaire item.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/questionnaire-usage-mode|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/openEHR-test",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "openEHR-test",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/openEHR-test",
      "version" : "4.0.1",
      "name" : "test",
      "status" : "draft",
      "date" : "2014-10-09",
      "publisher" : "Health Level Seven, Inc / openEHR project",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org"
        }]
      }],
      "description" : "Observations that confirm or refute the risk and/or the substance.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AllergyIntolerance"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Observations that confirm or refute",
          "definition" : "Observations that confirm or refute the risk and/or the substance.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/openEHR-test",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Observation",
            "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Observations that confirm or refute",
          "definition" : "Observations that confirm or refute the risk and/or the substance.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/openEHR-test"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Observation",
            "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqf-encounterType",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqf-encounterType",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-encounterType",
      "version" : "4.0.1",
      "name" : "encounterType",
      "title" : "encounterType",
      "status" : "draft",
      "date" : "2015-05-30",
      "publisher" : "Health Level Seven, Inc. - CDS WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/dss"
        }]
      }],
      "description" : "The type of the encounter.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Basic"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Extension",
          "definition" : "The type of the encounter.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-encounterType",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "definition" : "The type of the encounter.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-encounterType"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-toocostly",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-toocostly",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-toocostly",
      "version" : "4.0.1",
      "name" : "toocostly",
      "title" : "Expansion Truncated",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Marks that the expansion is  incomplete, because the full value set is too large to represent, and the client asked for an incomplete fragment.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet.expansion"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The expansion is incomplete because the full expansion is too large",
          "definition" : "Marks that the expansion is  incomplete, because the full value set is too large to represent, and the client asked for an incomplete fragment.",
          "comment" : "Typically, servers will limit expansion to a number like 10000 codes.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-toocostly",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The expansion is incomplete because the full expansion is too large",
          "definition" : "Marks that the expansion is  incomplete, because the full value set is too large to represent, and the client asked for an incomplete fragment.",
          "comment" : "Typically, servers will limit expansion to a number like 10000 codes.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-toocostly"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "servicerequest-geneticsItem",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem",
      "version" : "4.0.1",
      "name" : "Item",
      "status" : "draft",
      "date" : "2015-10-20",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "DiagnosticReport"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The items the orderer requested",
          "definition" : "The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:code",
          "path" : "Extension.extension",
          "sliceName" : "code",
          "short" : "Code to indicate the item (test, panel or sequence variant) being ordered",
          "definition" : "Code to indicate the item (test, panel or sequence variant) being ordered.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:code.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:code.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:code.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "code",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:code.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:geneticsObservation",
          "path" : "Extension.extension",
          "sliceName" : "geneticsObservation",
          "short" : "Indicate the genetic variant ordered to be tested",
          "definition" : "Indicate the genetic variant ordered to be tested.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:geneticsObservation.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:geneticsObservation.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:geneticsObservation.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "geneticsObservation",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:geneticsObservation.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Observation"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:specimen",
          "path" : "Extension.extension",
          "sliceName" : "specimen",
          "short" : "If this item relates to specific specimens",
          "definition" : "If the item is related to a specific specimen.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:specimen.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:specimen.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:specimen.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "specimen",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:specimen.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Specimen"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:status",
          "path" : "Extension.extension",
          "sliceName" : "status",
          "short" : "proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed",
          "definition" : "The status of this individual item within the order.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:status.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:status.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:status.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "status",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:status.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The items the orderer requested",
          "definition" : "The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension:code",
          "path" : "Extension.extension",
          "sliceName" : "code",
          "short" : "Code to indicate the item (test, panel or sequence variant) being ordered",
          "definition" : "Code to indicate the item (test, panel or sequence variant) being ordered.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:code.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:code.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "code"
        },
        {
          "id" : "Extension.extension:code.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        },
        {
          "id" : "Extension.extension:geneticsObservation",
          "path" : "Extension.extension",
          "sliceName" : "geneticsObservation",
          "short" : "Indicate the genetic variant ordered to be tested",
          "definition" : "Indicate the genetic variant ordered to be tested.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:geneticsObservation.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:geneticsObservation.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "geneticsObservation"
        },
        {
          "id" : "Extension.extension:geneticsObservation.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Observation"]
          }]
        },
        {
          "id" : "Extension.extension:specimen",
          "path" : "Extension.extension",
          "sliceName" : "specimen",
          "short" : "If this item relates to specific specimens",
          "definition" : "If the item is related to a specific specimen.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:specimen.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:specimen.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "specimen"
        },
        {
          "id" : "Extension.extension:specimen.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Specimen"]
          }]
        },
        {
          "id" : "Extension.extension:status",
          "path" : "Extension.extension",
          "sliceName" : "status",
          "short" : "proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed",
          "definition" : "The status of this individual item within the order.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:status.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:status.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "status"
        },
        {
          "id" : "Extension.extension:status.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/coding-sctdescid",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "coding-sctdescid",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/coding-sctdescid",
      "version" : "4.0.1",
      "name" : "sctdescid",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The SNOMED CT Description ID for the display.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Coding"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "SNOMED CT Description ID",
          "definition" : "The SNOMED CT Description ID for the display.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/coding-sctdescid",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "id"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "SNOMED CT Description ID",
          "definition" : "The SNOMED CT Description ID for the display.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/coding-sctdescid"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "id"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/messageheader-response-request",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "messageheader-response-request",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "inm"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/messageheader-response-request",
      "version" : "4.0.1",
      "name" : "messageheader-response-request",
      "title" : "MessageHeader response request",
      "status" : "draft",
      "date" : "2017-01-24",
      "publisher" : "Health Level Seven, Inc. - InM Work Group",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "This extension enables the capability currently available through MSH-16 (Application Level acknowledgement) in HL7 Version 2 to declare at a message instance level whether a response is required or only upon error or success, or never.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "MessageHeader"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "messageheader initiator requests a response",
          "definition" : "This extension enables the capability currently available through MSH-16 (Application Level acknowledgement) in HL7 Version 2 to declare at a message instance level whether a response is required or only upon error or success, or never.",
          "comment" : "The Message Definition data provides perhaps what would be acceptable response requests, but could not indicate for each instance what is appropriate.  The initiator should be able to handle the response even if not expected.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "MSH-16"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/messageheader-response-request",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "messageheader-response-request"
            }],
            "strength" : "required",
            "description" : "HL7-defined table of codes which identify conditions under which acknowledgments are required to be returned in response to a message.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/messageheader-response-request|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "messageheader initiator requests a response",
          "definition" : "This extension enables the capability currently available through MSH-16 (Application Level acknowledgement) in HL7 Version 2 to declare at a message instance level whether a response is required or only upon error or success, or never.",
          "comment" : "The Message Definition data provides perhaps what would be acceptable response requests, but could not indicate for each instance what is appropriate.  The initiator should be able to handle the response even if not expected.",
          "min" : 1,
          "max" : "1",
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "MSH-16"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/messageheader-response-request"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "messageheader-response-request"
            }],
            "strength" : "required",
            "description" : "HL7-defined table of codes which identify conditions under which acknowledgments are required to be returned in response to a message.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/messageheader-response-request|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqf-strengthOfRecommendation",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation",
      "version" : "4.0.1",
      "name" : "strengthOfRecommendation",
      "title" : "strengthOfRecommendation",
      "status" : "draft",
      "date" : "2015-05-30",
      "publisher" : "Health Level Seven, Inc. - CDS WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/dss"
        }]
      }],
      "description" : "The strength of the recommendation assigned to this reference. The code system used specifies the rating scale used to rate this recommendation while the code specifies the actual recommendation rating (represented as a coded value) associated with this recommendation.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Attachment"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The strength of the recommendation",
          "definition" : "The strength of the recommendation assigned to this reference. The code system used specifies the rating scale used to rate this recommendation while the code specifies the actual recommendation rating (represented as a coded value) associated with this recommendation.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "StrengthOfRecommendationRating"
            }],
            "strength" : "example",
            "description" : "A rating system that describes the strength of the recommendation, such as the GRADE, DynaMed, or HGPS systems.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/recommendation-strength"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The strength of the recommendation",
          "definition" : "The strength of the recommendation assigned to this reference. The code system used specifies the rating scale used to rate this recommendation while the code specifies the actual recommendation rating (represented as a coded value) associated with this recommendation.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "StrengthOfRecommendationRating"
            }],
            "strength" : "example",
            "description" : "A rating system that describes the strength of the recommendation, such as the GRADE, DynaMed, or HGPS systems.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/recommendation-strength"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "elementdefinition-profile-element",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element",
      "version" : "4.0.1",
      "name" : "profile-element",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The specific element to use in the referenced profile. This is used when a backbone element is being profiled, rather than an established type.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ElementDefinition.type.profile"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Specific element for profile (for backbone elements)",
          "definition" : "The specific element to use in the referenced profile. This is used when a backbone element is being profiled, rather than an established type.",
          "comment" : "The backbone element cannot be the root of the struture definition, so the starting element must be specified separately.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Specific element for profile (for backbone elements)",
          "definition" : "The specific element to use in the referenced profile. This is used when a backbone element is being profiled, rather than an established type.",
          "comment" : "The backbone element cannot be the root of the struture definition, so the starting element must be specified separately.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/patient-religion",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "patient-religion",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/patient-religion",
      "version" : "4.0.1",
      "name" : "religion",
      "title" : "religion",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "The patient's professed religious affiliations.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Patient"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The patient's professed religious affiliations",
          "definition" : "The patient's professed religious affiliations.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-religion",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Religion"
            }],
            "strength" : "extensible",
            "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ReligiousAffiliation"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The patient's professed religious affiliations",
          "definition" : "The patient's professed religious affiliations.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-religion"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Religion"
            }],
            "strength" : "extensible",
            "valueSet" : "http://terminology.hl7.org/ValueSet/v3-ReligiousAffiliation"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-deliveryInstallationType",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType",
      "version" : "4.0.1",
      "name" : "ADXP-deliveryInstallationType",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "Indicates the type of delivery installation (the facility to which the mail will be delivered prior to final shipping via the delivery mode.) Example: post office, letter carrier depot, community mail center, station, etc.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address.line"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "deliveryInstallationType",
          "definition" : "Indicates the type of delivery installation (the facility to which the mail will be delivered prior to final shipping via the delivery mode.) Example: post office, letter carrier depot, community mail center, station, etc.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=DINST]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "deliveryInstallationType",
          "definition" : "Indicates the type of delivery installation (the facility to which the mail will be delivered prior to final shipping via the delivery mode.) Example: post office, letter carrier depot, community mail center, station, etc.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=DINST]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-rules-text",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-rules-text",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-rules-text",
      "version" : "4.0.1",
      "name" : "rules-text",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "An expression that provides an alternative definition of the content of the value set in some form that is not computable - e.g instructions that could only be followed by a human.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "An alternative non-computable expression of the value set content",
          "definition" : "An expression that provides an alternative definition of the content of the value set in some form that is not computable - e.g instructions that could only be followed by a human.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-rules-text",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "markdown"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "An alternative non-computable expression of the value set content",
          "definition" : "An expression that provides an alternative definition of the content of the value set in some form that is not computable - e.g instructions that could only be followed by a human.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-rules-text"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "markdown"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/condition-ruledOut",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "condition-ruledOut",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/condition-ruledOut",
      "version" : "4.0.1",
      "name" : "ruledOut",
      "title" : "ruledOut",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "Identifies what potential diagnoses have been ruled out for this condition.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Condition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Conditions ruled out for this condition",
          "definition" : "Identifies what potential diagnoses have been ruled out for this condition.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/condition-ruledOut",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Conditions ruled out for this condition",
          "definition" : "Identifies what potential diagnoses have been ruled out for this condition.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/condition-ruledOut"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-question",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "elementdefinition-question",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-question",
      "version" : "4.0.1",
      "name" : "question",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The default/suggested phrasing to use when prompting a human to capture the data element in question form (e.g. In a survey).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ElementDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Prompt for element phrased as question",
          "definition" : "The default/suggested phrasing to use when prompting a human to capture the data element in question form (e.g. In a survey).",
          "comment" : "Question and label serve similar purposes in they both can be used to prompt for capturing a data element.  Whether the question form or label form should be used will depend on the type of instrument being used to capture the information.  The ordering is in order of preference.  I.e. Most preferred question form is listed first.  Note that this is for alternate phrasings of the question.  Language translations are handled using the ISO 21090 string translation extensions.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-question",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Prompt for element phrased as question",
          "definition" : "The default/suggested phrasing to use when prompting a human to capture the data element in question form (e.g. In a survey).",
          "comment" : "Question and label serve similar purposes in they both can be used to prompt for capturing a data element.  Whether the question form or label form should be used will depend on the type of instrument being used to capture the information.  The ordering is in order of preference.  I.e. Most preferred question form is listed first.  Note that this is for alternate phrasings of the question.  Language translations are handled using the ISO 21090 string translation extensions.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-question"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "codesystem-replacedby",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby",
      "version" : "4.0.1",
      "name" : "replacedby",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "A code that replaces this - use this code instead.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CodeSystem.concept"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A code that replaces this",
          "definition" : "A code that replaces this - use this code instead.",
          "comment" : "Usually such codes are deprecated (retired).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Coding"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A code that replaces this",
          "definition" : "A code that replaces this - use this code instead.",
          "comment" : "Usually such codes are deprecated (retired).",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Coding"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "resource-pertainsToGoal",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal",
      "version" : "4.0.1",
      "name" : "pertainsToGoal",
      "title" : "pertains to goal",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Indicates that the resource is related to either the measurement, achievement or progress towards the referenced goal.  For example, a Procedure to exercise pertainsToGoal of losing weight.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Resource"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Pertains to goal",
          "definition" : "Indicates that the resource is related to either the measurement, achievement or progress towards the referenced goal.  For example, a Procedure to exercise pertainsToGoal of losing weight.",
          "comment" : "This extension is  limited to subject-specific activity-related resources (events & intents).  I.e. This can't be put on Goal or Patient.  This association isn't for the purpose of goal management, but for things such as noting that a particular observation result, prescription or other activity is pertinent to the achievement (or possibly non-achievement) of the referenced goal.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Goal"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Pertains to goal",
          "definition" : "Indicates that the resource is related to either the measurement, achievement or progress towards the referenced goal.  For example, a Procedure to exercise pertainsToGoal of losing weight.",
          "comment" : "This extension is  limited to subject-specific activity-related resources (events & intents).  I.e. This can't be put on Goal or Patient.  This association isn't for the purpose of goal management, but for things such as noting that a particular observation result, prescription or other activity is pertinent to the achievement (or possibly non-achievement) of the referenced goal.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Goal"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/designNote",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "designNote",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/designNote",
      "version" : "4.0.1",
      "name" : "Design Note",
      "status" : "draft",
      "date" : "2013-12-05",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "Information captured by the author/maintainer of the questionnaire for development purposes, not intended to be seen by users.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.item"
      },
      {
        "type" : "element",
        "expression" : "ElementDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Design comments",
          "definition" : "Information captured by the author/maintainer of the questionnaire for development purposes, not intended to be seen by users.",
          "comment" : "Allows capture of todos, rationale for design decisions, etc.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/designNote",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "markdown"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Design comments",
          "definition" : "Information captured by the author/maintainer of the questionnaire for development purposes, not intended to be seen by users.",
          "comment" : "Allows capture of todos, rationale for design decisions, etc.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/designNote"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "markdown"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaire-referenceProfile",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile",
      "version" : "4.0.1",
      "name" : "referenceProfile",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "Where the type for a question is \"Reference\", indicates a profile that the resource instances pointed to in answers to this question must be valid against.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.item"
      }],
      "contextInvariant" : ["type='reference'"],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Allowed profile for reference",
          "definition" : "Where the type for a question is \"Reference\", indicates a profile that the resource instances pointed to in answers to this question must be valid against.",
          "comment" : "If multiple profiles are present, then the resource must be valid against at least one of them.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/StructureDefinition"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Allowed profile for reference",
          "definition" : "Where the type for a question is \"Reference\", indicates a profile that the resource instances pointed to in answers to this question must be valid against.",
          "comment" : "If multiple profiles are present, then the resource must be valid against at least one of them.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/StructureDefinition"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqf-encounterClass",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqf-encounterClass",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-encounterClass",
      "version" : "4.0.1",
      "name" : "encounterClass",
      "title" : "encounterClass",
      "status" : "draft",
      "date" : "2015-05-30",
      "publisher" : "Health Level Seven, Inc. - CDS WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/dss"
        }]
      }],
      "description" : "The class of encounter (inpatient, outpatient, etc.).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Basic"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Extension",
          "definition" : "The class of encounter (inpatient, outpatient, etc.).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-encounterClass",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "definition" : "The class of encounter (inpatient, outpatient, etc.).",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-encounterClass"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqf-relativeDateTime",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime",
      "version" : "4.0.1",
      "name" : "relativeDateTime",
      "status" : "draft",
      "date" : "2015-05-30",
      "publisher" : "Health Level Seven, Inc. - CDS WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/dss"
        }]
      }],
      "description" : "A date/time value that is determined based on a duration offset from a target event.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Element"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A date/time that is specified relative to another event",
          "definition" : "A date/time value that is determined based on a duration offset from a target event.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:target",
          "path" : "Extension.extension",
          "sliceName" : "target",
          "short" : "Relative to what event",
          "definition" : "The event that the date/time value is relative to.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:target.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:target.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:target.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "target",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:target.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:targetPath",
          "path" : "Extension.extension",
          "sliceName" : "targetPath",
          "short" : "Relative to which element on the event",
          "definition" : "The path to the element that defines the effective period for the event that the date/time value is relative to.",
          "comment" : "The specified path must be resolvable from the type of the target. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:targetPath.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:targetPath.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:targetPath.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "targetPath",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:targetPath.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:relationship",
          "path" : "Extension.extension",
          "sliceName" : "relationship",
          "short" : "before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end",
          "definition" : "The relationship to the effective period of the target event that the date/time value is relative to.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:relationship.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:relationship.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:relationship.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "relationship",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:relationship.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ActionRelationshipType"
            }],
            "strength" : "required",
            "description" : "A type that describes how two events are related in time.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/action-relationship-type|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:offset",
          "path" : "Extension.extension",
          "sliceName" : "offset",
          "short" : "How long",
          "definition" : "A duration or range of durations that specifies the offset between the date/time value and the target event. For example, 30-60 minutes before.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:offset.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:offset.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:offset.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "offset",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:offset.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Duration"
          },
          {
            "code" : "Range"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A date/time that is specified relative to another event",
          "definition" : "A date/time value that is determined based on a duration offset from a target event.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension:target",
          "path" : "Extension.extension",
          "sliceName" : "target",
          "short" : "Relative to what event",
          "definition" : "The event that the date/time value is relative to.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:target.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:target.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "target"
        },
        {
          "id" : "Extension.extension:target.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
          }]
        },
        {
          "id" : "Extension.extension:targetPath",
          "path" : "Extension.extension",
          "sliceName" : "targetPath",
          "short" : "Relative to which element on the event",
          "definition" : "The path to the element that defines the effective period for the event that the date/time value is relative to.",
          "comment" : "The specified path must be resolvable from the type of the target. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:targetPath.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:targetPath.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "targetPath"
        },
        {
          "id" : "Extension.extension:targetPath.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.extension:relationship",
          "path" : "Extension.extension",
          "sliceName" : "relationship",
          "short" : "before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end",
          "definition" : "The relationship to the effective period of the target event that the date/time value is relative to.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:relationship.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:relationship.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "relationship"
        },
        {
          "id" : "Extension.extension:relationship.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ActionRelationshipType"
            }],
            "strength" : "required",
            "description" : "A type that describes how two events are related in time.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/action-relationship-type|4.0.1"
          }
        },
        {
          "id" : "Extension.extension:offset",
          "path" : "Extension.extension",
          "sliceName" : "offset",
          "short" : "How long",
          "definition" : "A duration or range of durations that specifies the offset between the date/time value and the target event. For example, 30-60 minutes before.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:offset.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:offset.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "offset"
        },
        {
          "id" : "Extension.extension:offset.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Duration"
          },
          {
            "code" : "Range"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/http-response-header",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "http-response-header",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/http-response-header",
      "version" : "4.0.1",
      "name" : "http-response-header",
      "title" : "HTTP Response header",
      "status" : "draft",
      "date" : "2015-03-11",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "In a transaction, every single interaction can have multiple HTTP response headers returned as a result of the interaction.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Bundle.entry.response"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "HTTP header returned by the interaction",
          "definition" : "In a transaction, every single interaction can have multiple HTTP response headers returned as a result of the interaction.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/http-response-header",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "HTTP header returned by the interaction",
          "definition" : "In a transaction, every single interaction can have multiple HTTP response headers returned as a result of the interaction.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/http-response-header"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "family-member-history-genetics-parent",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent",
      "version" : "4.0.1",
      "name" : "parent",
      "status" : "draft",
      "date" : "2013-10-02",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "Identifies a parent of the relative.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "FamilyMemberHistory"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Mother(s) & Father(s) - genetic & other",
          "definition" : "Identifies a parent of the relative.",
          "comment" : "Some individuals may have more than two parents (e.g. genetic vs. adoptive parents).  Even non-genetic relationships can be relevant in terms of genetic exposure.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "player[classCode<LIV, determinerCode=INSTANCE].scopesRole"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:type",
          "path" : "Extension.extension",
          "sliceName" : "type",
          "short" : "mother | father | adoptive mother | etc.",
          "definition" : "Distinguishes between different types of parental relationships with varying granularity to support capturing the relationship \"to the degree known\".",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "code"
          }]
        },
        {
          "id" : "Extension.extension:type.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:type.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:type.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "type",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:type.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ParentRelationshipType"
            }],
            "strength" : "required",
            "description" : "Parental relationship types.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/parent-relationship-codes|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:reference",
          "path" : "Extension.extension",
          "sliceName" : "reference",
          "short" : "Link to parent relative(s)",
          "definition" : "Points to the FamilyMemberHistory record of the relation who is the parent of this relation.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "player.id"
          }]
        },
        {
          "id" : "Extension.extension:reference.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:reference.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:reference.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "reference",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:reference.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Mother(s) & Father(s) - genetic & other",
          "definition" : "Identifies a parent of the relative.",
          "comment" : "Some individuals may have more than two parents (e.g. genetic vs. adoptive parents).  Even non-genetic relationships can be relevant in terms of genetic exposure.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "player[classCode<LIV, determinerCode=INSTANCE].scopesRole"
          }]
        },
        {
          "id" : "Extension.extension:type",
          "path" : "Extension.extension",
          "sliceName" : "type",
          "short" : "mother | father | adoptive mother | etc.",
          "definition" : "Distinguishes between different types of parental relationships with varying granularity to support capturing the relationship \"to the degree known\".",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "code"
          }]
        },
        {
          "id" : "Extension.extension:type.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:type.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "type"
        },
        {
          "id" : "Extension.extension:type.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ParentRelationshipType"
            }],
            "strength" : "required",
            "description" : "Parental relationship types.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/parent-relationship-codes|4.0.1"
          }
        },
        {
          "id" : "Extension.extension:reference",
          "path" : "Extension.extension",
          "sliceName" : "reference",
          "short" : "Link to parent relative(s)",
          "definition" : "Points to the FamilyMemberHistory record of the relation who is the parent of this relation.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "player.id"
          }]
        },
        {
          "id" : "Extension.extension:reference.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:reference.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "reference"
        },
        {
          "id" : "Extension.extension:reference.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory"]
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "elementdefinition-bindingName",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
      "version" : "4.0.1",
      "name" : "bindingName",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "A name that can be used for code generation when generating named enumerations for the binding.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ElementDefinition.binding"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Suggested Name for code generation",
          "definition" : "A name that can be used for code generation when generating named enumerations for the binding.",
          "comment" : "There is no need to use this name for conformance to the specification, but implementers may prefer to match e.g. the schema enumeration name.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Suggested Name for code generation",
          "definition" : "A name that can be used for code generation when generating named enumerations for the binding.",
          "comment" : "There is no need to use this name for conformance to the specification, but implementers may prefer to match e.g. the schema enumeration name.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/narrativeLink",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "narrativeLink",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/narrativeLink",
      "version" : "4.0.1",
      "name" : "Narrative Link",
      "status" : "draft",
      "date" : "2013-12-05",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "A human language representation of the concept (resource/element), as a url that is a reference to a portion of the narrative of a resource ([DomainResource.text](narrative.html)).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Element"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Narrative Link",
          "definition" : "A human language representation of the concept (resource/element), as a url that is a reference to a portion of the narrative of a resource ([DomainResource.text](narrative.html)).",
          "comment" : "It's also possible to link to the resource narrative using the [originalText extension](extension-originaltext.html) which claims that the data is derived from the text provided or linked to.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/narrativeLink",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "url"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Narrative Link",
          "definition" : "A human language representation of the concept (resource/element), as a url that is a reference to a portion of the narrative of a resource ([DomainResource.text](narrative.html)).",
          "comment" : "It's also possible to link to the resource narrative using the [originalText extension](extension-originaltext.html) which claims that the data is derived from the text provided or linked to.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/narrativeLink"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "url"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/match-grade",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "match-grade",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/match-grade",
      "version" : "4.0.1",
      "name" : "match-grade",
      "title" : "Matching Grade",
      "status" : "draft",
      "date" : "2015-03-11",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "Assessment of resource match outcome - how likely this resource is to be a match.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Bundle.entry.search"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "How likely this resource is to be a match",
          "definition" : "Assessment of resource match outcome - how likely this resource is to be a match.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/match-grade",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "MatchGrade"
            }],
            "strength" : "required",
            "description" : "A Master Patient Index (MPI) assessment of whether a candidate patient record is a match or not.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/match-grade|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "How likely this resource is to be a match",
          "definition" : "Assessment of resource match outcome - how likely this resource is to be a match.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/match-grade"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "MatchGrade"
            }],
            "strength" : "required",
            "description" : "A Master Patient Index (MPI) assessment of whether a candidate patient record is a match or not.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/match-grade|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "structuredefinition-fhir-type",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
      "version" : "4.0.1",
      "name" : "fhir-type",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The formal FHIR type of a property - used for the value property of a primitive type (for which there is no type in the FHIR typing system), and Element.id and Extension.url.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ElementDefinition.type.code"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "FHIR type for value property - when a simple system type",
          "definition" : "The formal FHIR type of a property - used for the value property of a primitive type (for which there is no type in the FHIR typing system), and Element.id and Extension.url.",
          "comment" : "This is in effect, compiler magic for the typing system.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "url"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "FHIR type for value property - when a simple system type",
          "definition" : "The formal FHIR type of a property - used for the value property of a primitive type (for which there is no type in the FHIR typing system), and Element.id and Extension.url.",
          "comment" : "This is in effect, compiler magic for the typing system.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "url"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/list-changeBase",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "list-changeBase",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/list-changeBase",
      "version" : "4.0.1",
      "name" : "changeBase",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Reference to the List that a \"change\" list is asserting changes with respect to.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "List"
      }],
      "contextInvariant" : ["mode = 'changes'"],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Base List for changes",
          "definition" : "Reference to the List that a \"change\" list is asserting changes with respect to.",
          "comment" : "Only for mode = changes.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/list-changeBase",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/List"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Base List for changes",
          "definition" : "Reference to the List that a \"change\" list is asserting changes with respect to.",
          "comment" : "Only for mode = changes.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/list-changeBase"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/List"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "familymemberhistory-abatement",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement",
      "version" : "4.0.1",
      "name" : "abatement",
      "title" : "abatement",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "The approximate date, age, or flag indicating that the condition of the family member resolved. The abatement should only be specified if the condition is stated in the positive sense, i.e., the didNotHave flag is false.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "FamilyMemberHistory.condition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "When (or if) the family member's condition resolved",
          "definition" : "The approximate date, age, or flag indicating that the condition of the family member resolved. The abatement should only be specified if the condition is stated in the positive sense, i.e., the didNotHave flag is false.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "date"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "When (or if) the family member's condition resolved",
          "definition" : "The approximate date, age, or flag indicating that the condition of the family member resolved. The abatement should only be specified if the condition is stated in the positive sense, i.e., the didNotHave flag is false.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "date"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-replaces",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-replaces",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-replaces",
      "version" : "4.0.1",
      "name" : "replaces",
      "title" : "Replaces",
      "status" : "draft",
      "date" : "2015-03-02",
      "publisher" : "Health Level Seven, Inc. - OO WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/orders"
        }]
      }],
      "description" : "This observation replaces a previous observation (i.e. a revised value).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Replaces referenced Observation",
          "definition" : "This observation replaces a previous observation (i.e. a revised value).",
          "comment" : "This is an alternative to updating the Observation with a new version with status = 'amended'or 'corrected'.  The target observation is now obsolete.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-replaces",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Observation"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Replaces referenced Observation",
          "definition" : "This observation replaces a previous observation (i.e. a revised value).",
          "comment" : "This is an alternative to updating the Observation with a new version with status = 'amended'or 'corrected'.  The target observation is now obsolete.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-replaces"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Observation"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "structuredefinition-hierarchy",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",
      "version" : "4.0.1",
      "name" : "hierarchy",
      "title" : "Hierarchy",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "For circular references (references back to the same type of resource): whether they are allowed to transitively point back to the same instance (false), or whether the relationship must be a strict one-way hierarchy (true).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ElementDefinition.type"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Whether a circular reference is allowed to (transitively) point back to the same instance",
          "definition" : "For circular references (references back to the same type of resource): whether they are allowed to transitively point back to the same instance (false), or whether the relationship must be a strict one-way hierarchy (true).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Whether a circular reference is allowed to (transitively) point back to the same instance",
          "definition" : "For circular references (references back to the same type of resource): whether they are allowed to transitively point back to the same instance (false), or whether the relationship must be a strict one-way hierarchy (true).",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/codesystem-otherName",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "codesystem-otherName",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/codesystem-otherName",
      "version" : "4.0.1",
      "name" : "otherName",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Human readable names for the codesystem.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CodeSystem"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Alternative names",
          "definition" : "Human readable names for the codesystem.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:name",
          "path" : "Extension.extension",
          "sliceName" : "name",
          "short" : "Human readable, short and specific",
          "definition" : "This name is intended to be human readable, short and as specific as possible and to convey the purpose of the value set.  It is considered to be the name of the value set.",
          "comment" : "This need not be unique. However, some use cases require uniqueness within a namespace and therefore best practice would be to make the name unique.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:name.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:name.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:name.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "name",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:name.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:preferred",
          "path" : "Extension.extension",
          "sliceName" : "preferred",
          "short" : "Which name is preferred for this language",
          "definition" : "Flag that this Name in this Name Language is the preferred human-readable signifier in this language.",
          "comment" : "There may be multiple human readable names in a given language, and this flag indicates which of them is preferred for the given language.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:preferred.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:preferred.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:preferred.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "preferred",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:preferred.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-otherName",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Alternative names",
          "definition" : "Human readable names for the codesystem.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:name",
          "path" : "Extension.extension",
          "sliceName" : "name",
          "short" : "Human readable, short and specific",
          "definition" : "This name is intended to be human readable, short and as specific as possible and to convey the purpose of the value set.  It is considered to be the name of the value set.",
          "comment" : "This need not be unique. However, some use cases require uniqueness within a namespace and therefore best practice would be to make the name unique.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:name.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:name.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "name"
        },
        {
          "id" : "Extension.extension:name.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.extension:preferred",
          "path" : "Extension.extension",
          "sliceName" : "preferred",
          "short" : "Which name is preferred for this language",
          "definition" : "Flag that this Name in this Name Language is the preferred human-readable signifier in this language.",
          "comment" : "There may be multiple human readable names in a given language, and this flag indicates which of them is preferred for the given language.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:preferred.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:preferred.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "preferred"
        },
        {
          "id" : "Extension.extension:preferred.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-otherName"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/openEHR-location",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "openEHR-location",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/openEHR-location",
      "version" : "4.0.1",
      "name" : "location",
      "status" : "draft",
      "date" : "2014-10-09",
      "publisher" : "Health Level Seven, Inc / openEHR project",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org"
        }]
      }],
      "description" : "The anatomical location / body site(s) where the symptoms manifested.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AllergyIntolerance.reaction"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Body site of manifestations",
          "definition" : "The anatomical location / body site(s) where the symptoms manifested.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/openEHR-location",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "BodySite"
            }],
            "strength" : "extensible",
            "description" : "Codes describing anatomical locations. May include laterality.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/body-site"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Body site of manifestations",
          "definition" : "The anatomical location / body site(s) where the symptoms manifested.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/openEHR-location"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "BodySite"
            }],
            "strength" : "extensible",
            "description" : "Codes describing anatomical locations. May include laterality.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/body-site"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/operationdefinition-profile",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "operationdefinition-profile",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/operationdefinition-profile",
      "version" : "4.0.1",
      "name" : "profile",
      "title" : "Profile",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "Identifies a profile structure or implementation Guide that applies to the datatype this element refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the type SHALL conform to at least one profile defined in the implementation guide.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "OperationDefinition.parameter"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Profiles (StructureDefinition or IG) - one must apply",
          "definition" : "Identifies a profile structure or implementation Guide that applies to the datatype this element refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the type SHALL conform to at least one profile defined in the implementation guide.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/operationdefinition-profile",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Profiles (StructureDefinition or IG) - one must apply",
          "definition" : "Identifies a profile structure or implementation Guide that applies to the datatype this element refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the type SHALL conform to at least one profile defined in the implementation guide.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/operationdefinition-profile"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "auditevent-NumberOfInstances",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "sec"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances",
      "version" : "4.0.1",
      "name" : "NumberOfInstances",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "Health Level Seven, Inc. - Security WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/security/index.cfm"
        }]
      }],
      "description" : "The Number of SOP Instances referred to by this entity.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "dicom",
        "uri" : "http://nema.org/dicom",
        "name" : "DICOM Tag Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AuditEvent.entity"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Number of SOP Instances referred to by this entity",
          "definition" : "The Number of SOP Instances referred to by this entity.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "dicom",
            "map" : "NumberOfInstances"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "integer"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Number of SOP Instances referred to by this entity",
          "definition" : "The Number of SOP Instances referred to by this entity.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "dicom",
            "map" : "NumberOfInstances"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "integer"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-deliveryAddressLine",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine",
      "version" : "4.0.1",
      "name" : "ADXP-deliveryAddressLine",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "A delivery address line is frequently used instead of breaking out delivery mode, delivery installation, etc. An address generally has only a delivery address line or a street address line, but not both.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address.line"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "deliveryAddressLine",
          "definition" : "A delivery address line is frequently used instead of breaking out delivery mode, delivery installation, etc. An address generally has only a delivery address line or a street address line, but not both.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=DAL]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "deliveryAddressLine",
          "definition" : "A delivery address line is frequently used instead of breaking out delivery mode, delivery installation, etc. An address generally has only a delivery address line or a street address line, but not both.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=DAL]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-sequelTo",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-sequelTo",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-sequelTo",
      "version" : "4.0.1",
      "name" : "sequelTo",
      "title" : "Sequel To",
      "status" : "draft",
      "date" : "2015-03-02",
      "publisher" : "Health Level Seven, Inc. - OO WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/orders"
        }]
      }],
      "description" : "This observation follows the target observation (e.g. timed tests such as Glucose Tolerance Test).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Sequel to referenced Observation",
          "definition" : "This observation follows the target observation (e.g. timed tests such as Glucose Tolerance Test).",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-sequelTo",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Observation"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Sequel to referenced Observation",
          "definition" : "This observation follows the target observation (e.g. timed tests such as Glucose Tolerance Test).",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-sequelTo"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Observation"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "capabilitystatement-search-parameter-combination",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination",
      "version" : "4.0.1",
      "name" : "search-parameter-combination",
      "title" : "Search Parameter Combination",
      "status" : "draft",
      "date" : "2014-04-12",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fhir.htm"
        }]
      }],
      "description" : "This extension defines a possible search parameter combination,  by listing a set of search parameters and indicating whether they are required or optional. If a search combination is specified, clients should expect that they must submit a search that meets one of the required combinations or the search will be unsuccessful. If multiple search parameter combinations are specified, a client may pick between them, and supply the minimal required parameters for any of the combinations.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CapabilityStatement.rest.resource"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "An allowable parameter combination",
          "definition" : "This extension defines a possible search parameter combination,  by listing a set of search parameters and indicating whether they are required or optional. If a search combination is specified, clients should expect that they must submit a search that meets one of the required combinations or the search will be unsuccessful. If multiple search parameter combinations are specified, a client may pick between them, and supply the minimal required parameters for any of the combinations.",
          "comment" : "For example, on the Patient Resource  you could use this to state support for searching by Patient.name and Patient.gender is required.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:required",
          "path" : "Extension.extension",
          "sliceName" : "required",
          "short" : "A required search parameter name",
          "definition" : "A search parameter name in the combination which is required.",
          "min" : 1,
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:required.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:required.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:required.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "required",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:required.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:optional",
          "path" : "Extension.extension",
          "sliceName" : "optional",
          "short" : "An optional search parameter name",
          "definition" : "A search parameter name in the combination which is optional.",
          "comment" : "If a defined parameter is not listed as a required or optional parameter, the implication is that the parameter is not supported with this combination. Servers may ignore It, though some may return an error if it is used.",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:optional.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:optional.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:optional.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "optional",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:optional.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "An allowable parameter combination",
          "definition" : "This extension defines a possible search parameter combination,  by listing a set of search parameters and indicating whether they are required or optional. If a search combination is specified, clients should expect that they must submit a search that meets one of the required combinations or the search will be unsuccessful. If multiple search parameter combinations are specified, a client may pick between them, and supply the minimal required parameters for any of the combinations.",
          "comment" : "For example, on the Patient Resource  you could use this to state support for searching by Patient.name and Patient.gender is required.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:required",
          "path" : "Extension.extension",
          "sliceName" : "required",
          "short" : "A required search parameter name",
          "definition" : "A search parameter name in the combination which is required.",
          "min" : 1,
          "max" : "*",
          "type" : [{
            "code" : "Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:required.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:required.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "required"
        },
        {
          "id" : "Extension.extension:required.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.extension:optional",
          "path" : "Extension.extension",
          "sliceName" : "optional",
          "short" : "An optional search parameter name",
          "definition" : "A search parameter name in the combination which is optional.",
          "comment" : "If a defined parameter is not listed as a required or optional parameter, the implication is that the parameter is not supported with this combination. Servers may ignore It, though some may return an error if it is used.",
          "min" : 0,
          "max" : "*",
          "type" : [{
            "code" : "Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:optional.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:optional.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "optional"
        },
        {
          "id" : "Extension.extension:optional.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "diagnosticReport-extends",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends",
      "version" : "4.0.1",
      "name" : "extends",
      "title" : "Extends",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "The report references related (\"sibling\") reports.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "DiagnosticReport"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Related reports",
          "definition" : "The report references related (\"sibling\") reports.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/DiagnosticReport"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Related reports",
          "definition" : "The report references related (\"sibling\") reports.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/DiagnosticReport"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaire-supportLink",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink",
      "version" : "4.0.1",
      "name" : "supportLink",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "A URL that resolves to additional supporting information or guidance related to the question.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.item"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Supporting information",
          "definition" : "A URL that resolves to additional supporting information or guidance related to the question.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Supporting information",
          "definition" : "A URL that resolves to additional supporting information or guidance related to the question.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqf-initiatingOrganization",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization",
      "version" : "4.0.1",
      "name" : "initiatingOrganization",
      "title" : "initiatingOrganization",
      "status" : "draft",
      "date" : "2015-05-30",
      "publisher" : "Health Level Seven, Inc. - CDS WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/dss"
        }]
      }],
      "description" : "The organization initiating the request.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Basic"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Extension",
          "definition" : "The organization initiating the request.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "definition" : "The organization initiating the request.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/auditevent-Instance",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "auditevent-Instance",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "sec"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/auditevent-Instance",
      "version" : "4.0.1",
      "name" : "Instance",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "Health Level Seven, Inc. - Security WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/security/index.cfm"
        }]
      }],
      "description" : "Th SOP Instance UID values.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "dicom",
        "uri" : "http://nema.org/dicom",
        "name" : "DICOM Tag Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AuditEvent.entity"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "SOP Instance UID value",
          "definition" : "Th SOP Instance UID values.",
          "comment" : "Including the list of SOP Instances can create a large audit message. Under most circumstances, the list of SOP Instance UIDs is not needed for audit purposes.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "dicom",
            "map" : "Instance"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/auditevent-Instance",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Identifier"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "SOP Instance UID value",
          "definition" : "Th SOP Instance UID values.",
          "comment" : "Including the list of SOP Instances can create a large audit message. Under most circumstances, the list of SOP Instance UIDs is not needed for audit purposes.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "dicom",
            "map" : "Instance"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/auditevent-Instance"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Identifier"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "structuredefinition-fmm",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "version" : "4.0.1",
      "name" : "fmm",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The FMM level assigned to the artifact.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Element"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "FMM Level",
          "definition" : "The FMM level assigned to the artifact.",
          "comment" : "Though this is defined for resources, it can be used for any artifact.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "integer"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "FMM Level",
          "definition" : "The FMM level assigned to the artifact.",
          "comment" : "Though this is defined for resources, it can be used for any artifact.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "integer"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqf-expression",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqf-expression",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-expression",
      "version" : "4.0.1",
      "name" : "expression",
      "title" : "expression",
      "status" : "draft",
      "date" : "2015-05-30",
      "publisher" : "Health Level Seven, Inc. - CDS WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/dss"
        }]
      }],
      "description" : "An expression that, when evaluated, provides the value for the element on which it appears.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Element"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "An dynamic expression",
          "definition" : "An expression that, when evaluated, provides the value for the element on which it appears.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-expression",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Expression"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "An dynamic expression",
          "definition" : "An expression that, when evaluated, provides the value for the element on which it appears.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-expression"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Expression"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "capabilitystatement-websocket",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket",
      "version" : "4.0.1",
      "name" : "websocket",
      "title" : "WebSocket",
      "status" : "draft",
      "date" : "2014-04-12",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fhir.htm"
        }]
      }],
      "description" : "Where the server provides its web socket end-point.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CapabilityStatement.rest"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Where server websocket end point is found",
          "definition" : "Where the server provides its web socket end-point.",
          "comment" : "Used for web-socket based subscriptions.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Where server websocket end point is found",
          "definition" : "Where the server provides its web socket end-point.",
          "comment" : "Used for web-socket based subscriptions.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-unclosed",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-unclosed",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-unclosed",
      "version" : "4.0.1",
      "name" : "unclosed",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Marks that the expansion is  incomplete, and values other than those listed may be valid. This may be used because post-coordinated codes are allowed, and no practical expansion can be produced.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet.expansion"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The expansion is incomplete (perhaps because of post-coordination)",
          "definition" : "Marks that the expansion is  incomplete, and values other than those listed may be valid. This may be used because post-coordinated codes are allowed, and no practical expansion can be produced.",
          "comment" : "This extension exists to allow for definition and use of value sets that are currently unbounded, including those for which it may always be impractical to set bounds. This can be done to allow additional learning in this space, such as exploring poorly understsood consequences of alternatives.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-unclosed",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The expansion is incomplete (perhaps because of post-coordination)",
          "definition" : "Marks that the expansion is  incomplete, and values other than those listed may be valid. This may be used because post-coordinated codes are allowed, and no practical expansion can be produced.",
          "comment" : "This extension exists to allow for definition and use of value sets that are currently unbounded, including those for which it may always be impractical to set bounds. This can be done to allow additional learning in this space, such as exploring poorly understsood consequences of alternatives.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-unclosed"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "condition-occurredFollowing",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing",
      "version" : "4.0.1",
      "name" : "occurredFollowing",
      "title" : "occurredFollowing",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "Further conditions, problems, diagnoses, procedures or events or the substance that preceded this Condition.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Condition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Precedent for this Condition",
          "definition" : "Further conditions, problems, diagnoses, procedures or events or the substance that preceded this Condition.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : ".typeCode"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          },
          {
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition",
            "http://hl7.org/fhir/StructureDefinition/Procedure",
            "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
            "http://hl7.org/fhir/StructureDefinition/Immunization",
            "http://hl7.org/fhir/StructureDefinition/MedicationStatement"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConditionPredecessor"
            }],
            "strength" : "example",
            "description" : "Codes that describe activities or observations that occurred prior to the condition.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/condition-predecessor"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Precedent for this Condition",
          "definition" : "Further conditions, problems, diagnoses, procedures or events or the substance that preceded this Condition.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : ".typeCode"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          },
          {
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition",
            "http://hl7.org/fhir/StructureDefinition/Procedure",
            "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
            "http://hl7.org/fhir/StructureDefinition/Immunization",
            "http://hl7.org/fhir/StructureDefinition/MedicationStatement"]
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConditionPredecessor"
            }],
            "strength" : "example",
            "description" : "Codes that describe activities or observations that occurred prior to the condition.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/condition-predecessor"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaire-itemControl",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
      "version" : "4.0.1",
      "name" : "itemControl",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "The type of data entry control or structure that should be used to render the item.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.item"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "E.g. Fly-over, Table, Checkbox, Combo-box, Lookup, etc.",
          "definition" : "The type of data entry control or structure that should be used to render the item.",
          "comment" : "Different controls may be appropriate for different item types.  It is up to the system rendering a questionnaire as to what controls it will support and for which data types.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ItemControl"
            }],
            "strength" : "extensible",
            "description" : "User interface controls or widgets used for questionnaire items.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/questionnaire-item-control"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "E.g. Fly-over, Table, Checkbox, Combo-box, Lookup, etc.",
          "definition" : "The type of data entry control or structure that should be used to render the item.",
          "comment" : "Different controls may be appropriate for different item types.  It is up to the system rendering a questionnaire as to what controls it will support and for which data types.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ItemControl"
            }],
            "strength" : "extensible",
            "description" : "User interface controls or widgets used for questionnaire items.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/questionnaire-item-control"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "openEHR-exposureDuration",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration",
      "version" : "4.0.1",
      "name" : "exposureDuration",
      "status" : "draft",
      "date" : "2014-10-09",
      "publisher" : "Health Level Seven, Inc / openEHR project",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org"
        }]
      }],
      "description" : "The amount of time the individual was exposed to the Substance.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AllergyIntolerance.reaction"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Amount of time individual was exposed to Substance",
          "definition" : "The amount of time the individual was exposed to the Substance.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Duration"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Amount of time individual was exposed to Substance",
          "definition" : "The amount of time the individual was exposed to the Substance.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Duration"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "allergyintolerance-assertedDate",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate",
      "version" : "4.0.1",
      "name" : "assertedDate",
      "title" : "assertedDate",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "The date on which the existence of the AllergyIntolerance was first asserted or acknowledged.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AllergyIntolerance"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Date the allergy or intolerance was first asserted",
          "definition" : "The date on which the existence of the AllergyIntolerance was first asserted or acknowledged.",
          "comment" : "The assertedDate is in the context of the recording practitioner and might not be the same as the recordedDate.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "dateTime"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Date the allergy or intolerance was first asserted",
          "definition" : "The date on which the existence of the AllergyIntolerance was first asserted or acknowledged.",
          "comment" : "The assertedDate is in the context of the recording practitioner and might not be the same as the recordedDate.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "dateTime"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-preferred",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-preferred",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-preferred",
      "version" : "4.0.1",
      "name" : "preferred",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "Flag denoting whether parent item is preferred - e.g., a preferred address or telephone number.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Element"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Preferred",
          "definition" : "Flag denoting whether parent item is preferred - e.g., a preferred address or telephone number.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-preferred",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Preferred",
          "definition" : "Flag denoting whether parent item is preferred - e.g., a preferred address or telephone number.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-preferred"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "elementdefinition-bestpractice",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
      "version" : "4.0.1",
      "name" : "bestpractice",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "Mark that an invariant represents 'best practice' rule - a rule that implementers may choose to enforce at error level in some or all circumstances.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ElementDefinition.constraint"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Mark a warning invariant as 'best practice'",
          "definition" : "Mark that an invariant represents 'best practice' rule - a rule that implementers may choose to enforce at error level in some or all circumstances.",
          "comment" : "Validators may/should offer implementers the choice to enforce invariants labeled as 'best practice' as errors not warnings.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF territory)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          },
          {
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConformanceUseContext"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "extensible",
            "description" : "Indicates the countries, regions, disciplines and other aspects of use within which this artifact is targeted for use.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/use-context"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Mark a warning invariant as 'best practice'",
          "definition" : "Mark that an invariant represents 'best practice' rule - a rule that implementers may choose to enforce at error level in some or all circumstances.",
          "comment" : "Validators may/should offer implementers the choice to enforce invariants labeled as 'best practice' as errors not warnings.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF territory)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          },
          {
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConformanceUseContext"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "extensible",
            "description" : "Indicates the countries, regions, disciplines and other aspects of use within which this artifact is targeted for use.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/use-context"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaire-constraint",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint",
      "version" : "4.0.1",
      "name" : "constraint",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "An invariant that must be satisfied before responses to the questionnaire can be considered \"complete\".",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.item"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Constraint",
          "definition" : "An invariant that must be satisfied before responses to the questionnaire can be considered \"complete\".",
          "comment" : "This maps to the ElementDefinition.constraint element.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:key",
          "path" : "Extension.extension",
          "sliceName" : "key",
          "short" : "Unique identifier",
          "definition" : "Unique id for the constraint within the questionnaire.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:key.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:key.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:key.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "key",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:key.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "id"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:requirements",
          "path" : "Extension.extension",
          "sliceName" : "requirements",
          "short" : "Why needed",
          "definition" : "An explanation of why this extension is required (for documentation purposes).",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:requirements.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:requirements.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:requirements.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "requirements",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:requirements.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:severity",
          "path" : "Extension.extension",
          "sliceName" : "severity",
          "short" : "error|warning",
          "definition" : "Indicates how serious violating the invariant is.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:severity.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:severity.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:severity.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "severity",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:severity.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConstraintSeverity"
            }],
            "strength" : "required",
            "description" : "How important the invariant is.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/constraint-severity|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:expression",
          "path" : "Extension.extension",
          "sliceName" : "expression",
          "short" : "Formal rule",
          "definition" : "The FHIRPath expression of the rule for computable interpretation.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:expression.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:expression.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:expression.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "expression",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:expression.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:human",
          "path" : "Extension.extension",
          "sliceName" : "human",
          "short" : "Human-readable rule",
          "definition" : "A free text expression of the rule to display to the user if the rule is violated.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:human.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:human.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:human.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "human",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:human.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:location",
          "path" : "Extension.extension",
          "sliceName" : "location",
          "short" : "Relative path to elements",
          "definition" : "Relative paths to the questions this rule is enforced against.",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:location.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:location.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:location.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "location",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:location.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Constraint",
          "definition" : "An invariant that must be satisfied before responses to the questionnaire can be considered \"complete\".",
          "comment" : "This maps to the ElementDefinition.constraint element.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension:key",
          "path" : "Extension.extension",
          "sliceName" : "key",
          "short" : "Unique identifier",
          "definition" : "Unique id for the constraint within the questionnaire.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:key.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:key.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "key"
        },
        {
          "id" : "Extension.extension:key.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "id"
          }]
        },
        {
          "id" : "Extension.extension:requirements",
          "path" : "Extension.extension",
          "sliceName" : "requirements",
          "short" : "Why needed",
          "definition" : "An explanation of why this extension is required (for documentation purposes).",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:requirements.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:requirements.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "requirements"
        },
        {
          "id" : "Extension.extension:requirements.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.extension:severity",
          "path" : "Extension.extension",
          "sliceName" : "severity",
          "short" : "error|warning",
          "definition" : "Indicates how serious violating the invariant is.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:severity.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:severity.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "severity"
        },
        {
          "id" : "Extension.extension:severity.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConstraintSeverity"
            }],
            "strength" : "required",
            "description" : "How important the invariant is.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/constraint-severity|4.0.1"
          }
        },
        {
          "id" : "Extension.extension:expression",
          "path" : "Extension.extension",
          "sliceName" : "expression",
          "short" : "Formal rule",
          "definition" : "The FHIRPath expression of the rule for computable interpretation.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:expression.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:expression.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "expression"
        },
        {
          "id" : "Extension.extension:expression.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.extension:human",
          "path" : "Extension.extension",
          "sliceName" : "human",
          "short" : "Human-readable rule",
          "definition" : "A free text expression of the rule to display to the user if the rule is violated.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:human.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:human.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "human"
        },
        {
          "id" : "Extension.extension:human.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.extension:location",
          "path" : "Extension.extension",
          "sliceName" : "location",
          "short" : "Relative path to elements",
          "definition" : "Relative paths to the questions this rule is enforced against.",
          "min" : 0,
          "max" : "*",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:location.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:location.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "location"
        },
        {
          "id" : "Extension.extension:location.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "encounter-modeOfArrival",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival",
      "version" : "4.0.1",
      "name" : "modeOfArrival",
      "title" : "modeOfArrival",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "Identifies whether a patient arrives at the reporting facility via ambulance and the type of ambulance that was used.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Encounter"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The method of arrival of the patient into the facility",
          "definition" : "Identifies whether a patient arrives at the reporting facility via ambulance and the type of ambulance that was used.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Coding"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "modeOfArrival"
            }],
            "strength" : "example",
            "description" : "The method that the patient arrived at the facility.",
            "valueSet" : "http://terminology.hl7.org/ValueSet/v2-0430"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The method of arrival of the patient into the facility",
          "definition" : "Identifies whether a patient arrives at the reporting facility via ambulance and the type of ambulance that was used.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Coding"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "modeOfArrival"
            }],
            "strength" : "example",
            "description" : "The method that the patient arrived at the facility.",
            "valueSet" : "http://terminology.hl7.org/ValueSet/v2-0430"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-trusted-expansion",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion",
      "version" : "4.0.1",
      "name" : "trusted-expansion",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Indicates an authoritative source for performing value set expansions.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Reference to a trusted expansion",
          "definition" : "Indicates an authoritative source for performing value set expansions.",
          "comment" : "If the designated \"authoritative source\" (as specified in the valueset-authoritativeSource extension, if present) is unable to provide a valid expansion, this extension indicates an alternate authoritative source where the value set expansion may be obtained.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Reference to a trusted expansion",
          "definition" : "Indicates an authoritative source for performing value set expansions.",
          "comment" : "If the designated \"authoritative source\" (as specified in the valueset-authoritativeSource extension, if present) is unable to provide a valid expansion, this extension indicates an alternate authoritative source where the value set expansion may be obtained.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "structuredefinition-standards-status",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "version" : "4.0.1",
      "name" : "standards-status",
      "title" : "Standards Status",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The Current HL7 ballot/Standards status of this artifact.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Element"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "HL7 Ballot/Standards status of artifact",
          "definition" : "The Current HL7 ballot/Standards status of this artifact.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "StandardsStatus"
            }],
            "strength" : "required",
            "description" : "HL7 Ballot/Standards status of artifact.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/standards-status|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "HL7 Ballot/Standards status of artifact",
          "definition" : "The Current HL7 ballot/Standards status of this artifact.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "StandardsStatus"
            }],
            "strength" : "required",
            "description" : "HL7 Ballot/Standards status of artifact.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/standards-status|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "resource-lastReviewDate",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate",
      "version" : "4.0.1",
      "name" : "lastReviewDate",
      "title" : "Last Review Date",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "StructureDefinition"
      },
      {
        "type" : "element",
        "expression" : "StructureMap"
      },
      {
        "type" : "element",
        "expression" : "CapabilityStatement"
      },
      {
        "type" : "element",
        "expression" : "OperationDefinition"
      },
      {
        "type" : "element",
        "expression" : "SearchParameter"
      },
      {
        "type" : "element",
        "expression" : "CompartmentDefinition"
      },
      {
        "type" : "element",
        "expression" : "ImplementationGuide"
      },
      {
        "type" : "element",
        "expression" : "CodeSystem"
      },
      {
        "type" : "element",
        "expression" : "ValueSet"
      },
      {
        "type" : "element",
        "expression" : "ConceptMap"
      },
      {
        "type" : "element",
        "expression" : "NamingSystem"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Last review date for the resource",
          "definition" : "The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date.",
          "comment" : "If specified, this is usually after the approval date.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "date"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Last review date for the resource",
          "definition" : "The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date.",
          "comment" : "If specified, this is usually after the approval date.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "date"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-geneticsGene",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene",
      "version" : "4.0.1",
      "name" : "Gene",
      "status" : "draft",
      "date" : "2016-03-14",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "A region (or regions) that includes all of the sequence elements necessary to encode a functional transcript. A gene may include regulatory regions, transcribed regions and/or other functional sequence regions ([SO:0000704](http://www.sequenceontology.org/browser/current_svn/term/SO:0000704)). This element is the official gene symbol approved by the HGNC, which is a short abbreviated form of the gene name ([HGNC](http://www.genenames.org)). LOINC Code: ([48018-6](http://loinc.org/48018-6)).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "HGNC gene symbol",
          "definition" : "A region (or regions) that includes all of the sequence elements necessary to encode a functional transcript. A gene may include regulatory regions, transcribed regions and/or other functional sequence regions ([SO:0000704](http://www.sequenceontology.org/browser/current_svn/term/SO:0000704)). This element is the official gene symbol approved by the HGNC, which is a short abbreviated form of the gene name ([HGNC](http://www.genenames.org)). LOINC Code: ([48018-6](http://loinc.org/48018-6)).",
          "comment" : "Other systems or genes not defined in HGNC (e.g., BCR-ABL fusion gene) can be added by using a local extension.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "HGNC-geneIdentifiers"
            }],
            "strength" : "preferred",
            "description" : "International curated set of gene identifiers.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/genenames"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "HGNC gene symbol",
          "definition" : "A region (or regions) that includes all of the sequence elements necessary to encode a functional transcript. A gene may include regulatory regions, transcribed regions and/or other functional sequence regions ([SO:0000704](http://www.sequenceontology.org/browser/current_svn/term/SO:0000704)). This element is the official gene symbol approved by the HGNC, which is a short abbreviated form of the gene name ([HGNC](http://www.genenames.org)). LOINC Code: ([48018-6](http://loinc.org/48018-6)).",
          "comment" : "Other systems or genes not defined in HGNC (e.g., BCR-ABL fusion gene) can be added by using a local extension.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "HGNC-geneIdentifiers"
            }],
            "strength" : "preferred",
            "description" : "International curated set of gene identifiers.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/genenames"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/codesystem-author",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "codesystem-author",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/codesystem-author",
      "version" : "4.0.1",
      "name" : "author",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "User or Org actually involved in creating the value set content.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CodeSystem"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "User or Org actually involved in creating the value set content",
          "definition" : "User or Org actually involved in creating the value set content.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-author",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "User or Org actually involved in creating the value set content",
          "definition" : "User or Org actually involved in creating the value set content.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-author"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqf-receivingPerson",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson",
      "version" : "4.0.1",
      "name" : "receivingPerson",
      "title" : "receivingPerson",
      "status" : "draft",
      "date" : "2015-05-30",
      "publisher" : "Health Level Seven, Inc. - CDS WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/dss"
        }]
      }],
      "description" : "The person in the receiving organization that will receive the response.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Basic"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Extension",
          "definition" : "The person in the receiving organization that will receive the response.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Person",
            "http://hl7.org/fhir/StructureDefinition/Patient",
            "http://hl7.org/fhir/StructureDefinition/Practitioner",
            "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "definition" : "The person in the receiving organization that will receive the response.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Person",
            "http://hl7.org/fhir/StructureDefinition/Patient",
            "http://hl7.org/fhir/StructureDefinition/Practitioner",
            "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/request-performerOrder",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "request-performerOrder",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/request-performerOrder",
      "version" : "4.0.1",
      "name" : "performerOrder",
      "title" : "Performer Order",
      "status" : "draft",
      "date" : "2017-12-06",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fwg"
        }]
      }],
      "description" : "Identifies the relative preference of alternative performers when the request lists multiple performers.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ServiceRequest.performer"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Performer Order",
          "definition" : "Identifies the relative preference of alternative performers when the request lists multiple performers.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/request-performerOrder",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "integer"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Performer Order",
          "definition" : "Identifies the relative preference of alternative performers when the request lists multiple performers.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/request-performerOrder"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "integer"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/procedure-causedBy",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "procedure-causedBy",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/procedure-causedBy",
      "version" : "4.0.1",
      "name" : "causedBy",
      "title" : "causedBy",
      "status" : "draft",
      "date" : "2015-02-12",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "This procedure is because of the related item.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Procedure"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Related item that caused this procedure.",
          "definition" : "This procedure is because of the related item.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : ".target"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/procedure-causedBy",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
            "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
            "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory",
            "http://hl7.org/fhir/StructureDefinition/ImagingStudy",
            "http://hl7.org/fhir/StructureDefinition/Immunization",
            "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation",
            "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
            "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
            "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
            "http://hl7.org/fhir/StructureDefinition/Observation",
            "http://hl7.org/fhir/StructureDefinition/Procedure"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Related item that caused this procedure.",
          "definition" : "This procedure is because of the related item.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : ".target"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/procedure-causedBy"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
            "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
            "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory",
            "http://hl7.org/fhir/StructureDefinition/ImagingStudy",
            "http://hl7.org/fhir/StructureDefinition/Immunization",
            "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation",
            "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
            "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
            "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
            "http://hl7.org/fhir/StructureDefinition/Observation",
            "http://hl7.org/fhir/StructureDefinition/Procedure"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-concept-comments",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-concept-comments",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-concept-comments",
      "version" : "4.0.1",
      "name" : "concept-comments",
      "title" : "Comment",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "A comment that explains how this code is used in this context (where the value set is expected to be used).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet.compose.include.concept"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Comment about the use of this code in this context",
          "definition" : "A comment that explains how this code is used in this context (where the value set is expected to be used).",
          "comment" : "This is used in various FHIR value sets to make comments on how particular codes are used when the formal definition is a little abstract or vague, but it's not clear whether it belongs in the actual value set resource.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-concept-comments",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Comment about the use of this code in this context",
          "definition" : "A comment that explains how this code is used in this context (where the value set is expected to be used).",
          "comment" : "This is used in various FHIR value sets to make comments on how particular codes are used when the formal definition is a little abstract or vague, but it's not clear whether it belongs in the actual value set resource.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-concept-comments"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-focusCode",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-focusCode",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-focusCode",
      "version" : "4.0.1",
      "name" : "focusCode",
      "title" : "Focal Subject Code",
      "status" : "draft",
      "date" : "2015-03-02",
      "publisher" : "Health Level Seven, Inc. - OO WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/orders"
        }]
      }],
      "description" : "A code representing the  focus of an observation when the focus is not the patient of record.  In other words, the focus of the observation is different from `Observation.subject`.   An example use case would be using the *Observation* resource to capture whether the mother is trained to change her child's tracheostomy tube.  In this example, the child is the patient of record and the mother is focal subject referenced using this extension.  Other example focal subjects include spouses, related persons, feti, or  donors.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Focus Code",
          "definition" : "A code representing the  focus of an observation when the focus is not the patient of record.  In other words, the focus of the observation is different from `Observation.subject`.   An example use case would be using the *Observation* resource to capture whether the mother is trained to change her child's tracheostomy tube.  In this example, the child is the patient of record and the mother is focal subject referenced using this extension.  Other example focal subjects include spouses, related persons, feti, or  donors.",
          "comment" : "Use Observation.specimen element to describe the specimen.  Only used if not implicit in code found in Observation.code.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-focusCode",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "FocusCode"
            }],
            "strength" : "example",
            "description" : "Codes for observation targets.  Derived from both HL7 v3 and SNOMED CT code systems.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/focal-subject"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Focus Code",
          "definition" : "A code representing the  focus of an observation when the focus is not the patient of record.  In other words, the focus of the observation is different from `Observation.subject`.   An example use case would be using the *Observation* resource to capture whether the mother is trained to change her child's tracheostomy tube.  In this example, the child is the patient of record and the mother is focal subject referenced using this extension.  Other example focal subjects include spouses, related persons, feti, or  donors.",
          "comment" : "Use Observation.specimen element to describe the specimen.  Only used if not implicit in code found in Observation.code.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-focusCode"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "FocusCode"
            }],
            "strength" : "example",
            "description" : "Codes for observation targets.  Derived from both HL7 v3 and SNOMED CT code systems.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/focal-subject"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/minLength",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "minLength",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/minLength",
      "version" : "4.0.1",
      "name" : "minLength",
      "status" : "draft",
      "date" : "2014-04-27",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "The minimum number of characters that must be present in the simple data type to be considered a \"valid\" instance.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "ElementDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "At least this many characters",
          "definition" : "The minimum number of characters that must be present in the simple data type to be considered a \"valid\" instance.",
          "comment" : "For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/minLength",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "integer"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "At least this many characters",
          "definition" : "The minimum number of characters that must be present in the simple data type to be considered a \"valid\" instance.",
          "comment" : "For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/minLength"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "integer"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/patient-relatedPerson",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "patient-relatedPerson",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/patient-relatedPerson",
      "version" : "4.0.1",
      "name" : "relatedPerson",
      "title" : "relatedPerson",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "In some cases a Patient.contact will also be populated as a RelatedPerson resource. This linkage permits the linkage between the 2 resources to be able to accurately indicate a representation of the same individual, and updating details between could be appropriate.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Patient.contact"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "This contact may have further details in this RelatedPerson",
          "definition" : "In some cases a Patient.contact will also be populated as a RelatedPerson resource. This linkage permits the linkage between the 2 resources to be able to accurately indicate a representation of the same individual, and updating details between could be appropriate.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-relatedPerson",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "This contact may have further details in this RelatedPerson",
          "definition" : "In some cases a Patient.contact will also be populated as a RelatedPerson resource. This linkage permits the linkage between the 2 resources to be able to accurately indicate a representation of the same individual, and updating details between could be appropriate.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-relatedPerson"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-delimiter",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter",
      "version" : "4.0.1",
      "name" : "ADXP-delimiter",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "Delimiters are printed without framing white space. If no value component is provided, the delimiter appears as a line break.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address.line"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "delimiter",
          "definition" : "Delimiters are printed without framing white space. If no value component is provided, the delimiter appears as a line break.",
          "comment" : "This really has no rationale for use in FHIR.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=DEL]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "delimiter",
          "definition" : "Delimiters are printed without framing white space. If no value component is provided, the delimiter appears as a line break.",
          "comment" : "This really has no rationale for use in FHIR.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=DEL]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaire-fhirType",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
      "version" : "4.0.1",
      "name" : "fhirType",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "For questionnaires generated from FHIR profiles, indicates the FHIR data type or resource type that corresponds to this node.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.item"
      }],
      "contextInvariant" : ["type!='display'"],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The underlying FHIR data type",
          "definition" : "For questionnaires generated from FHIR profiles, indicates the FHIR data type or resource type that corresponds to this node.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The underlying FHIR data type",
          "definition" : "For questionnaires generated from FHIR profiles, indicates the FHIR data type or resource type that corresponds to this node.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-buildingNumberSuffix",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix",
      "version" : "4.0.1",
      "name" : "ADXP-buildingNumberSuffix",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "Any alphabetic character, fraction or other text that may appear after the numeric portion of a building number.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address.line"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "buildingNumberSuffix",
          "definition" : "Any alphabetic character, fraction or other text that may appear after the numeric portion of a building number.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=BNS]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "buildingNumberSuffix",
          "definition" : "Any alphabetic character, fraction or other text that may appear after the numeric portion of a building number.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=BNS]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "elementdefinition-inheritedExtensibleValueSet",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet",
      "version" : "4.0.1",
      "name" : "inheritedExtensibleValueSet",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "A reference to an extensible value set specified in a parent profie in order to allow a conformance checking tool to validate that a code not in the extensible value set of the profile is not violating rules defined by parent profile bindings.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ElementDefinition.binding"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "An extensible Value Set specified in a parent profile",
          "definition" : "A reference to an extensible value set specified in a parent profie in order to allow a conformance checking tool to validate that a code not in the extensible value set of the profile is not violating rules defined by parent profile bindings.",
          "comment" : "This extension is only needed where the binding strength is 'extensible', the parents are also 'extensible'. This allows a validator to work around the fact that restricting extensible value sets in child profiles loses constraints out of the parent profiles, (e.g. codes to be used when appropriate).",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF territory)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          },
          {
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ValueSet"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "An extensible Value Set specified in a parent profile",
          "definition" : "A reference to an extensible value set specified in a parent profie in order to allow a conformance checking tool to validate that a code not in the extensible value set of the profile is not violating rules defined by parent profile bindings.",
          "comment" : "This extension is only needed where the binding strength is 'extensible', the parents are also 'extensible'. This allows a validator to work around the fact that restricting extensible value sets in child profiles loses constraints out of the parent profiles, (e.g. codes to be used when appropriate).",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF territory)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          },
          {
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ValueSet"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-extensible",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-extensible",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-extensible",
      "version" : "4.0.1",
      "name" : "extensible",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Whether this is intended to be used with an extensible binding or not.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Intended to be used with an extensible binding (e.g. 'open')",
          "definition" : "Whether this is intended to be used with an extensible binding or not.",
          "comment" : "Value sets intended for extensible bindings often are more selective about the concepts they include.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-extensible",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Intended to be used with an extensible binding (e.g. 'open')",
          "definition" : "Whether this is intended to be used with an extensible binding or not.",
          "comment" : "Value sets intended for extensible bindings often are more selective about the concepts they include.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-extensible"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "patient-adoptionInfo",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo",
      "version" : "4.0.1",
      "name" : "adoptionInfo",
      "title" : "adoptionInfo",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Code indication the adoption status of the patient.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Patient"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The adoption status of the patient",
          "definition" : "Code indication the adoption status of the patient.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The adoption status of the patient",
          "definition" : "Code indication the adoption status of the patient.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/request-statusReason",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "request-statusReason",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/request-statusReason",
      "version" : "4.0.1",
      "name" : "statusReason",
      "title" : "Reason for current status",
      "status" : "draft",
      "date" : "2017-12-06",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fwg"
        }]
      }],
      "description" : "Captures the reason for the current state of the resource.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "DeviceRequest"
      },
      {
        "type" : "element",
        "expression" : "ServiceRequest"
      },
      {
        "type" : "element",
        "expression" : "NutritionOrder"
      },
      {
        "type" : "element",
        "expression" : "SupplyRequest"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Reason for current status",
          "definition" : "Captures the reason for the current state of the resource.",
          "comment" : "This is generally only used for \"exception\" statuses such as \"suspended\" or \"cancelled\".  The reason for performing the request at all is captured in reasonCode, not here.  (Distinct reason codes for different statuses can be enforced using invariants if they are universal bindings).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "Varies by domain"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/request-statusReason",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "StatusReason"
            }],
            "strength" : "example",
            "description" : "Codes identifying the reason for the current state of an event."
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Reason for current status",
          "definition" : "Captures the reason for the current state of the resource.",
          "comment" : "This is generally only used for \"exception\" statuses such as \"suspended\" or \"cancelled\".  The reason for performing the request at all is captured in reasonCode, not here.  (Distinct reason codes for different statuses can be enforced using invariants if they are universal bindings).",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "Varies by domain"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/request-statusReason"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "StatusReason"
            }],
            "strength" : "example",
            "description" : "Codes identifying the reason for the current state of an event."
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/display",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "display",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/display",
      "version" : "4.0.1",
      "name" : "Display Name",
      "status" : "draft",
      "date" : "2013-12-05",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "The title or other name to display when referencing a resource by canonical URL.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "canonical"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Display name for canonical reference",
          "definition" : "The title or other name to display when referencing a resource by canonical URL.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/display",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Display name for canonical reference",
          "definition" : "The title or other name to display when referencing a resource by canonical URL.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/display"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/patient-congregation",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "patient-congregation",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/patient-congregation",
      "version" : "4.0.1",
      "name" : "congregation",
      "title" : "congregation",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "A group or place of religious practice that may provide services to the patient.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Patient"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A group of place of religious practice",
          "definition" : "A group or place of religious practice that may provide services to the patient.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-congregation",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A group of place of religious practice",
          "definition" : "A group or place of religious practice that may provide services to the patient.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-congregation"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "openEHR-exposureDescription",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription",
      "version" : "4.0.1",
      "name" : "exposureDescription",
      "status" : "draft",
      "date" : "2014-10-09",
      "publisher" : "Health Level Seven, Inc / openEHR project",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org"
        }]
      }],
      "description" : "Text description about exposure to the Substance.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AllergyIntolerance.reaction"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Text description about exposure to the Substance",
          "definition" : "Text description about exposure to the Substance.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Text description about exposure to the Substance",
          "definition" : "Text description about exposure to the Substance.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-EN-use",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-EN-use",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-EN-use",
      "version" : "4.0.1",
      "name" : "EN-use",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "A set of codes advising a system or user which name in a set of names to select for a given purpose.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "HumanName"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A | ANON | I | P | R | C | M | ABC | IDE | SYL | OLD | DN | OR | PHON | SRCH | T",
          "definition" : "A set of codes advising a system or user which name in a set of names to select for a given purpose.",
          "comment" : "A name without specific use code might be a default name useful for any purpose, but a name with a specific use code would be preferred for that respective purpose.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ENXP.use"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-EN-use",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "EntityNameUse"
            }],
            "strength" : "required",
            "description" : "A set of codes advising a system or user which name in a set of names to select for a given purpose.",
            "valueSet" : "http://terminology.hl7.org/ValueSet/v3-EntityNameUseR2|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A | ANON | I | P | R | C | M | ABC | IDE | SYL | OLD | DN | OR | PHON | SRCH | T",
          "definition" : "A set of codes advising a system or user which name in a set of names to select for a given purpose.",
          "comment" : "A name without specific use code might be a default name useful for any purpose, but a name with a specific use code would be preferred for that respective purpose.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ENXP.use"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-EN-use"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "EntityNameUse"
            }],
            "strength" : "required",
            "description" : "A set of codes advising a system or user which name in a set of names to select for a given purpose.",
            "valueSet" : "http://terminology.hl7.org/ValueSet/v3-EntityNameUseR2|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/codesystem-history",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "codesystem-history",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/codesystem-history",
      "version" : "4.0.1",
      "name" : "history",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Information on changes made to the Value Set Definition over time, and also has a contained audit trail of all such changes.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CodeSystem"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "What has happened over time",
          "definition" : "Information on changes made to the Value Set Definition over time, and also has a contained audit trail of all such changes.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:name",
          "path" : "Extension.extension",
          "sliceName" : "name",
          "short" : "The name of this set of history entries",
          "definition" : "Label for a set of entries, such as a version.",
          "comment" : "Typically, a value set will have a set of history entries for each major publication milestone.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:name.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:name.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:name.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "name",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:name.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:revision",
          "path" : "Extension.extension",
          "sliceName" : "revision",
          "short" : "Audit of all changes for a history entry",
          "definition" : "A list of specific changes, who made them and when.",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:revision.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:revision.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:revision.extension:date",
          "path" : "Extension.extension.extension",
          "sliceName" : "date",
          "short" : "Date the change was made",
          "definition" : "Date the change took place.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:revision.extension:date.id",
          "path" : "Extension.extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:revision.extension:date.extension",
          "path" : "Extension.extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:revision.extension:date.url",
          "path" : "Extension.extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "date",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:revision.extension:date.value[x]",
          "path" : "Extension.extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "dateTime"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:revision.extension:id",
          "path" : "Extension.extension.extension",
          "sliceName" : "id",
          "short" : "Version marker after the change was made",
          "definition" : "Unique id for the specific change.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:revision.extension:id.id",
          "path" : "Extension.extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:revision.extension:id.extension",
          "path" : "Extension.extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:revision.extension:id.url",
          "path" : "Extension.extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "id",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:revision.extension:id.value[x]",
          "path" : "Extension.extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:revision.extension:author",
          "path" : "Extension.extension.extension",
          "sliceName" : "author",
          "short" : "Who made the change",
          "definition" : "Person or device responsible for the change.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:revision.extension:author.id",
          "path" : "Extension.extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:revision.extension:author.extension",
          "path" : "Extension.extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:revision.extension:author.url",
          "path" : "Extension.extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "author",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:revision.extension:author.value[x]",
          "path" : "Extension.extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:revision.extension:notes",
          "path" : "Extension.extension.extension",
          "sliceName" : "notes",
          "short" : "Information about the change",
          "definition" : "Description of exactly what was changed and how.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:revision.extension:notes.id",
          "path" : "Extension.extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:revision.extension:notes.extension",
          "path" : "Extension.extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:revision.extension:notes.url",
          "path" : "Extension.extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "notes",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:revision.extension:notes.value[x]",
          "path" : "Extension.extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:revision.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "revision",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:revision.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-history",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "What has happened over time",
          "definition" : "Information on changes made to the Value Set Definition over time, and also has a contained audit trail of all such changes.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:name",
          "path" : "Extension.extension",
          "sliceName" : "name",
          "short" : "The name of this set of history entries",
          "definition" : "Label for a set of entries, such as a version.",
          "comment" : "Typically, a value set will have a set of history entries for each major publication milestone.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:name.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:name.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "name"
        },
        {
          "id" : "Extension.extension:name.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.extension:revision",
          "path" : "Extension.extension",
          "sliceName" : "revision",
          "short" : "Audit of all changes for a history entry",
          "definition" : "A list of specific changes, who made them and when.",
          "min" : 0,
          "max" : "*",
          "type" : [{
            "code" : "Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:revision.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:revision.extension:date",
          "path" : "Extension.extension.extension",
          "sliceName" : "date",
          "short" : "Date the change was made",
          "definition" : "Date the change took place.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:revision.extension:date.extension",
          "path" : "Extension.extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:revision.extension:date.url",
          "path" : "Extension.extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "date"
        },
        {
          "id" : "Extension.extension:revision.extension:date.value[x]",
          "path" : "Extension.extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "dateTime"
          }]
        },
        {
          "id" : "Extension.extension:revision.extension:id",
          "path" : "Extension.extension.extension",
          "sliceName" : "id",
          "short" : "Version marker after the change was made",
          "definition" : "Unique id for the specific change.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:revision.extension:id.extension",
          "path" : "Extension.extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:revision.extension:id.url",
          "path" : "Extension.extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "id"
        },
        {
          "id" : "Extension.extension:revision.extension:id.value[x]",
          "path" : "Extension.extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.extension:revision.extension:author",
          "path" : "Extension.extension.extension",
          "sliceName" : "author",
          "short" : "Who made the change",
          "definition" : "Person or device responsible for the change.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:revision.extension:author.extension",
          "path" : "Extension.extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:revision.extension:author.url",
          "path" : "Extension.extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "author"
        },
        {
          "id" : "Extension.extension:revision.extension:author.value[x]",
          "path" : "Extension.extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.extension:revision.extension:notes",
          "path" : "Extension.extension.extension",
          "sliceName" : "notes",
          "short" : "Information about the change",
          "definition" : "Description of exactly what was changed and how.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:revision.extension:notes.extension",
          "path" : "Extension.extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:revision.extension:notes.url",
          "path" : "Extension.extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "notes"
        },
        {
          "id" : "Extension.extension:revision.extension:notes.value[x]",
          "path" : "Extension.extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.extension:revision.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "revision"
        },
        {
          "id" : "Extension.extension:revision.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 0,
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-history"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/event-performerFunction",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "event-performerFunction",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/event-performerFunction",
      "version" : "4.0.1",
      "name" : "performerFunction",
      "title" : "Performer Function",
      "status" : "draft",
      "date" : "2017-12-06",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fwg"
        }]
      }],
      "description" : "Distinguishes the type of involvement of the performer in the event. For example, 'author',  'verifier' or 'responsible party'.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "workflow",
        "uri" : "http://hl7.org/fhir/workflow",
        "name" : "Workflow Pattern"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation.performer"
      },
      {
        "type" : "element",
        "expression" : "DiagnosticReport.performer"
      },
      {
        "type" : "element",
        "expression" : "Media.operator"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Type of performance",
          "definition" : "Distinguishes the type of involvement of the performer in the event. For example, 'author',  'verifier' or 'responsible party'.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.performer.function"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/event-performerFunction",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "PerformerFunction"
            }],
            "strength" : "extensible",
            "valueSet" : "http://hl7.org/fhir/ValueSet/performer-function"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Type of performance",
          "definition" : "Distinguishes the type of involvement of the performer in the event. For example, 'author',  'verifier' or 'responsible party'.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.performer.function"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/event-performerFunction"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "PerformerFunction"
            }],
            "strength" : "extensible",
            "valueSet" : "http://hl7.org/fhir/ValueSet/performer-function"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqf-systemUserLanguage",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage",
      "version" : "4.0.1",
      "name" : "systemUserLanguage",
      "title" : "systemUserLanguage",
      "status" : "draft",
      "date" : "2015-05-30",
      "publisher" : "Health Level Seven, Inc. - CDS WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/dss"
        }]
      }],
      "description" : "Preferred language of the person using the system.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Basic"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Extension",
          "definition" : "Preferred language of the person using the system.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Language"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "preferred",
            "description" : "A human language.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "definition" : "Preferred language of the person using the system.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Language"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "preferred",
            "description" : "A human language.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-geneticsGenomicSourceClass",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass",
      "version" : "4.0.1",
      "name" : "GenomicSourceClass",
      "status" : "draft",
      "date" : "2016-03-14",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "Source of sample used to determine the sequence in sequencing lab -- germline, somatic, prenatal. LOINC Code: ([48002-0](http://loinc.org/48002-0)).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Genomic source class",
          "definition" : "Source of sample used to determine the sequence in sequencing lab -- germline, somatic, prenatal. LOINC Code: ([48002-0](http://loinc.org/48002-0)).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Genomic source class",
          "definition" : "Source of sample used to determine the sequence in sequencing lab -- germline, somatic, prenatal. LOINC Code: ([48002-0](http://loinc.org/48002-0)).",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "DiagnosticReport-geneticsFamilyMemberHistory",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory",
      "version" : "4.0.1",
      "name" : "FamilyMemberHistory",
      "status" : "draft",
      "date" : "2015-10-09",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "Significant health events and conditions for a person related to the patient relevant in the context of care for the patient.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "DiagnosticReport"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "FamilyHistory",
          "definition" : "Significant health events and conditions for a person related to the patient relevant in the context of care for the patient.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "FamilyHistory",
          "definition" : "Significant health events and conditions for a person related to the patient relevant in the context of care for the patient.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqf-calculatedValue",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue",
      "version" : "4.0.1",
      "name" : "calculatedValue",
      "title" : "calculatedValue",
      "status" : "draft",
      "date" : "2015-05-30",
      "publisher" : "Health Level Seven, Inc. - CDS WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/dss"
        }]
      }],
      "description" : "The name of an expression in a referenced library that determines a calculated value.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Element"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A calculated value",
          "definition" : "The name of an expression in a referenced library that determines a calculated value.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A calculated value",
          "definition" : "The name of an expression in a referenced library that determines a calculated value.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-precondition",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-precondition",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-precondition",
      "version" : "4.0.1",
      "name" : "precondition",
      "title" : "Precondition",
      "status" : "draft",
      "date" : "2015-03-02",
      "publisher" : "Health Level Seven, Inc. - OO WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/orders"
        }]
      }],
      "description" : "Other preceding or concurrent observations that must be known to correctly interpret the the observation.  For example an fiO2 measure taken alongside of a SpO2 measurement.  See the [Observation notes](observation.html#notes) section for additional guidance.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Other Observations needed to aid in  the interpretation of the source observation.",
          "definition" : "Other preceding or concurrent observations that must be known to correctly interpret the the observation.  For example an fiO2 measure taken alongside of a SpO2 measurement.  See the [Observation notes](observation.html#notes) section for additional guidance.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-precondition",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Observation"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Other Observations needed to aid in  the interpretation of the source observation.",
          "definition" : "Other preceding or concurrent observations that must be known to correctly interpret the the observation.  For example an fiO2 measure taken alongside of a SpO2 measurement.  See the [Observation notes](observation.html#notes) section for additional guidance.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-precondition"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Observation"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/composition-section-subject",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "composition-section-subject",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "sd"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/composition-section-subject",
      "version" : "4.0.1",
      "name" : "section-subject",
      "title" : "Overrides Composition.subject",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Specifies that the section has a different subject that the Composition, or it's container section.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Composition.section"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Section has a different subject that it's container",
          "definition" : "Specifies that the section has a different subject that the Composition, or it's container section.",
          "comment" : "This is used in various FHIR value sets to make comments on how particular codes are used when the formal definition is a little abstract or vague, but it's not clear whether it belongs in the actual value set resource.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/composition-section-subject",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Section has a different subject that it's container",
          "definition" : "Specifies that the section has a different subject that the Composition, or it's container section.",
          "comment" : "This is used in various FHIR value sets to make comments on how particular codes are used when the formal definition is a little abstract or vague, but it's not clear whether it belongs in the actual value set resource.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/composition-section-subject"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "composition-clinicaldocument-otherConfidentiality",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "sd"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality",
      "version" : "4.0.1",
      "name" : "otherConfidentiality",
      "status" : "draft",
      "date" : "2015-03-17",
      "publisher" : "Health Level Seven, Inc. - Structured Documents WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/structure"
        }]
      }],
      "description" : "Carries additional confidentiality codes beyond the base fixed code specified in the CDA document.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Composition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Additional confidentiality codes",
          "definition" : "Carries additional confidentiality codes beyond the base fixed code specified in the CDA document.",
          "comment" : "Typically, this is used where an institution has their own set of confidentiality codes that have different granularity that the base CDA codes, or for legacy reasons. For security-related codes other than confidentiality, see [[security-labels-html]].",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Coding"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Additional confidentiality codes",
          "definition" : "Carries additional confidentiality codes beyond the base fixed code specified in the CDA document.",
          "comment" : "Typically, this is used where an institution has their own set of confidentiality codes that have different granularity that the base CDA codes, or for legacy reasons. For security-related codes other than confidentiality, see [[security-labels-html]].",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Coding"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqm-ValidityPeriod",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "sd"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod",
      "version" : "4.0.1",
      "name" : "ValidityPeriod",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - Clinical Quality Information WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/cqi/index.cfm"
        }]
      }],
      "description" : "The period in which the catalog is valid.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Composition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Validity Period",
          "definition" : "The period in which the catalog is valid.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "dateTime"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Validity Period",
          "definition" : "The period in which the catalog is valid.",
          "min" : 1,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "dateTime"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/maxValue",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "maxValue",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/maxValue",
      "version" : "4.0.1",
      "name" : "maxValue",
      "status" : "draft",
      "date" : "2014-04-27",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "The inclusive upper bound on the range of allowed values for the data element.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Must be <= this value",
          "definition" : "The inclusive upper bound on the range of allowed values for the data element.",
          "comment" : "Data type specified must be the same as the data type for the data element.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/maxValue",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "time"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "integer"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Must be <= this value",
          "definition" : "The inclusive upper bound on the range of allowed values for the data element.",
          "comment" : "Data type specified must be the same as the data type for the data element.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/maxValue"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "time"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "integer"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/patient-animal",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "patient-animal",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/patient-animal",
      "version" : "4.0.1",
      "name" : "animal",
      "title" : "animal",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "This patient is known to be an animal.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      },
      {
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Patient"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "This patient is known to be an animal (non-human)",
          "definition" : "This patient is known to be an animal.",
          "comment" : "The absence of the animal extension does not imply that the patient is a human. If a system requires such a positive assertion that the patient is human, an extension will be required.  (Do not use a species of homo-sapiens in animal species, as this would incorrectly infer that the patient is an animal).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "player[classCode=ANM]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:species",
          "path" : "Extension.extension",
          "sliceName" : "species",
          "short" : "The animal species.  E.g. Dog, Cow.",
          "definition" : "Identifies the high level taxonomic categorization of the kind of animal.",
          "comment" : "If the patient is non-human, at least a species SHALL be specified. Species SHALL be a widely recognized taxonomic classification.  It might or might not be Linnaean taxonomy and might or might not be at the level of species. If the level is finer than species--such as a breed code--the code system used SHALL allow inference of the species.  (The common example is that the word \"Hereford\" does not allow inference of the species Bos taurus, because there is a Hereford pig breed, but the SNOMED CT code for \"Hereford Cattle Breed\" does.).",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "PID-35"
          },
          {
            "identity" : "rim",
            "map" : "code"
          }]
        },
        {
          "id" : "Extension.extension:species.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:species.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:species.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "species",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:species.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AnimalSpecies"
            }],
            "strength" : "example",
            "description" : "The species of an animal.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/animal-species"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:breed",
          "path" : "Extension.extension",
          "sliceName" : "breed",
          "short" : "The animal breed.  E.g. Poodle, Angus.",
          "definition" : "Identifies the detailed categorization of the kind of animal.",
          "comment" : "Breed MAY be used to provide further taxonomic or non-taxonomic classification.  It may involve local or proprietary designation--such as commercial strain--and/or additional information such as production type.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "PID-35 (where more detailed value is present)"
          },
          {
            "identity" : "rim",
            "map" : "playedRole[classCode=GEN]/scoper[classCode=ANM, determinerCode=KIND]/code"
          }]
        },
        {
          "id" : "Extension.extension:breed.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:breed.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:breed.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "breed",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:breed.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AnimalBreed"
            }],
            "strength" : "example",
            "description" : "The breed of an animal.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/animal-breeds"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:genderStatus",
          "path" : "Extension.extension",
          "sliceName" : "genderStatus",
          "short" : "The status of the animal's reproductive parts.  E.g. Neutered, Intact.",
          "definition" : "Indicates the current state of the animal's reproductive organs.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "genderStatusCode"
          }]
        },
        {
          "id" : "Extension.extension:genderStatus.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:genderStatus.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:genderStatus.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "genderStatus",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:genderStatus.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AnimalGenderStatus"
            }],
            "strength" : "example",
            "description" : "The state of the animal's reproductive organs.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/animal-genderstatus"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-animal",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "This patient is known to be an animal (non-human)",
          "definition" : "This patient is known to be an animal.",
          "comment" : "The absence of the animal extension does not imply that the patient is a human. If a system requires such a positive assertion that the patient is human, an extension will be required.  (Do not use a species of homo-sapiens in animal species, as this would incorrectly infer that the patient is an animal).",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "player[classCode=ANM]"
          }]
        },
        {
          "id" : "Extension.extension:species",
          "path" : "Extension.extension",
          "sliceName" : "species",
          "short" : "The animal species.  E.g. Dog, Cow.",
          "definition" : "Identifies the high level taxonomic categorization of the kind of animal.",
          "comment" : "If the patient is non-human, at least a species SHALL be specified. Species SHALL be a widely recognized taxonomic classification.  It might or might not be Linnaean taxonomy and might or might not be at the level of species. If the level is finer than species--such as a breed code--the code system used SHALL allow inference of the species.  (The common example is that the word \"Hereford\" does not allow inference of the species Bos taurus, because there is a Hereford pig breed, but the SNOMED CT code for \"Hereford Cattle Breed\" does.).",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "mapping" : [{
            "identity" : "v2",
            "map" : "PID-35"
          },
          {
            "identity" : "rim",
            "map" : "code"
          }]
        },
        {
          "id" : "Extension.extension:species.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:species.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "species"
        },
        {
          "id" : "Extension.extension:species.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AnimalSpecies"
            }],
            "strength" : "example",
            "description" : "The species of an animal.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/animal-species"
          }
        },
        {
          "id" : "Extension.extension:breed",
          "path" : "Extension.extension",
          "sliceName" : "breed",
          "short" : "The animal breed.  E.g. Poodle, Angus.",
          "definition" : "Identifies the detailed categorization of the kind of animal.",
          "comment" : "Breed MAY be used to provide further taxonomic or non-taxonomic classification.  It may involve local or proprietary designation--such as commercial strain--and/or additional information such as production type.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "mapping" : [{
            "identity" : "v2",
            "map" : "PID-35 (where more detailed value is present)"
          },
          {
            "identity" : "rim",
            "map" : "playedRole[classCode=GEN]/scoper[classCode=ANM, determinerCode=KIND]/code"
          }]
        },
        {
          "id" : "Extension.extension:breed.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:breed.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "breed"
        },
        {
          "id" : "Extension.extension:breed.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AnimalBreed"
            }],
            "strength" : "example",
            "description" : "The breed of an animal.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/animal-breeds"
          }
        },
        {
          "id" : "Extension.extension:genderStatus",
          "path" : "Extension.extension",
          "sliceName" : "genderStatus",
          "short" : "The status of the animal's reproductive parts.  E.g. Neutered, Intact.",
          "definition" : "Indicates the current state of the animal's reproductive organs.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "genderStatusCode"
          }]
        },
        {
          "id" : "Extension.extension:genderStatus.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:genderStatus.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "genderStatus"
        },
        {
          "id" : "Extension.extension:genderStatus.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AnimalGenderStatus"
            }],
            "strength" : "example",
            "description" : "The state of the animal's reproductive organs.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/animal-genderstatus"
          }
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-animal"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/patient-disability",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "patient-disability",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/patient-disability",
      "version" : "4.0.1",
      "name" : "disability",
      "title" : "disability",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Value(s) identifying physical or mental condition(s) that limits a person's movements, senses, or activities.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Patient"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Condition(s) limiting movement, senses, or activities",
          "definition" : "Value(s) identifying physical or mental condition(s) that limits a person's movements, senses, or activities.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-disability",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Condition(s) limiting movement, senses, or activities",
          "definition" : "Value(s) identifying physical or mental condition(s) that limits a person's movements, senses, or activities.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-disability"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "humanname-own-prefix",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
      "version" : "4.0.1",
      "name" : "own-prefix",
      "status" : "draft",
      "date" : "2015-11-22",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The prefix portion (e.g. voorvoegsel) of the family name that is derived from the person's own surname, as distinguished from any portion that is derived from the surname of the person's partner or spouse.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "HumanName.family"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Voorvoegsel derived from person's own surname",
          "definition" : "The prefix portion (e.g. voorvoegsel) of the family name that is derived from the person's own surname, as distinguished from any portion that is derived from the surname of the person's partner or spouse.",
          "comment" : "An example of a voorvoegsel is the \"van\" in \"Ludwig van Beethoven\". Since the voorvoegsel doesn't sort completely alphabetically, it is reasonable to specify it as a separate sub-component.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "FN.2"
          },
          {
            "identity" : "rim",
            "map" : "ENXP where Qualifiers = (VV, R)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Voorvoegsel derived from person's own surname",
          "definition" : "The prefix portion (e.g. voorvoegsel) of the family name that is derived from the person's own surname, as distinguished from any portion that is derived from the surname of the person's partner or spouse.",
          "comment" : "An example of a voorvoegsel is the \"van\" in \"Ludwig van Beethoven\". Since the voorvoegsel doesn't sort completely alphabetically, it is reasonable to specify it as a separate sub-component.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "FN.2"
          },
          {
            "identity" : "rim",
            "map" : "ENXP where Qualifiers = (VV, R)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "codesystem-sourceReference",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference",
      "version" : "4.0.1",
      "name" : "sourceReference",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "This text is intended to act as a citation to work done elsewhere that is not part of the current stewarding process where the referenced source is in some way a basis of the current value set definition.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CodeSystem"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Where did this content come from",
          "definition" : "This text is intended to act as a citation to work done elsewhere that is not part of the current stewarding process where the referenced source is in some way a basis of the current value set definition.",
          "comment" : "This is not intended to be a direct link to another value set. It is only intended to support a link or textual description that indicates related material for the value set.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Where did this content come from",
          "definition" : "This text is intended to act as a citation to work done elsewhere that is not part of the current stewarding process where the referenced source is in some way a basis of the current value set definition.",
          "comment" : "This is not intended to be a direct link to another value set. It is only intended to support a link or textual description that indicates related material for the value set.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/rendering-xhtml",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "rendering-xhtml",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/rendering-xhtml",
      "version" : "4.0.1",
      "name" : "xhtml",
      "status" : "draft",
      "date" : "2014-04-23",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "This is an equivalent of the string on which the extension is sent, but includes additional XHTML markup, such as bold, italics, styles, tables, etc. Existing [restrictions on XHTML content](narrative.html#security) apply. Note that using [markdown](extension-rendering-markdown.html) allows for greater flexibility of display.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "string"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "String equivalent with html markup",
          "definition" : "This is an equivalent of the string on which the extension is sent, but includes additional XHTML markup, such as bold, italics, styles, tables, etc. Existing [restrictions on XHTML content](narrative.html#security) apply. Note that using [markdown](extension-rendering-markdown.html) allows for greater flexibility of display.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ED can be XHTML content"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/rendering-xhtml",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "String equivalent with html markup",
          "definition" : "This is an equivalent of the string on which the extension is sent, but includes additional XHTML markup, such as bold, italics, styles, tables, etc. Existing [restrictions on XHTML content](narrative.html#security) apply. Note that using [markdown](extension-rendering-markdown.html) allows for greater flexibility of display.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ED can be XHTML content"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/rendering-xhtml"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "family-member-history-genetics-observation",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation",
      "version" : "4.0.1",
      "name" : "observation",
      "status" : "draft",
      "date" : "2013-10-02",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "Allows capturing risk-relevant observations about the relative that aren't themselves a specific health condition; e.g. Certain ethnic ancestries that are disease-relevant, presence of particular genetic markers, etc.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "FamilyMemberHistory"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Genetic markers, ethnicity, etc.",
          "definition" : "Allows capturing risk-relevant observations about the relative that aren't themselves a specific health condition; e.g. Certain ethnic ancestries that are disease-relevant, presence of particular genetic markers, etc.",
          "comment" : "This may be extended with additional genomics-specific resources when they are ready.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "inboundRelationship[typeCode=SUBJ].source"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Observation"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Genetic markers, ethnicity, etc.",
          "definition" : "Allows capturing risk-relevant observations about the relative that aren't themselves a specific health condition; e.g. Certain ethnic ancestries that are disease-relevant, presence of particular genetic markers, etc.",
          "comment" : "This may be extended with additional genomics-specific resources when they are ready.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "inboundRelationship[typeCode=SUBJ].source"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Observation"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "encounter-associatedEncounter",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter",
      "version" : "4.0.1",
      "name" : "associatedEncounter",
      "title" : "associatedEncounter",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "This encounter occurs within the scope of the referenced encounter.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Encounter"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Associated Encounter",
          "definition" : "This encounter occurs within the scope of the referenced encounter.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Encounter"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Associated Encounter",
          "definition" : "This encounter occurs within the scope of the referenced encounter.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Encounter"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "diagnosticReport-addendumOf",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf",
      "version" : "4.0.1",
      "name" : "addendumOf",
      "title" : "Addendum Of",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "The supplements or provides additional information for the target report.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "DiagnosticReport"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Additional or Supplement Content",
          "definition" : "The supplements or provides additional information for the target report.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/DiagnosticReport"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Additional or Supplement Content",
          "definition" : "The supplements or provides additional information for the target report.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/DiagnosticReport"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqf-initialValue",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqf-initialValue",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-initialValue",
      "version" : "4.0.1",
      "name" : "initialValue",
      "title" : "initialValue",
      "status" : "draft",
      "date" : "2015-05-30",
      "publisher" : "Health Level Seven, Inc. - CDS WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/dss"
        }]
      }],
      "description" : "The name of an expression in a referenced library that determines an initial value.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Element"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "An initial value expression",
          "definition" : "The name of an expression in a referenced library that determines an initial value.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-initialValue",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "An initial value expression",
          "definition" : "The name of an expression in a referenced library that determines an initial value.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-initialValue"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/condition-assertedDate",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "condition-assertedDate",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/condition-assertedDate",
      "version" : "4.0.1",
      "name" : "assertedDate",
      "title" : "assertedDate",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "The date on which the existence of the Condition was first asserted or acknowledged.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Condition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Date the condition was first asserted",
          "definition" : "The date on which the existence of the Condition was first asserted or acknowledged.",
          "comment" : "The assertedDate is in the context of the recording practitioner and might not be the same as the recordedDate.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/condition-assertedDate",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "dateTime"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Date the condition was first asserted",
          "definition" : "The date on which the existence of the Condition was first asserted or acknowledged.",
          "comment" : "The assertedDate is in the context of the recording practitioner and might not be the same as the recordedDate.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/condition-assertedDate"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "dateTime"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "structuredefinition-ancestor",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor",
      "version" : "4.0.1",
      "name" : "ancestor",
      "title" : "ancestor",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "A canonical reference to a StructureDefinition that this is derived from. This is a de-normalization of a chain of StructureDefinition.baseDefinition.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "StructureDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "StructureDefinition this is derived from",
          "definition" : "A canonical reference to a StructureDefinition that this is derived from. This is a de-normalization of a chain of StructureDefinition.baseDefinition.",
          "comment" : "It is an error if a structure definition lists an ancestor that is not in the chain of baseDefinitions.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "StructureDefinition this is derived from",
          "definition" : "A canonical reference to a StructureDefinition that this is derived from. This is a de-normalization of a chain of StructureDefinition.baseDefinition.",
          "comment" : "It is an error if a structure definition lists an ancestor that is not in the chain of baseDefinitions.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "elementdefinition-namespace",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace",
      "version" : "4.0.1",
      "name" : "namespace",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "Use this extension to indicate tha the element has an XML namespace different to http://hl7.org/fhir.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ElementDefinition"
      },
      {
        "type" : "element",
        "expression" : "StructureDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "specify namespace other than http://hl7.org/fhir",
          "definition" : "Use this extension to indicate tha the element has an XML namespace different to http://hl7.org/fhir.",
          "comment" : "If this is specified in a structure definition (logical models only), every element has the specified namespace.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF territory)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "specify namespace other than http://hl7.org/fhir",
          "definition" : "Use this extension to indicate tha the element has an XML namespace different to http://hl7.org/fhir.",
          "comment" : "If this is specified in a structure definition (logical models only), every element has the specified namespace.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF territory)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "procedure-incisionDateTime",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime",
      "version" : "4.0.1",
      "name" : "incisionDateTime",
      "title" : "incisionDateTime",
      "status" : "draft",
      "date" : "2015-02-12",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "The time of the first incision.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Procedure"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The first incision time",
          "definition" : "The time of the first incision.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "dateTime"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The first incision time",
          "definition" : "The time of the first incision.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "dateTime"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/event-statusReason",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "event-statusReason",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/event-statusReason",
      "version" : "4.0.1",
      "name" : "statusReason",
      "title" : "Reason for current status",
      "status" : "draft",
      "date" : "2017-12-06",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fwg"
        }]
      }],
      "description" : "Captures the reason for the current state of the resource.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "workflow",
        "uri" : "http://hl7.org/fhir/workflow",
        "name" : "Workflow Pattern"
      },
      {
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      },
      {
        "type" : "element",
        "expression" : "DiagnosticReport"
      },
      {
        "type" : "element",
        "expression" : "Media"
      },
      {
        "type" : "element",
        "expression" : "SupplyDelivery"
      },
      {
        "type" : "element",
        "expression" : "DeviceUseStatement"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Reason for current status",
          "definition" : "Captures the reason for the current state of the resource.",
          "comment" : "This is generally only used for \"exception\" statuses such as \"not-done\", \"suspended\" or \"cancelled\".  The reason for performing the event at all is captured in reasonCode, not here.\r(distinct reason codes for different statuses can be enforced using invariants if they are universal bindings).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.statusReason"
          },
          {
            "identity" : "v2",
            "map" : "Varies by domain"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/event-statusReason",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "StatusReason"
            }],
            "strength" : "example",
            "description" : "Codes identifying the reason for the current state of an event."
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Reason for current status",
          "definition" : "Captures the reason for the current state of the resource.",
          "comment" : "This is generally only used for \"exception\" statuses such as \"not-done\", \"suspended\" or \"cancelled\".  The reason for performing the event at all is captured in reasonCode, not here.\r(distinct reason codes for different statuses can be enforced using invariants if they are universal bindings).",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.statusReason"
          },
          {
            "identity" : "v2",
            "map" : "Varies by domain"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/event-statusReason"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "StatusReason"
            }],
            "strength" : "example",
            "description" : "Codes identifying the reason for the current state of an event."
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-EN-qualifier",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
      "version" : "4.0.1",
      "name" : "EN-qualifier",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "HumanName.family"
      },
      {
        "type" : "element",
        "expression" : "HumanName.given"
      },
      {
        "type" : "element",
        "expression" : "HumanName.prefix"
      },
      {
        "type" : "element",
        "expression" : "HumanName.suffix"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "LS | AC | NB | PR | HON | BR | AD | SP | MID | CL | IN | VV",
          "definition" : "A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type.",
          "comment" : "Used to indicate additional information about the name part and how it should be used.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ENXP.qualifier"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "EntityNamePartQualifier"
            }],
            "strength" : "required",
            "description" : "A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/name-part-qualifier|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "LS | AC | NB | PR | HON | BR | AD | SP | MID | CL | IN | VV",
          "definition" : "A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type.",
          "comment" : "Used to indicate additional information about the name part and how it should be used.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ENXP.qualifier"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "EntityNamePartQualifier"
            }],
            "strength" : "required",
            "description" : "A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/name-part-qualifier|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaire-minOccurs",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
      "version" : "4.0.1",
      "name" : "minOccurs",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "The minimum number of times the group must appear, or the minimum number of answers for a question - when greater than 1.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.item"
      }],
      "contextInvariant" : ["type!='display' and (required=true or %extension.valueInteger=0)"],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Minimum repetitions",
          "definition" : "The minimum number of times the group must appear, or the minimum number of answers for a question - when greater than 1.",
          "comment" : "Default assumption for \"required\" elements is minOccurs=1.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A - MIF rather than RIM level"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "integer"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Minimum repetitions",
          "definition" : "The minimum number of times the group must appear, or the minimum number of answers for a question - when greater than 1.",
          "comment" : "Default assumption for \"required\" elements is minOccurs=1.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A - MIF rather than RIM level"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "integer"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/replaces",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "replaces",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/replaces",
      "version" : "4.0.1",
      "name" : "replaces",
      "status" : "draft",
      "date" : "2013-12-05",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "Indicates a resource that this resource is replacing.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ActivityDefinition"
      },
      {
        "type" : "element",
        "expression" : "CapabilityStatement"
      },
      {
        "type" : "element",
        "expression" : "ChargeItemDefinition"
      },
      {
        "type" : "element",
        "expression" : "CodeSystem"
      },
      {
        "type" : "element",
        "expression" : "CompartmentDefinition"
      },
      {
        "type" : "element",
        "expression" : "ConceptMap"
      },
      {
        "type" : "element",
        "expression" : "EffectEvidenceSynthesis"
      },
      {
        "type" : "element",
        "expression" : "EventDefinition"
      },
      {
        "type" : "element",
        "expression" : "Evidence"
      },
      {
        "type" : "element",
        "expression" : "EvidenceVariable"
      },
      {
        "type" : "element",
        "expression" : "ExampleScenario"
      },
      {
        "type" : "element",
        "expression" : "GraphDefinition"
      },
      {
        "type" : "element",
        "expression" : "ImplementationGuide"
      },
      {
        "type" : "element",
        "expression" : "Library"
      },
      {
        "type" : "element",
        "expression" : "Measure"
      },
      {
        "type" : "element",
        "expression" : "MessageDefinition"
      },
      {
        "type" : "element",
        "expression" : "NamingSystem"
      },
      {
        "type" : "element",
        "expression" : "OperationDefinition"
      },
      {
        "type" : "element",
        "expression" : "PlanDefinition"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire"
      },
      {
        "type" : "element",
        "expression" : "ResearchDefinition"
      },
      {
        "type" : "element",
        "expression" : "ResearchElementDefinition"
      },
      {
        "type" : "element",
        "expression" : "RiskEvidenceSynthesis"
      },
      {
        "type" : "element",
        "expression" : "SearchParameter"
      },
      {
        "type" : "element",
        "expression" : "StructureDefinition"
      },
      {
        "type" : "element",
        "expression" : "StructureMap"
      },
      {
        "type" : "element",
        "expression" : "TerminologyCapabilities"
      },
      {
        "type" : "element",
        "expression" : "TestScript"
      },
      {
        "type" : "element",
        "expression" : "ValueSet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "References a resource that this resource replaces",
          "definition" : "Indicates a resource that this resource is replacing.",
          "comment" : "This is usually a versioned reference. Often, it will be to another version of the same resource.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/replaces",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "References a resource that this resource replaces",
          "definition" : "Indicates a resource that this resource is replacing.",
          "comment" : "This is usually a versioned reference. Often, it will be to another version of the same resource.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/replaces"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-authoritativeSource",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource",
      "version" : "4.0.1",
      "name" : "authoritativeSource",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "A reference to the authoritative accessible, persisted source of truth of the entire Value Set Definition, including textual information and available versions.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Reference to the current trusted source of the ValueSet resource (metadata and definition)",
          "definition" : "A reference to the authoritative accessible, persisted source of truth of the entire Value Set Definition, including textual information and available versions.",
          "comment" : "If this extension is not present, then the canonical URL (ValueSet.url) also serves the purpose of specifying the authoritative source.  A difference between the canonical URL and the authoritiative source might arise in some cases due to ongoing organization restructuring, etc., and in those cases this extension may be used.  The URL of the authoritative source is intended to be resolvable but that cannot be guaranteed. The designated \"authoritative source\" is normally expected to be able to generate a valid expansion of the value set, and if for some reason it cannot then the valueset-trusted-expansion should be used.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Reference to the current trusted source of the ValueSet resource (metadata and definition)",
          "definition" : "A reference to the authoritative accessible, persisted source of truth of the entire Value Set Definition, including textual information and available versions.",
          "comment" : "If this extension is not present, then the canonical URL (ValueSet.url) also serves the purpose of specifying the authoritative source.  A difference between the canonical URL and the authoritiative source might arise in some cases due to ongoing organization restructuring, etc., and in those cases this extension may be used.  The URL of the authoritative source is intended to be resolvable but that cannot be guaranteed. The designated \"authoritative source\" is normally expected to be able to generate a valid expansion of the value set, and if for some reason it cannot then the valueset-trusted-expansion should be used.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "specimen-collectionPriority",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority",
      "version" : "4.0.1",
      "name" : "collectionPriority",
      "title" : "Collection Priority",
      "status" : "draft",
      "date" : "2015-02-19",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "The urgency of sample collection, such as STAT, ASAP, ASAP-ED, ROUTINE, ROUTINE-AM, etc….",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Specimen.collection"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Urgency for collection",
          "definition" : "The urgency of sample collection, such as STAT, ASAP, ASAP-ED, ROUTINE, ROUTINE-AM, etc….",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "PriorityExample"
            }],
            "strength" : "example",
            "description" : "Type representing the priority for specimen collection.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/specimen-collection-priority"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Urgency for collection",
          "definition" : "The urgency of sample collection, such as STAT, ASAP, ASAP-ED, ROUTINE, ROUTINE-AM, etc….",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "PriorityExample"
            }],
            "strength" : "example",
            "description" : "Type representing the priority for specimen collection.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/specimen-collection-priority"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-supplement",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-supplement",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-supplement",
      "version" : "4.0.1",
      "name" : "supplement",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "This extension declares that a value set depends on a particular supplement and should not be used in its absence.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Declares dependency on a particular supplment",
          "definition" : "This extension declares that a value set depends on a particular supplement and should not be used in its absence.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-supplement",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/CodeSystem"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Declares dependency on a particular supplment",
          "definition" : "This extension declares that a value set depends on a particular supplement and should not be used in its absence.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-supplement"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/CodeSystem"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-unitID",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID",
      "version" : "4.0.1",
      "name" : "ADXP-unitID",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "The number or name of a specific unit contained within a building or complex, as assigned by that building or complex.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address.line"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "unitID",
          "definition" : "The number or name of a specific unit contained within a building or complex, as assigned by that building or complex.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=UNID]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "unitID",
          "definition" : "The number or name of a specific unit contained within a building or complex, as assigned by that building or complex.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=UNID]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "organizationaffiliation-primaryInd",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd",
      "version" : "4.0.1",
      "name" : "primaryInd",
      "title" : "primaryInd",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Flag indicating if the specialty is the primary specialty of the provider. Normally, a practitioner will have one primary specialty, but in some cases more than one can be primary.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "OrganizationAffiliation.specialty"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Indicator of primary specialty",
          "definition" : "Flag indicating if the specialty is the primary specialty of the provider. Normally, a practitioner will have one primary specialty, but in some cases more than one can be primary.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Indicator of primary specialty",
          "definition" : "Flag indicating if the specialty is the primary specialty of the provider. Normally, a practitioner will have one primary specialty, but in some cases more than one can be primary.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "maxDecimalPlaces",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces",
      "version" : "4.0.1",
      "name" : "maxDecimalPlaces",
      "status" : "draft",
      "date" : "2014-04-27",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "Identifies the maximum number of decimal places that may be specified for the data element.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "ElementDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Maximum digits after decimal",
          "definition" : "Identifies the maximum number of decimal places that may be specified for the data element.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "integer"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Maximum digits after decimal",
          "definition" : "Identifies the maximum number of decimal places that may be specified for the data element.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "integer"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-deliveryInstallationArea",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea",
      "version" : "4.0.1",
      "name" : "ADXP-deliveryInstallationArea",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "The location of the delivery installation, usually a town or city, and is only required if the area is different from the municipality. Area to which mail delivery service is provided from any postal facility or service such as an individual letter carrier, rural route, or postal route.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address.line"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "deliveryInstallationArea",
          "definition" : "The location of the delivery installation, usually a town or city, and is only required if the area is different from the municipality. Area to which mail delivery service is provided from any postal facility or service such as an individual letter carrier, rural route, or postal route.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=DINSTA]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "deliveryInstallationArea",
          "definition" : "The location of the delivery installation, usually a town or city, and is only required if the area is different from the municipality. Area to which mail delivery service is provided from any postal facility or service such as an individual letter carrier, rural route, or postal route.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=DINSTA]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-streetName",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
      "version" : "4.0.1",
      "name" : "ADXP-streetName",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "streetName.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address.line"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "streetName",
          "definition" : "streetName.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=STR]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "streetName",
          "definition" : "streetName.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=STR]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "workflow-instantiatesUri",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri",
      "version" : "4.0.1",
      "name" : "instantiatesUri",
      "title" : "Definition",
      "status" : "draft",
      "date" : "2017-12-06",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fwg"
        }]
      }],
      "description" : "The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by the event or request resource.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "workflow",
        "uri" : "http://hl7.org/fhir/workflow",
        "name" : "Workflow Pattern"
      },
      {
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      },
      {
        "type" : "element",
        "expression" : "DiagnosticReport"
      },
      {
        "type" : "element",
        "expression" : "Media"
      },
      {
        "type" : "element",
        "expression" : "Condition"
      },
      {
        "type" : "element",
        "expression" : "SupplyDelivery"
      },
      {
        "type" : "element",
        "expression" : "CommunicationRequest"
      },
      {
        "type" : "element",
        "expression" : "SupplyRequest"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "External protocol or definition",
          "definition" : "The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by the event or request resource.",
          "comment" : "This may be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.instantiates"
          },
          {
            "identity" : "v2",
            "map" : "Varies by domain"
          },
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=DEFN].target"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "External protocol or definition",
          "definition" : "The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by the event or request resource.",
          "comment" : "This may be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.instantiates"
          },
          {
            "identity" : "v2",
            "map" : "Varies by domain"
          },
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=DEFN].target"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/event-eventHistory",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "event-eventHistory",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/event-eventHistory",
      "version" : "4.0.1",
      "name" : "eventHistory",
      "title" : "Event History",
      "status" : "draft",
      "date" : "2017-12-06",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fwg"
        }]
      }],
      "description" : "Links to *Provenance* records for past versions of this resource that document  key state transitions or updates that are deemed “relevant” or important to a user looking at the current version of the resource. E.g, when an observation was verified or corrected.  This extension does not point to the Provenance associated with the current version of the resource - as it would be created after this version existed. The *Provenance* for the current version can be retrieved with a [` _revinclude`](search.html#revinclude).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      },
      {
        "type" : "element",
        "expression" : "DiagnosticReport"
      },
      {
        "type" : "element",
        "expression" : "Task"
      },
      {
        "type" : "element",
        "expression" : "SupplyDelivery"
      },
      {
        "type" : "element",
        "expression" : "DeviceUseStatement"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Events of interest in the resource lifecycle",
          "definition" : "Links to *Provenance* records for past versions of this resource that document  key state transitions or updates that are deemed “relevant” or important to a user looking at the current version of the resource. E.g, when an observation was verified or corrected.  This extension does not point to the Provenance associated with the current version of the resource - as it would be created after this version existed. The *Provenance* for the current version can be retrieved with a [` _revinclude`](search.html#revinclude).",
          "comment" : "May reference only *Provenance* resources deemed “relevant” or important. This element does not point to the Provenance associated with the current version of the resource - as it would be created after this version existed. The Provenance for the current version can be retrieved with a [` _revinclude`](search.html#revinclude).",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/event-eventHistory",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Provenance"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Events of interest in the resource lifecycle",
          "definition" : "Links to *Provenance* records for past versions of this resource that document  key state transitions or updates that are deemed “relevant” or important to a user looking at the current version of the resource. E.g, when an observation was verified or corrected.  This extension does not point to the Provenance associated with the current version of the resource - as it would be created after this version existed. The *Provenance* for the current version can be retrieved with a [` _revinclude`](search.html#revinclude).",
          "comment" : "May reference only *Provenance* resources deemed “relevant” or important. This element does not point to the Provenance associated with the current version of the resource - as it would be created after this version existed. The Provenance for the current version can be retrieved with a [` _revinclude`](search.html#revinclude).",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/event-eventHistory"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Provenance"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "operationoutcome-issue-source",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source",
      "version" : "4.0.1",
      "name" : "issue-source",
      "title" : "Source of Issue",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "Helps a user track down the source of the problem.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "OperationOutcome.issue"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Source of a validation message",
          "definition" : "Helps a user track down the source of the problem.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Source of a validation message",
          "definition" : "Helps a user track down the source of the problem.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-usage",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-usage",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-usage",
      "version" : "4.0.1",
      "name" : "usage",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Consumers of the value set and the implementations, projects or standards that the author has utilized the value set in.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Who has used and how?",
          "definition" : "Consumers of the value set and the implementations, projects or standards that the author has utilized the value set in.",
          "comment" : "This is likely to be a point-in-time view and should not be considered an authoritative listing of all uses of the value set.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:user",
          "path" : "Extension.extension",
          "sliceName" : "user",
          "short" : "A consumer of or client for the value set",
          "definition" : "This is most likely to be an organization but can be an individual. It would not be a program, that information should be recorded in the usage.use.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:user.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:user.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:user.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "user",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:user.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:use",
          "path" : "Extension.extension",
          "sliceName" : "use",
          "short" : "Implementation/project/standard that uses value set",
          "definition" : "A descriptive name of the project or standard in which the value set is used.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:use.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:use.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:use.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "use",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:use.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-usage",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Who has used and how?",
          "definition" : "Consumers of the value set and the implementations, projects or standards that the author has utilized the value set in.",
          "comment" : "This is likely to be a point-in-time view and should not be considered an authoritative listing of all uses of the value set.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:user",
          "path" : "Extension.extension",
          "sliceName" : "user",
          "short" : "A consumer of or client for the value set",
          "definition" : "This is most likely to be an organization but can be an individual. It would not be a program, that information should be recorded in the usage.use.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:user.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:user.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "user"
        },
        {
          "id" : "Extension.extension:user.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.extension:use",
          "path" : "Extension.extension",
          "sliceName" : "use",
          "short" : "Implementation/project/standard that uses value set",
          "definition" : "A descriptive name of the project or standard in which the value set is used.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:use.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:use.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "use"
        },
        {
          "id" : "Extension.extension:use.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-usage"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqf-systemUserTaskContext",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext",
      "version" : "4.0.1",
      "name" : "systemUserTaskContext",
      "title" : "systemUserTaskContext",
      "status" : "draft",
      "date" : "2015-05-30",
      "publisher" : "Health Level Seven, Inc. - CDS WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/dss"
        }]
      }],
      "description" : "The task the system user is performing, e.g. laboratory results review, medication list review, etc. This information can be used to tailor decision support outputs, such as recommended information resources.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Basic"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The task the system user is performing",
          "definition" : "The task the system user is performing, e.g. laboratory results review, medication list review, etc. This information can be used to tailor decision support outputs, such as recommended information resources.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The task the system user is performing",
          "definition" : "The task the system user is performing, e.g. laboratory results review, medication list review, etc. This information can be used to tailor decision support outputs, such as recommended information resources.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/procedure-method",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "procedure-method",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/procedure-method",
      "version" : "4.0.1",
      "name" : "method",
      "title" : "method",
      "status" : "draft",
      "date" : "2015-02-12",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "The method used to perform this procedure.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Procedure"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The method used to perform the procedure",
          "definition" : "The method used to perform this procedure.",
          "comment" : "Improve definition. Add mappings.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/procedure-method",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The method used to perform the procedure",
          "definition" : "The method used to perform this procedure.",
          "comment" : "Improve definition. Add mappings.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/procedure-method"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "structuredefinition-category",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
      "version" : "4.0.1",
      "name" : "category",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The category under which the resource type is presented on the official resource list.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "StructureDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Category from official resource list",
          "definition" : "The category under which the resource type is presented on the official resource list.",
          "comment" : "To allow tools to follow the same structure for user convenience.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Category from official resource list",
          "definition" : "The category under which the resource type is presented on the official resource list.",
          "comment" : "To allow tools to follow the same structure for user convenience.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-category"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/specimen-processingTime",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "specimen-processingTime",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/specimen-processingTime",
      "version" : "4.0.1",
      "name" : "processingTime",
      "title" : "Processing Time",
      "status" : "draft",
      "date" : "2015-02-19",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "Period or duration of processing.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Specimen.processing"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Time of processing",
          "definition" : "Period or duration of processing.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/specimen-processingTime",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Period"
          },
          {
            "code" : "Duration"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Time of processing",
          "definition" : "Period or duration of processing.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/specimen-processingTime"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Period"
          },
          {
            "code" : "Duration"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "specimen-specialHandling",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling",
      "version" : "4.0.1",
      "name" : "specialHandling",
      "title" : "Special handling",
      "status" : "draft",
      "date" : "2015-02-19",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "Special handling during the collection, transport, or storage of the specimen.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Specimen.collection"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Special handling of the specimen",
          "definition" : "Special handling during the collection, transport, or storage of the specimen.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Special handling of the specimen",
          "definition" : "Special handling during the collection, transport, or storage of the specimen.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "workflow-instantiatesCanonical",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical",
      "version" : "4.0.1",
      "name" : "instantiatesCanonical",
      "title" : "Definition",
      "status" : "draft",
      "date" : "2017-12-06",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fwg"
        }]
      }],
      "description" : "The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by the event or request resource.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "workflow",
        "uri" : "http://hl7.org/fhir/workflow",
        "name" : "Workflow Pattern"
      },
      {
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      },
      {
        "type" : "element",
        "expression" : "DiagnosticReport"
      },
      {
        "type" : "element",
        "expression" : "Media"
      },
      {
        "type" : "element",
        "expression" : "Condition"
      },
      {
        "type" : "element",
        "expression" : "SupplyDelivery"
      },
      {
        "type" : "element",
        "expression" : "CommunicationRequest"
      },
      {
        "type" : "element",
        "expression" : "SupplyRequest"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "FHIR protocol or definition",
          "definition" : "The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by the event or request resource.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.instantiates"
          },
          {
            "identity" : "v2",
            "map" : "Varies by domain"
          },
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=DEFN].target"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ActivityDefinition",
            "http://hl7.org/fhir/StructureDefinition/Measure",
            "http://hl7.org/fhir/StructureDefinition/OperationDefinition",
            "http://hl7.org/fhir/StructureDefinition/PlanDefinition",
            "http://hl7.org/fhir/StructureDefinition/Questionnaire"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "FHIR protocol or definition",
          "definition" : "The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by the event or request resource.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.instantiates"
          },
          {
            "identity" : "v2",
            "map" : "Varies by domain"
          },
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=DEFN].target"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ActivityDefinition",
            "http://hl7.org/fhir/StructureDefinition/Measure",
            "http://hl7.org/fhir/StructureDefinition/OperationDefinition",
            "http://hl7.org/fhir/StructureDefinition/PlanDefinition",
            "http://hl7.org/fhir/StructureDefinition/Questionnaire"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "DiagnosticReport-geneticsReferences",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences",
      "version" : "4.0.1",
      "name" : "References",
      "status" : "draft",
      "date" : "2015-10-09",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "Additional bibliographic reference information about genetics, medications, clinical trials, etc. associated with knowledge-based information on genetics/genetic condition.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "DiagnosticReport"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Additional bibliographic reference information",
          "definition" : "Additional bibliographic reference information about genetics, medications, clinical trials, etc. associated with knowledge-based information on genetics/genetic condition.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:description",
          "path" : "Extension.extension",
          "sliceName" : "description",
          "short" : "Reference description",
          "definition" : "Concise description of the genetic reference.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:description.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:description.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:description.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "description",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:description.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:reference",
          "path" : "Extension.extension",
          "sliceName" : "reference",
          "short" : "Reference URI",
          "definition" : "An absolute URI to express where to find the link.",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:reference.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:reference.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:reference.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "reference",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:reference.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:type",
          "path" : "Extension.extension",
          "sliceName" : "type",
          "short" : "Reference type",
          "definition" : "A code that classifies the type of genetic reference link.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:type.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:type.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:type.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "type",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:type.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Diagnostic-Snomed"
            }],
            "strength" : "example",
            "description" : "Codes for diagnostic genetic reference types.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/diagnostic-based-on-snomed"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Additional bibliographic reference information",
          "definition" : "Additional bibliographic reference information about genetics, medications, clinical trials, etc. associated with knowledge-based information on genetics/genetic condition.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension:description",
          "path" : "Extension.extension",
          "sliceName" : "description",
          "short" : "Reference description",
          "definition" : "Concise description of the genetic reference.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:description.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:description.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "description"
        },
        {
          "id" : "Extension.extension:description.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.extension:reference",
          "path" : "Extension.extension",
          "sliceName" : "reference",
          "short" : "Reference URI",
          "definition" : "An absolute URI to express where to find the link.",
          "min" : 0,
          "max" : "*",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:reference.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:reference.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "reference"
        },
        {
          "id" : "Extension.extension:reference.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        },
        {
          "id" : "Extension.extension:type",
          "path" : "Extension.extension",
          "sliceName" : "type",
          "short" : "Reference type",
          "definition" : "A code that classifies the type of genetic reference link.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:type.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:type.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "type"
        },
        {
          "id" : "Extension.extension:type.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Diagnostic-Snomed"
            }],
            "strength" : "example",
            "description" : "Codes for diagnostic genetic reference types.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/diagnostic-based-on-snomed"
          }
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "specimen-sequenceNumber",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber",
      "version" : "4.0.1",
      "name" : "sequenceNumber",
      "title" : "sequenceNumber",
      "status" : "draft",
      "date" : "2015-02-19",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "An assigned number on the specimen denoting the order of collection.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Specimen.container"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The sequence number of the sample",
          "definition" : "An assigned number on the specimen denoting the order of collection.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "integer"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The sequence number of the sample",
          "definition" : "An assigned number on the specimen denoting the order of collection.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "integer"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/location-distance",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "location-distance",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/location-distance",
      "version" : "4.0.1",
      "name" : "location-distance",
      "title" : "Distance",
      "status" : "draft",
      "date" : "2015-03-11",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "A calculated distance between the resource and a provided location.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Bundle.entry.search"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The distance this resource is from a provided location (geocode point)",
          "definition" : "A calculated distance between the resource and a provided location.",
          "comment" : "This may be used with the Location.near/near-distance search parameter.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/location-distance",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Distance"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The distance this resource is from a provided location (geocode point)",
          "definition" : "A calculated distance between the resource and a provided location.",
          "comment" : "This may be used with the Location.near/near-distance search parameter.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/location-distance"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Distance"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-secondaryFinding",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding",
      "version" : "4.0.1",
      "name" : "secondaryFinding",
      "title" : "Secondary Finding",
      "status" : "draft",
      "date" : "2015-03-02",
      "publisher" : "Health Level Seven, Inc. - OO WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/orders"
        }]
      }],
      "description" : "Secondary findings are genetic test results that provide information about variants in a gene unrelated to the primary purpose for the testing, most often discovered when [Whole Exome Sequencing (WES)](https://en.wikipedia.org/wiki/Exome_sequencing) or [Whole Genome Sequencing (WGS)](https://en.wikipedia.org/wiki/Whole_genome_sequencing) is performed. This extension should be used to denote when a genetic finding is being shared as a secondary finding, and ideally refer to a corresponding guideline or policy statement.\n\nFor more detail, please see:\nhttps://ghr.nlm.nih.gov/primer/testing/secondaryfindings.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Secondary findings are genetic test results that provide information about variants in a gene unrelated to the primary purpose for the testing, most often discovered when [Whole Exome Sequencing (WES)](https://en.wikipedia.org/wiki/Exome_sequencing) or [Whole Genome Sequencing (WGS)](https://en.wikipedia.org/wiki/Whole_genome_sequencing) is performed. This extension should be used to denote when a genetic finding is being shared as a secondary finding, and ideally refer to a corresponding guideline or policy statement.\n\nFor more detail, please see:\nhttps://ghr.nlm.nih.gov/primer/testing/secondaryfindings",
          "definition" : "Secondary findings are genetic test results that provide information about variants in a gene unrelated to the primary purpose for the testing, most often discovered when [Whole Exome Sequencing (WES)](https://en.wikipedia.org/wiki/Exome_sequencing) or [Whole Genome Sequencing (WGS)](https://en.wikipedia.org/wiki/Whole_genome_sequencing) is performed. This extension should be used to denote when a genetic finding is being shared as a secondary finding, and ideally refer to a corresponding guideline or policy statement.\n\nFor more detail, please see:\nhttps://ghr.nlm.nih.gov/primer/testing/secondaryfindings.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "SecondaryFinding"
            }],
            "strength" : "extensible",
            "description" : "Codes to denote a guideline or policy statement.when a genetic test result is being shared as a secondary finding.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/secondary-finding"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Secondary findings are genetic test results that provide information about variants in a gene unrelated to the primary purpose for the testing, most often discovered when [Whole Exome Sequencing (WES)](https://en.wikipedia.org/wiki/Exome_sequencing) or [Whole Genome Sequencing (WGS)](https://en.wikipedia.org/wiki/Whole_genome_sequencing) is performed. This extension should be used to denote when a genetic finding is being shared as a secondary finding, and ideally refer to a corresponding guideline or policy statement.\n\nFor more detail, please see:\nhttps://ghr.nlm.nih.gov/primer/testing/secondaryfindings",
          "definition" : "Secondary findings are genetic test results that provide information about variants in a gene unrelated to the primary purpose for the testing, most often discovered when [Whole Exome Sequencing (WES)](https://en.wikipedia.org/wiki/Exome_sequencing) or [Whole Genome Sequencing (WGS)](https://en.wikipedia.org/wiki/Whole_genome_sequencing) is performed. This extension should be used to denote when a genetic finding is being shared as a secondary finding, and ideally refer to a corresponding guideline or policy statement.\n\nFor more detail, please see:\nhttps://ghr.nlm.nih.gov/primer/testing/secondaryfindings.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "SecondaryFinding"
            }],
            "strength" : "extensible",
            "description" : "Codes to denote a guideline or policy statement.when a genetic test result is being shared as a secondary finding.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/secondary-finding"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-SC-coding",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding",
      "version" : "4.0.1",
      "name" : "SC-coding",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "Provides a coded expression for the content represented in a string.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "string"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "code for string",
          "definition" : "Provides a coded expression for the content represented in a string.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "SC.code"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Coding"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "StringCoding"
            }],
            "strength" : "example",
            "description" : "A coded representation for a string.  Could be codes for country in a country address part, codes for prefixes in a name part, etc."
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "code for string",
          "definition" : "Provides a coded expression for the content represented in a string.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "SC.code"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Coding"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "StringCoding"
            }],
            "strength" : "example",
            "description" : "A coded representation for a string.  Could be codes for country in a country address part, codes for prefixes in a name part, etc."
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-parameterSource",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-parameterSource",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-parameterSource",
      "version" : "4.0.1",
      "name" : "parameterSource",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Declares what the source of this parameter is.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet.expansion.parameter"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Declares the source of the parameter",
          "definition" : "Declares what the source of this parameter is.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-parameterSource",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ExpansionParameterSource"
            }],
            "strength" : "required",
            "description" : "Declares what the source of a parameter is.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/expansion-parameter-source|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Declares the source of the parameter",
          "definition" : "Declares what the source of this parameter is.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-parameterSource"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ExpansionParameterSource"
            }],
            "strength" : "required",
            "description" : "Declares what the source of a parameter is.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/expansion-parameter-source|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "familymemberhistory-patient-record",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record",
      "version" : "4.0.1",
      "name" : "patient-record",
      "title" : "Patient Record",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "A link to one to more patient records for the relation.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "FamilyMemberHistory"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Link to patient record",
          "definition" : "A link to one to more patient records for the relation.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Link to patient record",
          "definition" : "A link to one to more patient records for the relation.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/servicerequest-precondition",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "servicerequest-precondition",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/servicerequest-precondition",
      "version" : "4.0.1",
      "name" : "precondition",
      "title" : "precondition",
      "status" : "draft",
      "date" : "2015-02-12",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "The condition or state of the patient, prior or during the diagnostic procedure or test, for example, fasting, at-rest, or post-operative. This captures circumstances that may influence the measured value and have bearing on the interpretation of the result.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ServiceRequest"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The condition or state of the patient for this test",
          "definition" : "The condition or state of the patient, prior or during the diagnostic procedure or test, for example, fasting, at-rest, or post-operative. This captures circumstances that may influence the measured value and have bearing on the interpretation of the result.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/servicerequest-precondition",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The condition or state of the patient for this test",
          "definition" : "The condition or state of the patient, prior or during the diagnostic procedure or test, for example, fasting, at-rest, or post-operative. This captures circumstances that may influence the measured value and have bearing on the interpretation of the result.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/servicerequest-precondition"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/consent-Witness",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "consent-Witness",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "cbcc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/consent-Witness",
      "version" : "4.0.1",
      "name" : "Witness",
      "title" : "Witness",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "Health Level Seven, Inc. - CBCC WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/homehealth/index.cfm"
        }]
      }],
      "description" : "Any witness to the consent.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Consent"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Witness to Consent",
          "definition" : "Any witness to the consent.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/consent-Witness",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization",
            "http://hl7.org/fhir/StructureDefinition/Patient",
            "http://hl7.org/fhir/StructureDefinition/Practitioner",
            "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Witness to Consent",
          "definition" : "Any witness to the consent.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/consent-Witness"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization",
            "http://hl7.org/fhir/StructureDefinition/Patient",
            "http://hl7.org/fhir/StructureDefinition/Practitioner",
            "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "structuredefinition-normative-version",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
      "version" : "4.0.1",
      "name" : "normative-version",
      "title" : "First Normative Version",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "If this StructureDefinition is normative, which was the first normative version.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "StructureDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "If normative, which was the first normative version",
          "definition" : "If this StructureDefinition is normative, which was the first normative version.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "FHIRVersion"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "required",
            "description" : "All published FHIR Versions.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/FHIR-version|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "If normative, which was the first normative version",
          "definition" : "If this StructureDefinition is normative, which was the first normative version.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "FHIRVersion"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "required",
            "description" : "All published FHIR Versions.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/FHIR-version|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "DiagnosticReport-geneticsAssessedCondition",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition",
      "version" : "4.0.1",
      "name" : "AssessedCondition",
      "status" : "draft",
      "date" : "2015-10-09",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "Used to denote condition context for genetic testing, which may influence reported variants and interpretation for large genomic testing panels e.g. lung cancer or familial breast cancer.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "DiagnosticReport"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "AssessedCondition",
          "definition" : "Used to denote condition context for genetic testing, which may influence reported variants and interpretation for large genomic testing panels e.g. lung cancer or familial breast cancer.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "AssessedCondition",
          "definition" : "Used to denote condition context for genetic testing, which may influence reported variants and interpretation for large genomic testing panels e.g. lung cancer or familial breast cancer.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "elementdefinition-allowedUnits",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits",
      "version" : "4.0.1",
      "name" : "allowedUnits",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "Identifies the units of measure in which the element should be captured or expressed.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ElementDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Units to use for measured value",
          "definition" : "Identifies the units of measure in which the element should be captured or expressed.",
          "comment" : "Use a value set if more than one unit of measure is possible.  Value sets will typically be short enough to display in a drop-down selection list.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "OM2.2"
          },
          {
            "identity" : "rim",
            "map" : "N/A (MIF territory)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          },
          {
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ValueSet"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Units"
            }],
            "strength" : "required",
            "description" : "Units of measure allowed for an element.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/ucum-units|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Units to use for measured value",
          "definition" : "Identifies the units of measure in which the element should be captured or expressed.",
          "comment" : "Use a value set if more than one unit of measure is possible.  Value sets will typically be short enough to display in a drop-down selection list.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "OM2.2"
          },
          {
            "identity" : "rim",
            "map" : "N/A (MIF territory)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          },
          {
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ValueSet"]
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Units"
            }],
            "strength" : "required",
            "description" : "Units of measure allowed for an element.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/ucum-units|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/rendered-value",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "rendered-value",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/rendered-value",
      "version" : "4.0.1",
      "name" : "Rendered Value",
      "title" : "Rendered Value",
      "status" : "draft",
      "date" : "2013-12-05",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "Provides a rendered version of the value intended for human display.  For example, a sensitive identifier (e.g. social security number) partially obscured by asterisks; a drivers licence number with dashes inserted; a date formatted as MMM dd, yyyy; etc.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Identifier.value"
      },
      {
        "type" : "element",
        "expression" : "date"
      },
      {
        "type" : "element",
        "expression" : "dateTime"
      },
      {
        "type" : "element",
        "expression" : "time"
      },
      {
        "type" : "element",
        "expression" : "instant"
      },
      {
        "type" : "element",
        "expression" : "integer"
      },
      {
        "type" : "element",
        "expression" : "decimal"
      },
      {
        "type" : "element",
        "expression" : "string"
      },
      {
        "type" : "element",
        "expression" : "code"
      },
      {
        "type" : "element",
        "expression" : "canonical"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "What should be displayed to human (if default is not appropriate)",
          "definition" : "Provides a rendered version of the value intended for human display.  For example, a sensitive identifier (e.g. social security number) partially obscured by asterisks; a drivers licence number with dashes inserted; a date formatted as MMM dd, yyyy; etc.",
          "comment" : "In some cases, this extension may be present and the value won't be present.  For example if the recipient only has permission to see a partially masked view of a value.  The rendering may be realm-specific.  (E.g. the use of ',' vs. '.' when rendering numbers.).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/rendered-value",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "What should be displayed to human (if default is not appropriate)",
          "definition" : "Provides a rendered version of the value intended for human display.  For example, a sensitive identifier (e.g. social security number) partially obscured by asterisks; a drivers licence number with dashes inserted; a date formatted as MMM dd, yyyy; etc.",
          "comment" : "In some cases, this extension may be present and the value won't be present.  For example if the recipient only has permission to see a partially masked view of a value.  The rendering may be realm-specific.  (E.g. the use of ',' vs. '.' when rendering numbers.).",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/rendered-value"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/device-implantStatus",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "device-implantStatus",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/device-implantStatus",
      "version" : "4.0.1",
      "name" : "implantStatus",
      "title" : "Status of Implantable Devices",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "Codes to represent the functional status of a device implanted in a patient.  Both overall device status and an implant status need to be considered. The implant status should only be used when the [device status](device-definitions.html#Device.status) is `active `.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Device"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Implant Status",
          "definition" : "Codes to represent the functional status of a device implanted in a patient.  Both overall device status and an implant status need to be considered. The implant status should only be used when the [device status](device-definitions.html#Device.status) is `active `.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/device-implantStatus",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Implant Status"
            }],
            "strength" : "required",
            "description" : "A set codes that define the functional status of an implanted device.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/implantStatus|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Implant Status",
          "definition" : "Codes to represent the functional status of a device implanted in a patient.  Both overall device status and an implant status need to be considered. The implant status should only be used when the [device status](device-definitions.html#Device.status) is `active `.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/device-implantStatus"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Implant Status"
            }],
            "strength" : "required",
            "description" : "A set codes that define the functional status of an implanted device.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/implantStatus|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-geneticsInterpretation",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation",
      "version" : "4.0.1",
      "name" : "Interpretation",
      "status" : "draft",
      "date" : "2016-03-14",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "Clinical Interpretations for variant. It's a reference to an Observation resource.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Clinical interpretations for variant",
          "definition" : "Clinical Interpretations for variant. It's a reference to an Observation resource.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Observation"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Clinical interpretations for variant",
          "definition" : "Clinical Interpretations for variant. It's a reference to an Observation resource.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Observation"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-author",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-author",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-author",
      "version" : "4.0.1",
      "name" : "author",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "The entity or set of entities that create and may modify the Value Set Definition content. The name of a group or an individual, along with contact details.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Entity/entities that create and may modify the Value Set",
          "definition" : "The entity or set of entities that create and may modify the Value Set Definition content. The name of a group or an individual, along with contact details.",
          "comment" : "This can be any combination of groups or individuals. When known and actively maintained, this should be populated. The information included about the Author may include contact information.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-author",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "ContactDetail"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Entity/entities that create and may modify the Value Set",
          "definition" : "The entity or set of entities that create and may modify the Value Set Definition content. The name of a group or an individual, along with contact details.",
          "comment" : "This can be any combination of groups or individuals. When known and actively maintained, this should be populated. The information included about the Author may include contact information.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-author"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "ContactDetail"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-system",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-system",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-system",
      "version" : "4.0.1",
      "name" : "system",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Allows a direct reference to the code system for FHIR query.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet.compose.include.system"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Code system resource",
          "definition" : "Allows a direct reference to the code system for FHIR query.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-system",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/CodeSystem"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Code system resource",
          "definition" : "Allows a direct reference to the code system for FHIR query.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-system"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/CodeSystem"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-precinct",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct",
      "version" : "4.0.1",
      "name" : "ADXP-precinct",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "A subsection of a municipality.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "precinct",
          "definition" : "A subsection of a municipality.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=PRE]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "precinct",
          "definition" : "A subsection of a municipality.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=PRE]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "openEHR-exposureDate",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate",
      "version" : "4.0.1",
      "name" : "exposureDate",
      "status" : "draft",
      "date" : "2014-10-09",
      "publisher" : "Health Level Seven, Inc / openEHR project",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org"
        }]
      }],
      "description" : "Record of the date and/or time of the first exposure to the Substance for this Reaction Event.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AllergyIntolerance.reaction"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Date(/time) of first exposure to Substance",
          "definition" : "Record of the date and/or time of the first exposure to the Substance for this Reaction Event.",
          "comment" : "Exposure can be more complicated by more than one exposure events leading to a reaction. Further details about the nature of the exposure can be provided in additional extensions, or as text in the Exposure Description extension.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "dateTime"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Date(/time) of first exposure to Substance",
          "definition" : "Record of the date and/or time of the first exposure to the Substance for this Reaction Event.",
          "comment" : "Exposure can be more complicated by more than one exposure events leading to a reaction. Further details about the nature of the exposure can be provided in additional extensions, or as text in the Exposure Description extension.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "dateTime"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "allergyintolerance-duration",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration",
      "version" : "4.0.1",
      "name" : "duration",
      "title" : "duration",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "The amount of time that the Adverse Reaction persisted.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AllergyIntolerance.reaction"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "How long Manifestations persisted",
          "definition" : "The amount of time that the Adverse Reaction persisted.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Duration"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "How long Manifestations persisted",
          "definition" : "The amount of time that the Adverse Reaction persisted.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Duration"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "rendering-styleSensitive",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive",
      "version" : "4.0.1",
      "name" : "styleSensitive",
      "status" : "draft",
      "date" : "2014-04-23",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "Indicates that the style extensions (style, markdown and xhtml) in this resource instance are essential to the interpretation of the instance and that systems that are not capable of rendering using those extensions should not be used to render the resource.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Element"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Are styles important for processing?",
          "definition" : "Indicates that the style extensions (style, markdown and xhtml) in this resource instance are essential to the interpretation of the instance and that systems that are not capable of rendering using those extensions should not be used to render the resource.",
          "comment" : "If set to true, all systems that claim to support this extension and that render elements from the resource SHALL either render the content as required by the style extensions ([style], [xhtml] and [markdown]) or shall indicate to the user that the resource (or specific elements in the resource) cannot be appropriately rendered by the system.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Are styles important for processing?",
          "definition" : "Indicates that the style extensions (style, markdown and xhtml) in this resource instance are essential to the interpretation of the instance and that systems that are not capable of rendering using those extensions should not be used to render the resource.",
          "comment" : "If set to true, all systems that claim to support this extension and that render elements from the resource SHALL either render the content as required by the style extensions ([style], [xhtml] and [markdown]) or shall indicate to the user that the resource (or specific elements in the resource) cannot be appropriately rendered by the system.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "codesystem-trusted-expansion",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion",
      "version" : "4.0.1",
      "name" : "trusted-expansion",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Indicates an authoritative source for performing value set expansions.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CodeSystem"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Reference to a trusted expansion",
          "definition" : "Indicates an authoritative source for performing value set expansions.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Reference to a trusted expansion",
          "definition" : "Indicates an authoritative source for performing value set expansions.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "hla-genotyping-results-method",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method",
      "version" : "4.0.1",
      "name" : "method",
      "status" : "draft",
      "date" : "2015-10-09",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "The platform, methodology and software applied at the time of the\rgenotyping.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "DiagnosticReport"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The platform, methodology and software applied at the time of the\rgenotyping",
          "definition" : "The platform, methodology and software applied at the time of the\rgenotyping.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The platform, methodology and software applied at the time of the\rgenotyping",
          "definition" : "The platform, methodology and software applied at the time of the\rgenotyping.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-geneticsAminoAcidChange",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange",
      "version" : "4.0.1",
      "name" : "AminoAcidChange",
      "status" : "draft",
      "date" : "2016-03-14",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "AminoAcidChange information.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "AminoAcidChange",
          "definition" : "AminoAcidChange information.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:Name",
          "path" : "Extension.extension",
          "sliceName" : "Name",
          "short" : "HGVS nomenclature for observed Amino Acid Change",
          "definition" : "Human Genome Variation Society (HGVS) nomenclature for an amino acid change. Reference sequence ID used for HGVS naming must be annotated. An amino acid is a sequence feature that corresponds to a single amino acid residue in a polypeptide ([SO:0001237](http://www.sequenceontology.org/browser/current_svn/term/SO:0001237)). LOINC Code: ([48005-3](http://loinc.org/48005-3)).",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Name.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:Name.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:Name.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Name",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Name.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ClinVar-variant-database"
            }],
            "strength" : "preferred",
            "description" : "NCBI central repository of potentially clinically relevant variants.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/clinvar"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Type",
          "path" : "Extension.extension",
          "sliceName" : "Type",
          "short" : "Amino Acid Change Type",
          "definition" : "Codified type for associated Amino Acid Change.  LOINC Code: ([48006-1](http://loinc.org/48006-1)).",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Type.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:Type.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:Type.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Type",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Type.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "AminoAcidChange",
          "definition" : "AminoAcidChange information.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Name",
          "path" : "Extension.extension",
          "sliceName" : "Name",
          "short" : "HGVS nomenclature for observed Amino Acid Change",
          "definition" : "Human Genome Variation Society (HGVS) nomenclature for an amino acid change. Reference sequence ID used for HGVS naming must be annotated. An amino acid is a sequence feature that corresponds to a single amino acid residue in a polypeptide ([SO:0001237](http://www.sequenceontology.org/browser/current_svn/term/SO:0001237)). LOINC Code: ([48005-3](http://loinc.org/48005-3)).",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Name.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:Name.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Name"
        },
        {
          "id" : "Extension.extension:Name.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ClinVar-variant-database"
            }],
            "strength" : "preferred",
            "description" : "NCBI central repository of potentially clinically relevant variants.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/clinvar"
          }
        },
        {
          "id" : "Extension.extension:Type",
          "path" : "Extension.extension",
          "sliceName" : "Type",
          "short" : "Amino Acid Change Type",
          "definition" : "Codified type for associated Amino Acid Change.  LOINC Code: ([48006-1](http://loinc.org/48006-1)).",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Type.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:Type.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Type"
        },
        {
          "id" : "Extension.extension:Type.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaire-optionPrefix",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix",
      "version" : "4.0.1",
      "name" : "optionPrefix",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "The label to list in front of a code when presenting a list of possible values in a questionnaire-like fashion.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item.answerOption"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "E.g. \"(a)\", \"1.\", etc.",
          "definition" : "The label to list in front of a code when presenting a list of possible values in a questionnaire-like fashion.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "E.g. \"(a)\", \"1.\", etc.",
          "definition" : "The label to list in front of a code when presenting a list of possible values in a questionnaire-like fashion.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/organization-preferredContact",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "organization-preferredContact",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/organization-preferredContact",
      "version" : "4.0.1",
      "name" : "preferredContact",
      "title" : "Preferred Contact",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "This Contact is the preferred contact at this organization for the purpose of the contact\n\nThere can be multiple contacts on an Organizations record with this value set to true, but these should all have different purpose values.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Organization.contact"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Extension",
          "definition" : "This Contact is the preferred contact at this organization for the purpose of the contact\n\nThere can be multiple contacts on an Organizations record with this value set to true, but these should all have different purpose values.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/organization-preferredContact",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "definition" : "This Contact is the preferred contact at this organization for the purpose of the contact\n\nThere can be multiple contacts on an Organizations record with this value set to true, but these should all have different purpose values.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/organization-preferredContact"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "elementdefinition-bestpractice-explanation",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
      "version" : "4.0.1",
      "name" : "bestpractice-explanation",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "Explains why an invariant is labelled as a best practice invariant.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ElementDefinition.constraint"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Explains why an invariant is labelled as best practice",
          "definition" : "Explains why an invariant is labelled as a best practice invariant.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "markdown"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Explains why an invariant is labelled as best practice",
          "definition" : "Explains why an invariant is labelled as a best practice invariant.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "markdown"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-AD-use",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-AD-use",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-AD-use",
      "version" : "4.0.1",
      "name" : "AD-use",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "Uses of Addresses - codes not defined as part of Address.use.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "BAD | CONF | HP | HV | DIR | PUB | PHYS | PST",
          "definition" : "Uses of Addresses - codes not defined as part of Address.use.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "AD.use"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-AD-use",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "PostalAddressUse"
            }],
            "strength" : "required",
            "description" : "Uses of an address not included in Address.use.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/postal-address-use|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "BAD | CONF | HP | HV | DIR | PUB | PHYS | PST",
          "definition" : "Uses of Addresses - codes not defined as part of Address.use.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "AD.use"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-AD-use"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "PostalAddressUse"
            }],
            "strength" : "required",
            "description" : "Uses of an address not included in Address.use.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/postal-address-use|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/patient-proficiency",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "patient-proficiency",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/patient-proficiency",
      "version" : "4.0.1",
      "name" : "proficiency",
      "title" : "proficiency",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Proficiency level of the communication.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Patient.communication"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Proficiency level of the communication",
          "definition" : "Proficiency level of the communication.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:level",
          "path" : "Extension.extension",
          "sliceName" : "level",
          "short" : "The proficiency level of the communication",
          "definition" : "How well the patient can communicate this communication (good, poor, etc.).",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:level.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:level.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:level.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "level",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:level.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Coding"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ProficiencyLevel"
            }],
            "strength" : "preferred",
            "description" : "The proficiency level for the communication.",
            "valueSet" : "http://terminology.hl7.org/ValueSet/v3-LanguageAbilityProficiency"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:type",
          "path" : "Extension.extension",
          "sliceName" : "type",
          "short" : "The proficiency type of the communication",
          "definition" : "What type of communication for the proficiency (spoken, written, etc.).",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:type.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:type.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:type.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "type",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:type.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Coding"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "proficiencyType"
            }],
            "strength" : "preferred",
            "description" : "The proficiency type for the communication.",
            "valueSet" : "http://terminology.hl7.org/ValueSet/v3-LanguageAbilityMode"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-proficiency",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Proficiency level of the communication",
          "definition" : "Proficiency level of the communication.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension:level",
          "path" : "Extension.extension",
          "sliceName" : "level",
          "short" : "The proficiency level of the communication",
          "definition" : "How well the patient can communicate this communication (good, poor, etc.).",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:level.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:level.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "level"
        },
        {
          "id" : "Extension.extension:level.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Coding"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ProficiencyLevel"
            }],
            "strength" : "preferred",
            "description" : "The proficiency level for the communication.",
            "valueSet" : "http://terminology.hl7.org/ValueSet/v3-LanguageAbilityProficiency"
          }
        },
        {
          "id" : "Extension.extension:type",
          "path" : "Extension.extension",
          "sliceName" : "type",
          "short" : "The proficiency type of the communication",
          "definition" : "What type of communication for the proficiency (spoken, written, etc.).",
          "min" : 0,
          "max" : "*",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:type.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:type.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "type"
        },
        {
          "id" : "Extension.extension:type.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Coding"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "proficiencyType"
            }],
            "strength" : "preferred",
            "description" : "The proficiency type for the communication.",
            "valueSet" : "http://terminology.hl7.org/ValueSet/v3-LanguageAbilityMode"
          }
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-proficiency"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/originalText",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "originalText",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/originalText",
      "version" : "4.0.1",
      "name" : "Original Text",
      "title" : "Original Text",
      "status" : "draft",
      "date" : "2013-12-05",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "A human language representation of the concept (resource/element) as seen/selected/uttered by the user who entered the data and/or which represents the full intended meaning of the user. This can be provided either directly as text, or as a url that is a reference to a portion of the narrative of a resource ([DomainResource.text](narrative.html)).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Element"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Original Text that represents the data as seen/selected/uttered originally",
          "definition" : "A human language representation of the concept (resource/element) as seen/selected/uttered by the user who entered the data and/or which represents the full intended meaning of the user. This can be provided either directly as text, or as a url that is a reference to a portion of the narrative of a resource ([DomainResource.text](narrative.html)).",
          "comment" : "The data in the element does not always capture the correct meaning with all the nuances of the original text. In these cases, the text is used to capture the full meaning of the source. This is commonly used to provide \"what did the user actually see/type\". Note that this extension has the same definition as CodeableConcept.text and SHALL NOT be used on CodeableConcept with type = string in place of CodeableConcept.text but MAY be used with type url. If present on a CodeableConcept with type url as well as CodeableConcept.text, then the CodeableConcept.text SHALL match the referenced narrative. \n\nIt's also possible to link to the resource narrative using the [narrativeLink extension](extension-narrativelink.html) which does not claim that the data is derived from the text.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/originalText",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Original Text that represents the data as seen/selected/uttered originally",
          "definition" : "A human language representation of the concept (resource/element) as seen/selected/uttered by the user who entered the data and/or which represents the full intended meaning of the user. This can be provided either directly as text, or as a url that is a reference to a portion of the narrative of a resource ([DomainResource.text](narrative.html)).",
          "comment" : "The data in the element does not always capture the correct meaning with all the nuances of the original text. In these cases, the text is used to capture the full meaning of the source. This is commonly used to provide \"what did the user actually see/type\". Note that this extension has the same definition as CodeableConcept.text and SHALL NOT be used on CodeableConcept with type = string in place of CodeableConcept.text but MAY be used with type url. If present on a CodeableConcept with type url as well as CodeableConcept.text, then the CodeableConcept.text SHALL match the referenced narrative. \n\nIt's also possible to link to the resource narrative using the [narrativeLink extension](extension-narrativelink.html) which does not claim that the data is derived from the text.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/originalText"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/translation",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "translation",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/translation",
      "version" : "4.0.1",
      "name" : "Translation",
      "title" : "Translation",
      "status" : "draft",
      "date" : "2013-12-05",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "Language translation from base language of resource to another language.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "string"
      },
      {
        "type" : "element",
        "expression" : "code"
      },
      {
        "type" : "element",
        "expression" : "markdown"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Language Translation (Localization)",
          "definition" : "Language translation from base language of resource to another language.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ST.translation"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:lang",
          "path" : "Extension.extension",
          "sliceName" : "lang",
          "short" : "Code for Language",
          "definition" : "Code for Language.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:lang.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:lang.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:lang.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "lang",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:lang.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Language"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "preferred",
            "description" : "A human language.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:content",
          "path" : "Extension.extension",
          "sliceName" : "content",
          "short" : "Content in other Language",
          "definition" : "Content in other Language.",
          "comment" : "The type (string or markdown) must match the context in which it is used.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:content.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:content.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:content.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "content",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:content.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          },
          {
            "code" : "markdown"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/translation",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Language Translation (Localization)",
          "definition" : "Language translation from base language of resource to another language.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ST.translation"
          }]
        },
        {
          "id" : "Extension.extension:lang",
          "path" : "Extension.extension",
          "sliceName" : "lang",
          "short" : "Code for Language",
          "definition" : "Code for Language.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:lang.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:lang.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "lang"
        },
        {
          "id" : "Extension.extension:lang.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Language"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "preferred",
            "description" : "A human language.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
          }
        },
        {
          "id" : "Extension.extension:content",
          "path" : "Extension.extension",
          "sliceName" : "content",
          "short" : "Content in other Language",
          "definition" : "Content in other Language.",
          "comment" : "The type (string or markdown) must match the context in which it is used.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:content.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:content.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "content"
        },
        {
          "id" : "Extension.extension:content.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          },
          {
            "code" : "markdown"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/translation"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/goal-relationship",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "goal-relationship",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/goal-relationship",
      "version" : "4.0.1",
      "name" : "relationship",
      "title" : "related goal",
      "status" : "draft",
      "date" : "2014-12-07",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fhir"
        }]
      }],
      "description" : "Establishes a relationship between this goal and other goals.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Goal"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Goals related to this Goal",
          "definition" : "Establishes a relationship between this goal and other goals.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:type",
          "path" : "Extension.extension",
          "sliceName" : "type",
          "short" : "predecessor | successor | replacement | other",
          "definition" : "Identifies what kind of relationship exists between source and target goal.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:type.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:type.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:type.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "type",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:type.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "GoalRelationshipType"
            }],
            "strength" : "extensible",
            "description" : "Types of relationships between two goals.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/goal-relationship-type"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:target",
          "path" : "Extension.extension",
          "sliceName" : "target",
          "short" : "Related goal",
          "definition" : "The goal the relationship exists with.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:target.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:target.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:target.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "target",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:target.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Goal"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/goal-relationship",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Goals related to this Goal",
          "definition" : "Establishes a relationship between this goal and other goals.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension:type",
          "path" : "Extension.extension",
          "sliceName" : "type",
          "short" : "predecessor | successor | replacement | other",
          "definition" : "Identifies what kind of relationship exists between source and target goal.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:type.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:type.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "type"
        },
        {
          "id" : "Extension.extension:type.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "GoalRelationshipType"
            }],
            "strength" : "extensible",
            "description" : "Types of relationships between two goals.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/goal-relationship-type"
          }
        },
        {
          "id" : "Extension.extension:target",
          "path" : "Extension.extension",
          "sliceName" : "target",
          "short" : "Related goal",
          "definition" : "The goal the relationship exists with.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:target.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:target.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "target"
        },
        {
          "id" : "Extension.extension:target.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Goal"]
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/goal-relationship"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/11179-objectClass",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "11179-objectClass",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/11179-objectClass",
      "version" : "4.0.1",
      "name" : "objectClass",
      "title" : "Object Class",
      "status" : "draft",
      "date" : "2014-04-21",
      "publisher" : "Health Level Seven International (Orders and Observations)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org"
        }]
      }],
      "description" : "A concept that represents a set of ideas, abstractions, or things in the real world that can be identified with explicit boundaries and meaning and whose properties and behavior follow the same rules. It may be either a single concept or a group of associated concepts, abstractions, or things.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      },
      {
        "identity" : "iso11179",
        "uri" : "http://metadata-standards.org/11179/",
        "name" : "ISO 11179"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ElementDefinition.mapping"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Object Class",
          "definition" : "A concept that represents a set of ideas, abstractions, or things in the real world that can be identified with explicit boundaries and meaning and whose properties and behavior follow the same rules. It may be either a single concept or a group of associated concepts, abstractions, or things.",
          "comment" : "ObjectClass and Property are treated as a data model that can be mapped to, like any other.  This extension merely captures the ObjectClass element as a discrete code.  The information conveyed here should also be conveyed in human-readable form in the mapping.map element.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          },
          {
            "identity" : "iso11179",
            "map" : "Data_Element.meaning.object_class"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/11179-objectClass",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Coding"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "11179ObjectClass"
            }],
            "strength" : "example",
            "description" : "A concept that represents a set of ideas, abstractions, or things in the real world that can be identified with explicit boundaries and meaning and whose properties and behavior follow the same rules; e.g. Person, Prescription, Encounter, etc.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/dataelement-sdcobjectclass"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Object Class",
          "definition" : "A concept that represents a set of ideas, abstractions, or things in the real world that can be identified with explicit boundaries and meaning and whose properties and behavior follow the same rules. It may be either a single concept or a group of associated concepts, abstractions, or things.",
          "comment" : "ObjectClass and Property are treated as a data model that can be mapped to, like any other.  This extension merely captures the ObjectClass element as a discrete code.  The information conveyed here should also be conveyed in human-readable form in the mapping.map element.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          },
          {
            "identity" : "iso11179",
            "map" : "Data_Element.meaning.object_class"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/11179-objectClass"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Coding"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "11179ObjectClass"
            }],
            "strength" : "example",
            "description" : "A concept that represents a set of ideas, abstractions, or things in the real world that can be identified with explicit boundaries and meaning and whose properties and behavior follow the same rules; e.g. Person, Prescription, Encounter, etc.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/dataelement-sdcobjectclass"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "humanname-partner-prefix",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
      "version" : "4.0.1",
      "name" : "partner-prefix",
      "status" : "draft",
      "date" : "2015-11-22",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The prefix portion (e.g. voorvoegsel) of the family name that is derived from the person's partner's surname, as distinguished from any portion that is derived from the surname of the person's own.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "HumanName.family"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Voorvoegsel derived from person's partner's surname",
          "definition" : "The prefix portion (e.g. voorvoegsel) of the family name that is derived from the person's partner's surname, as distinguished from any portion that is derived from the surname of the person's own.",
          "comment" : "An example of a voorvoegsel is the \"van\" in \"Ludwig van Beethoven\". Since the voorvoegsel doesn't sort completely alphabetically, it is reasonable to identify it as a separate sub-component.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "FN.4"
          },
          {
            "identity" : "rim",
            "map" : "ENXP where Qualifiers = (VV, SP)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Voorvoegsel derived from person's partner's surname",
          "definition" : "The prefix portion (e.g. voorvoegsel) of the family name that is derived from the person's partner's surname, as distinguished from any portion that is derived from the surname of the person's own.",
          "comment" : "An example of a voorvoegsel is the \"van\" in \"Ludwig van Beethoven\". Since the voorvoegsel doesn't sort completely alphabetically, it is reasonable to identify it as a separate sub-component.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "FN.4"
          },
          {
            "identity" : "rim",
            "map" : "ENXP where Qualifiers = (VV, SP)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "structuredefinition-security-category",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
      "version" : "4.0.1",
      "name" : "security-category",
      "title" : "Security Category",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "Provides general guidance around the kind of access Control to Read, Search, Create, Update, or Delete the resource.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "StructureDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Security Categorization for Resource",
          "definition" : "Provides general guidance around the kind of access Control to Read, Search, Create, Update, or Delete the resource.",
          "comment" : "This is only guidance; applications must perform their own analysis to meet their own requirements.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ResourceSecurityCategory"
            }],
            "strength" : "required",
            "description" : "Provides general guidance around the kind of access Control to Read, Search, Create, Update, or Delete a resource.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/resource-security-category|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Security Categorization for Resource",
          "definition" : "Provides general guidance around the kind of access Control to Read, Search, Create, Update, or Delete the resource.",
          "comment" : "This is only guidance; applications must perform their own analysis to meet their own requirements.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ResourceSecurityCategory"
            }],
            "strength" : "required",
            "description" : "Provides general guidance around the kind of access Control to Read, Search, Create, Update, or Delete a resource.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/resource-security-category|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "data-absent-reason",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
      "version" : "4.0.1",
      "name" : "Data Absent Reason",
      "title" : "Why value is missing",
      "status" : "draft",
      "date" : "2013-12-05",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "Provides a reason why the expected value or elements in the element that is extended are missing.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Element"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "unknown | asked | temp | notasked | masked | unsupported | astext | error",
          "definition" : "Provides a reason why the expected value or elements in the element that is extended are missing.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ANY.nullFlavor"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "DataAbsentReason"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "required",
            "description" : "Used to specify why the normally expected content of the data element is missing.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/data-absent-reason|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "unknown | asked | temp | notasked | masked | unsupported | astext | error",
          "definition" : "Provides a reason why the expected value or elements in the element that is extended are missing.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ANY.nullFlavor"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "DataAbsentReason"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "required",
            "description" : "Used to specify why the normally expected content of the data element is missing.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/data-absent-reason|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/codesystem-keyWord",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "codesystem-keyWord",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/codesystem-keyWord",
      "version" : "4.0.1",
      "name" : "keyWord",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Word or words used in an information retrieval system to indicate the content of the value set.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CodeSystem"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Descriptors and key terms for search",
          "definition" : "Word or words used in an information retrieval system to indicate the content of the value set.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-keyWord",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Descriptors and key terms for search",
          "definition" : "Word or words used in an information retrieval system to indicate the content of the value set.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-keyWord"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/timing-exact",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "timing-exact",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/timing-exact",
      "version" : "4.0.1",
      "name" : "exact",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - MnM WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/MnM"
        }]
      }],
      "description" : "If true, indicates that the specified times, frequencies, periods are expected to be adhered to as precisely as possible.  If false, indicates that a typical degree of variability based on institutional and/or patient convenience is acceptable.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Timing.repeat"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Whether specified times must be followed as closely as possible",
          "definition" : "If true, indicates that the specified times, frequencies, periods are expected to be adhered to as precisely as possible.  If false, indicates that a typical degree of variability based on institutional and/or patient convenience is acceptable.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "GTS.IsFlexible"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/timing-exact",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Whether specified times must be followed as closely as possible",
          "definition" : "If true, indicates that the specified times, frequencies, periods are expected to be adhered to as precisely as possible.  If false, indicates that a typical degree of variability based on institutional and/or patient convenience is acceptable.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "GTS.IsFlexible"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/timing-exact"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/openEHR-careplan",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "openEHR-careplan",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/openEHR-careplan",
      "version" : "4.0.1",
      "name" : "careplan",
      "status" : "draft",
      "date" : "2014-10-09",
      "publisher" : "Health Level Seven, Inc / openEHR project",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org"
        }]
      }],
      "description" : "Additional details about the clinical management provided for this Reaction Event.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AllergyIntolerance.reaction"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Clinical Management Details",
          "definition" : "Additional details about the clinical management provided for this Reaction Event.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/openEHR-careplan",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/CarePlan"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Clinical Management Details",
          "definition" : "Additional details about the clinical management provided for this Reaction Event.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/openEHR-careplan"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/CarePlan"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqf-cdsHooksEndpoint",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint",
      "version" : "4.0.1",
      "name" : "cdsHooksEndpoint",
      "status" : "draft",
      "date" : "2015-05-30",
      "publisher" : "Health Level Seven, Inc. - CDS WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/dss"
        }]
      }],
      "description" : "Specifies the URI of a CDS Hooks service that uses this PlanDefinition as its implementation.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "PlanDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Surface this ECA Rule here",
          "definition" : "Specifies the URI of a CDS Hooks service that uses this PlanDefinition as its implementation.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Surface this ECA Rule here",
          "definition" : "Specifies the URI of a CDS Hooks service that uses this PlanDefinition as its implementation.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "structuredefinition-summary",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary",
      "version" : "4.0.1",
      "name" : "summary",
      "title" : "summary",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "Additional text for the summary presentation.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "StructureDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Additional text for the summary presentation",
          "definition" : "Additional text for the summary presentation.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "markdown"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Additional text for the summary presentation",
          "definition" : "Additional text for the summary presentation.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "markdown"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-geneticsDNARegionName",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName",
      "version" : "4.0.1",
      "name" : "DNARegionName",
      "status" : "draft",
      "date" : "2016-03-14",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "A human readable name for the region of interest. Typically Exon #, Intron # or other. NOTE: This is not standardized and is mainly for convenience and display purposes.  LOINC Code: ([47999-8](http://loinc.org/47999-8)).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "DNA region name",
          "definition" : "A human readable name for the region of interest. Typically Exon #, Intron # or other. NOTE: This is not standardized and is mainly for convenience and display purposes.  LOINC Code: ([47999-8](http://loinc.org/47999-8)).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "DNA region name",
          "definition" : "A human readable name for the region of interest. Typically Exon #, Intron # or other. NOTE: This is not standardized and is mainly for convenience and display purposes.  LOINC Code: ([47999-8](http://loinc.org/47999-8)).",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "capabilitystatement-prohibited",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited",
      "version" : "4.0.1",
      "name" : "prohibited",
      "title" : "Conformance prohibition",
      "status" : "draft",
      "date" : "2014-04-12",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fhir.htm"
        }]
      }],
      "description" : "If set to true, indicates that support for the specified behavior would make a system non-conformant with the specification.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CapabilityStatement.rest.resource.interaction"
      },
      {
        "type" : "element",
        "expression" : "CapabilityStatement.rest.resource.searchParam"
      },
      {
        "type" : "element",
        "expression" : "CapabilityStatement.rest.searchParam"
      },
      {
        "type" : "element",
        "expression" : "CapabilityStatement.rest.operation"
      },
      {
        "type" : "element",
        "expression" : "CapabilityStatement.document"
      },
      {
        "type" : "element",
        "expression" : "CapabilityStatement.rest.interaction"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Functionality not allowed",
          "definition" : "If set to true, indicates that support for the specified behavior would make a system non-conformant with the specification.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : true,
          "isModifierReason" : "If true, this extension inverts the meaning of the conformance statement",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Functionality not allowed",
          "definition" : "If set to true, indicates that support for the specified behavior would make a system non-conformant with the specification.",
          "min" : 0,
          "max" : "1",
          "isModifier" : true,
          "isModifierReason" : "If true, this extension inverts the meaning of the conformance statement",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/humanname-fathers-family",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "humanname-fathers-family",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/humanname-fathers-family",
      "version" : "4.0.1",
      "name" : "fathers-family",
      "status" : "draft",
      "date" : "2015-11-22",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The portion of the family name that is derived from the person's father.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "HumanName.family"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Portion of family name derived from father",
          "definition" : "The portion of the family name that is derived from the person's father.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-fathers-family",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Portion of family name derived from father",
          "definition" : "The portion of the family name that is derived from the person's father.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/humanname-fathers-family"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "allergyintolerance-resolutionAge",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge",
      "version" : "4.0.1",
      "name" : "resolutionAge",
      "title" : "resolutionAge",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "The estimated patient age at which the allergy or intolerance resolved. Should be specified only if the status is resolved.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AllergyIntolerance"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Age that the allergy or intolerance resolved",
          "definition" : "The estimated patient age at which the allergy or intolerance resolved. Should be specified only if the status is resolved.",
          "comment" : "Removed Date since it is hard to imagine knowing the date an allergy abated. The assertion date is already captured.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Age"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Age that the allergy or intolerance resolved",
          "definition" : "The estimated patient age at which the allergy or intolerance resolved. Should be specified only if the status is resolved.",
          "comment" : "Removed Date since it is hard to imagine knowing the date an allergy abated. The assertion date is already captured.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Age"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/workflow-reasonCode",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "workflow-reasonCode",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/workflow-reasonCode",
      "version" : "4.0.1",
      "name" : "reasonCode",
      "title" : "Reason Code",
      "status" : "draft",
      "date" : "2017-12-06",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fwg"
        }]
      }],
      "description" : "Describes why the event occurred in coded or textual form.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "workflow",
        "uri" : "http://hl7.org/fhir/workflow",
        "name" : "Workflow Pattern"
      },
      {
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      },
      {
        "type" : "element",
        "expression" : "DiagnosticReport"
      },
      {
        "type" : "element",
        "expression" : "Media"
      },
      {
        "type" : "element",
        "expression" : "NutritionOrder"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Why was event performed?",
          "definition" : "Describes why the event occurred in coded or textual form.",
          "comment" : "For free text (uncoded data) use reasonCode.text.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.reasonCode"
          },
          {
            "identity" : "v2",
            "map" : "EVN.4 or by domain"
          },
          {
            "identity" : "rim",
            "map" : ".reasonCode"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/workflow-reasonCode",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "EventReason"
            }],
            "strength" : "example",
            "valueSet" : "http://hl7.org/fhir/ValueSet/condition-cause"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Why was event performed?",
          "definition" : "Describes why the event occurred in coded or textual form.",
          "comment" : "For free text (uncoded data) use reasonCode.text.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.reasonCode"
          },
          {
            "identity" : "v2",
            "map" : "EVN.4 or by domain"
          },
          {
            "identity" : "rim",
            "map" : ".reasonCode"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/workflow-reasonCode"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "EventReason"
            }],
            "strength" : "example",
            "valueSet" : "http://hl7.org/fhir/ValueSet/condition-cause"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/flag-detail",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "flag-detail",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/flag-detail",
      "version" : "4.0.1",
      "name" : "detail",
      "title" : "Flag details",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - Patient Care WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "Points to the Observation, AllergyIntolerance or other record that provides additional supporting information about this flag.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Flag"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Resource with details for flag",
          "definition" : "Points to the Observation, AllergyIntolerance or other record that provides additional supporting information about this flag.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/flag-detail",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Resource with details for flag",
          "definition" : "Points to the Observation, AllergyIntolerance or other record that provides additional supporting information about this flag.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/flag-detail"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "workflow-supportingInfo",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo",
      "version" : "4.0.1",
      "name" : "supportingInfo",
      "title" : "Supporting Information",
      "status" : "draft",
      "date" : "2017-12-06",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fwg"
        }]
      }],
      "description" : "Other resources *from the patient record* that may be relevant to the event.  The information from these resources was either used to create the instance or is provided to help with its interpretation.  This extension **should not** be used if more specific  inline elements  or extensions are available.  For example, use `Observation.hasMember`  instead of supportingInformation for  representing the members of an Observation panel.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "DiagnosticReport"
      },
      {
        "type" : "element",
        "expression" : "Observation"
      },
      {
        "type" : "element",
        "expression" : "CommunicationRequest"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Other information that may be relevant to this event.",
          "definition" : "Other resources *from the patient record* that may be relevant to the event.  The information from these resources was either used to create the instance or is provided to help with its interpretation.  This extension **should not** be used if more specific  inline elements  or extensions are available.  For example, use `Observation.hasMember`  instead of supportingInformation for  representing the members of an Observation panel.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Other information that may be relevant to this event.",
          "definition" : "Other resources *from the patient record* that may be relevant to the event.  The information from these resources was either used to create the instance or is provided to help with its interpretation.  This extension **should not** be used if more specific  inline elements  or extensions are available.  For example, use `Observation.hasMember`  instead of supportingInformation for  representing the members of an Observation panel.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/request-insurance",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "request-insurance",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/request-insurance",
      "version" : "4.0.1",
      "name" : "insurance",
      "title" : "Insurance",
      "status" : "draft",
      "date" : "2017-12-06",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fwg"
        }]
      }],
      "description" : "Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be relevant in delivering the requested service.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "NutritionOrder"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Associated insurance coverage",
          "definition" : "Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be relevant in delivering the requested service.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "IN1/IN2"
          },
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=COVBY].target"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/request-insurance",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Coverage",
            "http://hl7.org/fhir/StructureDefinition/ClaimResponse"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Associated insurance coverage",
          "definition" : "Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be relevant in delivering the requested service.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "v2",
            "map" : "IN1/IN2"
          },
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=COVBY].target"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/request-insurance"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Coverage",
            "http://hl7.org/fhir/StructureDefinition/ClaimResponse"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-expansionSource",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource",
      "version" : "4.0.1",
      "name" : "expansionSource",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "The logical URL of the ValueSet definition that was used to generate this expansion.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet.expansion"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "ValueSet definition used to generate this expansion (logical URL)",
          "definition" : "The logical URL of the ValueSet definition that was used to generate this expansion.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "ValueSet definition used to generate this expansion (logical URL)",
          "definition" : "The logical URL of the ValueSet definition that was used to generate this expansion.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqf-qualityOfEvidence",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence",
      "version" : "4.0.1",
      "name" : "qualityOfEvidence",
      "title" : "qualityOfEvidence",
      "status" : "draft",
      "date" : "2015-05-30",
      "publisher" : "Health Level Seven, Inc. - CDS WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/dss"
        }]
      }],
      "description" : "The quality of the evidence described. The code system used specifies the quality scale used to grade this evidence source while the code specifies the actual quality score (represented as a coded value) associated with the evidence.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Attachment"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The quality of the evidence",
          "definition" : "The quality of the evidence described. The code system used specifies the quality scale used to grade this evidence source while the code specifies the actual quality score (represented as a coded value) associated with the evidence.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "QualityOfEvidenceRating"
            }],
            "strength" : "example",
            "description" : "A rating system that describes the quality of evidence such as the GRADE, DynaMed, or Oxford CEBM systems.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/evidence-quality"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The quality of the evidence",
          "definition" : "The quality of the evidence described. The code system used specifies the quality scale used to grade this evidence source while the code specifies the actual quality score (represented as a coded value) associated with the evidence.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "QualityOfEvidenceRating"
            }],
            "strength" : "example",
            "description" : "A rating system that describes the quality of evidence such as the GRADE, DynaMed, or Oxford CEBM systems.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/evidence-quality"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/consent-Transcriber",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "consent-Transcriber",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "cbcc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/consent-Transcriber",
      "version" : "4.0.1",
      "name" : "Transcriber",
      "title" : "Transcriber",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "Health Level Seven, Inc. - CBCC WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/homehealth/index.cfm"
        }]
      }],
      "description" : "Any person/thing who transcribed the consent into the system.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Consent"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Transcribed consent",
          "definition" : "Any person/thing who transcribed the consent into the system.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/consent-Transcriber",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization",
            "http://hl7.org/fhir/StructureDefinition/Patient",
            "http://hl7.org/fhir/StructureDefinition/Practitioner",
            "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Transcribed consent",
          "definition" : "Any person/thing who transcribed the consent into the system.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/consent-Transcriber"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization",
            "http://hl7.org/fhir/StructureDefinition/Patient",
            "http://hl7.org/fhir/StructureDefinition/Practitioner",
            "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-deliveryModeIdentifier",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier",
      "version" : "4.0.1",
      "name" : "ADXP-deliveryModeIdentifier",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "Represents the routing information such as a letter carrier route number. It is the identifying number of the designator (the box number or rural route number).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address.line"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "deliveryModeIdentifier",
          "definition" : "Represents the routing information such as a letter carrier route number. It is the identifying number of the designator (the box number or rural route number).",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=DMODID]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "deliveryModeIdentifier",
          "definition" : "Represents the routing information such as a letter carrier route number. It is the identifying number of the designator (the box number or rural route number).",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=DMODID]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-systemName",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-systemName",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-systemName",
      "version" : "4.0.1",
      "name" : "systemName",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "The human-readable name for the code system.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet.compose.include"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Code system name",
          "definition" : "The human-readable name for the code system.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-systemName",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Code system name",
          "definition" : "The human-readable name for the code system.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-systemName"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/quantity-precision",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "quantity-precision",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/quantity-precision",
      "version" : "4.0.1",
      "name" : "precision",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "Explicit precision of the number. This is the number of significant decimal places after the decimal point, irrespective of how many are actually present in the explicitly represented decimal.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "decimal"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Explicit precision (number of significant decimal places)",
          "definition" : "Explicit precision of the number. This is the number of significant decimal places after the decimal point, irrespective of how many are actually present in the explicitly represented decimal.",
          "comment" : "The presence of this extension does not change conformance expectations with regard to rendering and calculations that use the number - these are still based on the raw decimal value. Applications that perform calculations SHALL ensure that this extension is removed or updated to the correct precision value if the number is changed. Applications should consider using the exponential form (e.g. 2.10e3) on the raw decimal to manage significant figures, but should be mindful of human display when doing so.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/quantity-precision",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "integer"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Explicit precision (number of significant decimal places)",
          "definition" : "Explicit precision of the number. This is the number of significant decimal places after the decimal point, irrespective of how many are actually present in the explicitly represented decimal.",
          "comment" : "The presence of this extension does not change conformance expectations with regard to rendering and calculations that use the number - these are still based on the raw decimal value. Applications that perform calculations SHALL ensure that this extension is removed or updated to the correct precision value if the number is changed. Applications should consider using the exponential form (e.g. 2.10e3) on the raw decimal to manage significant figures, but should be mindful of human display when doing so.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/quantity-precision"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "integer"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaireresponse-signature",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature",
      "version" : "4.0.1",
      "name" : "signature",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "Represents a wet or electronic signature for either the form overall or for the question or item it's associated with.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "QuestionnaireResponse"
      },
      {
        "type" : "element",
        "expression" : "QuestionnaireResponse.item"
      },
      {
        "type" : "element",
        "expression" : "QuestionnaireResponse.item.item"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A signature attesting to the content",
          "definition" : "Represents a wet or electronic signature for either the form overall or for the question or item it's associated with.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Signature"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A signature attesting to the content",
          "definition" : "Represents a wet or electronic signature for either the form overall or for the question or item it's associated with.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Signature"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaire-unitValueSet",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet",
      "version" : "4.0.1",
      "name" : "unitValueSet",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "A set of units that the user may choose when providing a quantity value.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.item"
      }],
      "contextInvariant" : ["type='quantity'"],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Unit choices",
          "definition" : "A set of units that the user may choose when providing a quantity value.",
          "comment" : "Provide either unit-option(s) or unit-valueSet. In the absence of either, any unit is valid.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ValueSet"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Unit choices",
          "definition" : "A set of units that the user may choose when providing a quantity value.",
          "comment" : "Provide either unit-option(s) or unit-valueSet. In the absence of either, any unit is valid.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ValueSet"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/condition-related",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "condition-related",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/condition-related",
      "version" : "4.0.1",
      "name" : "related",
      "title" : "related",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "This condition has an unspecified relationship with another condition.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Condition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Conditions associated with this condition",
          "definition" : "This condition has an unspecified relationship with another condition.",
          "comment" : "When the relationship is specified, use the more specific extension, such as condition-dueTo, condition-occurredFollowing, or condition-part of.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/condition-related",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Conditions associated with this condition",
          "definition" : "This condition has an unspecified relationship with another condition.",
          "comment" : "When the relationship is specified, use the more specific extension, such as condition-dueTo, condition-occurredFollowing, or condition-part of.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/condition-related"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/codesystem-map",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "codesystem-map",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/codesystem-map",
      "version" : "4.0.1",
      "name" : "map",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "A reference to a concept map that is relevant for the interpretation of this value set.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CodeSystem"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A concept map relevant to interpret this value set",
          "definition" : "A reference to a concept map that is relevant for the interpretation of this value set.",
          "comment" : "One use of this extension is to use it to include a partial concept map inside an expansion, only containing maps for the concepts included in this particular expansion.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-map",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ConceptMap"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A concept map relevant to interpret this value set",
          "definition" : "A reference to a concept map that is relevant for the interpretation of this value set.",
          "comment" : "One use of this extension is to use it to include a partial concept map inside an expansion, only containing maps for the concepts included in this particular expansion.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-map"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ConceptMap"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/tz-offset",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "tz-offset",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/tz-offset",
      "version" : "4.0.1",
      "name" : "Timezone Offset",
      "title" : "Timezone offset, for date",
      "status" : "draft",
      "date" : "2013-12-05",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "Timezone offset, for dates where timezone is not allowed as part of the base date.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "date"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Timezone offset, for dates (no timezone in date)",
          "definition" : "Timezone offset, for dates where timezone is not allowed as part of the base date.",
          "comment" : "The format must either be 'Z' or +/-HH:NN. This is not allowed on the base date because many implementations have no way to carry a timezone on the base date structure.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/tz-offset",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Timezone offset, for dates (no timezone in date)",
          "definition" : "Timezone offset, for dates where timezone is not allowed as part of the base date.",
          "comment" : "The format must either be 'Z' or +/-HH:NN. This is not allowed on the base date because many implementations have no way to carry a timezone on the base date structure.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/tz-offset"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "structuredefinition-fmm-no-warnings",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings",
      "version" : "4.0.1",
      "name" : "fmm-no-warnings",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The FMM level that would be assigned to the artifact if it had no warnings.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "StructureDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "FMM Level (if no warnings)",
          "definition" : "The FMM level that would be assigned to the artifact if it had no warnings.",
          "comment" : "If an artifact is higher than level 0, it must have no warnings from the resource/profile validator. This is the logical level that will apply once warnings have been resolved.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "integer"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "FMM Level (if no warnings)",
          "definition" : "The FMM level that would be assigned to the artifact if it had no warnings.",
          "comment" : "If an artifact is higher than level 0, it must have no warnings from the resource/profile validator. This is the logical level that will apply once warnings have been resolved.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "integer"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/concept-bidirectional",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "concept-bidirectional",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/concept-bidirectional",
      "version" : "4.0.1",
      "name" : "bidirectional",
      "title" : "Bi-directional",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Set to true if the concept map can be safely intepreted in reversse.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ConceptMap"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Whether the map can be interpreted in reverse",
          "definition" : "Set to true if the concept map can be safely intepreted in reversse.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/concept-bidirectional",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Whether the map can be interpreted in reverse",
          "definition" : "Set to true if the concept map can be safely intepreted in reversse.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/concept-bidirectional"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-otherName",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-otherName",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-otherName",
      "version" : "4.0.1",
      "name" : "otherName",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Human readable names for the valueset.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Alternative names",
          "definition" : "Human readable names for the valueset.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:name",
          "path" : "Extension.extension",
          "sliceName" : "name",
          "short" : "Human readable, short and specific",
          "definition" : "This name is intended to be human readable, short and as specific as possible and to convey the purpose of the value set.  It is considered to be the name of the value set.",
          "comment" : "This need not be unique. However some use cases require uniqueness within a namespace and therefore best practice would be to make the name unique.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:name.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:name.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:name.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "name",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:name.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:preferred",
          "path" : "Extension.extension",
          "sliceName" : "preferred",
          "short" : "Which name is preferred for this language",
          "definition" : "Flag that this Name in this Name Language is the preferred human-readable signifier in this language.",
          "comment" : "There may be multiple human readable names in a given language, and this flag indicates which of them is preferred for the given language.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:preferred.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:preferred.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:preferred.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "preferred",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:preferred.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-otherName",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Alternative names",
          "definition" : "Human readable names for the valueset.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:name",
          "path" : "Extension.extension",
          "sliceName" : "name",
          "short" : "Human readable, short and specific",
          "definition" : "This name is intended to be human readable, short and as specific as possible and to convey the purpose of the value set.  It is considered to be the name of the value set.",
          "comment" : "This need not be unique. However some use cases require uniqueness within a namespace and therefore best practice would be to make the name unique.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:name.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:name.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "name"
        },
        {
          "id" : "Extension.extension:name.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.extension:preferred",
          "path" : "Extension.extension",
          "sliceName" : "preferred",
          "short" : "Which name is preferred for this language",
          "definition" : "Flag that this Name in this Name Language is the preferred human-readable signifier in this language.",
          "comment" : "There may be multiple human readable names in a given language, and this flag indicates which of them is preferred for the given language.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.extension:preferred.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:preferred.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "preferred"
        },
        {
          "id" : "Extension.extension:preferred.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-otherName"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaire-unit",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaire-unit",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-unit",
      "version" : "4.0.1",
      "name" : "unit",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "Provides a computable unit of measure associated with numeric questions to support subsequent computation on responses. This is for use on items of type integer and decimal, and it's purpose is to support converting the integer or decimal answer into a Quantity when extracting the data into a resource.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.item"
      }],
      "contextInvariant" : ["type='integer' or type='decimal'"],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Unit for numeric answer",
          "definition" : "Provides a computable unit of measure associated with numeric questions to support subsequent computation on responses. This is for use on items of type integer and decimal, and it's purpose is to support converting the integer or decimal answer into a Quantity when extracting the data into a resource.",
          "comment" : "The human-readable unit is conveyed as a display element.  This element is for computation purposes.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-unit",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Coding"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Unit for numeric answer",
          "definition" : "Provides a computable unit of measure associated with numeric questions to support subsequent computation on responses. This is for use on items of type integer and decimal, and it's purpose is to support converting the integer or decimal answer into a Quantity when extracting the data into a resource.",
          "comment" : "The human-readable unit is conveyed as a display element.  This element is for computation purposes.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-unit"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Coding"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-uncertainty",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty",
      "version" : "4.0.1",
      "name" : "uncertainty",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "The primary measure of variance/uncertainty of the value (the square root of the sum of the squares of the differences between all data points and the mean).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Quantity"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Standard Deviation (same units as the quantity)",
          "definition" : "The primary measure of variance/uncertainty of the value (the square root of the sum of the squares of the differences between all data points and the mean).",
          "comment" : "standardDeviation has the same units as the quantity. It is used to normalize the data for computing the distribution function. Applications that cannot deal with probability distributions can still get an idea about the confidence level by looking at standardDeviation.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "PPD.standardDeviation"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "decimal"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Standard Deviation (same units as the quantity)",
          "definition" : "The primary measure of variance/uncertainty of the value (the square root of the sum of the squares of the differences between all data points and the mean).",
          "comment" : "standardDeviation has the same units as the quantity. It is used to normalize the data for computing the distribution function. Applications that cannot deal with probability distributions can still get an idea about the confidence level by looking at standardDeviation.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "PPD.standardDeviation"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "decimal"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-effectiveDate",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate",
      "version" : "4.0.1",
      "name" : "effectiveDate",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "This is the first date-time when the value set version becomes active, so this value is present on Inactive value set versions as well. The start Date_time is expected to be as of 0001 UTC of the Effective Date.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "When the value set version becomes Active and is available for use",
          "definition" : "This is the first date-time when the value set version becomes active, so this value is present on Inactive value set versions as well. The start Date_time is expected to be as of 0001 UTC of the Effective Date.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "dateTime"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "When the value set version becomes Active and is available for use",
          "definition" : "This is the first date-time when the value set version becomes active, so this value is present on Inactive value set versions as well. The start Date_time is expected to be as of 0001 UTC of the Effective Date.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "dateTime"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "11179-permitted-value-valueset",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset",
      "version" : "4.0.1",
      "name" : "permitted-value-valueset",
      "title" : "Permitted Values",
      "status" : "draft",
      "date" : "2014-04-21",
      "publisher" : "Health Level Seven International (Orders and Observations)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org"
        }]
      }],
      "description" : "Allows expressing the value set that must be stored internally by the system (as distinct from the base value set which defines values for exchange).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      },
      {
        "identity" : "iso11179",
        "uri" : "http://metadata-standards.org/11179/",
        "name" : "ISO 11179"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "StructureDefinition.snapshot.element.binding.valueSet"
      },
      {
        "type" : "element",
        "expression" : "StructureDefinition.differential.element.binding.valueSet"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.answerValueSet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Permitted values",
          "definition" : "Allows expressing the value set that must be stored internally by the system (as distinct from the base value set which defines values for exchange).",
          "comment" : "The permitted value set must have a 1..1 set of codes for each code in the value meaning value set.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          },
          {
            "identity" : "iso11179",
            "map" : "Data_Element.data_element_domain.member"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ValueSet"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Permitted values",
          "definition" : "Allows expressing the value set that must be stored internally by the system (as distinct from the base value set which defines values for exchange).",
          "comment" : "The permitted value set must have a 1..1 set of codes for each code in the value meaning value set.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          },
          {
            "identity" : "iso11179",
            "map" : "Data_Element.data_element_domain.member"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ValueSet"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "auditevent-Anonymized",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "sec"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized",
      "version" : "4.0.1",
      "name" : "Anonymized",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "Health Level Seven, Inc. - Security WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/security/index.cfm"
        }]
      }],
      "description" : "True or False indicating whether all patient identifying information was removed from the data.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "dicom",
        "uri" : "http://nema.org/dicom",
        "name" : "DICOM Tag Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AuditEvent.entity"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Anonymized state",
          "definition" : "True or False indicating whether all patient identifying information was removed from the data.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "dicom",
            "map" : "Anonymized"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Anonymized state",
          "definition" : "True or False indicating whether all patient identifying information was removed from the data.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "dicom",
            "map" : "Anonymized"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "elementdefinition-identifier",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier",
      "version" : "4.0.1",
      "name" : "identifier",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "External Identifiers associated with this element - these are identifiers that are associated with the concept this element represents.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ElementDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "External Identifier associated with this element",
          "definition" : "External Identifiers associated with this element - these are identifiers that are associated with the concept this element represents.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "Act.id, Role.id, Entity.id"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Identifier"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "External Identifier associated with this element",
          "definition" : "External Identifiers associated with this element - these are identifiers that are associated with the concept this element represents.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "Act.id, Role.id, Entity.id"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Identifier"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "hla-genotyping-results-haploid",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid",
      "version" : "4.0.1",
      "name" : "haploid",
      "status" : "draft",
      "date" : "2015-10-09",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "haploid.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "DiagnosticReport"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "haploid",
          "definition" : "haploid.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:locus",
          "path" : "Extension.extension",
          "sliceName" : "locus",
          "short" : "haploid-locus",
          "definition" : "gene region.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:locus.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:locus.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:locus.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "locus",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:locus.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:type",
          "path" : "Extension.extension",
          "sliceName" : "type",
          "short" : "haploid-type",
          "definition" : "haploid type.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:type.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:type.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:type.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "type",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:type.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:method",
          "path" : "Extension.extension",
          "sliceName" : "method",
          "short" : "haploid-method",
          "definition" : "haploid method.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:method.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:method.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:method.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "method",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:method.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "haploid",
          "definition" : "haploid.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension:locus",
          "path" : "Extension.extension",
          "sliceName" : "locus",
          "short" : "haploid-locus",
          "definition" : "gene region.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:locus.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:locus.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "locus"
        },
        {
          "id" : "Extension.extension:locus.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        },
        {
          "id" : "Extension.extension:type",
          "path" : "Extension.extension",
          "sliceName" : "type",
          "short" : "haploid-type",
          "definition" : "haploid type.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:type.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:type.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "type"
        },
        {
          "id" : "Extension.extension:type.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        },
        {
          "id" : "Extension.extension:method",
          "path" : "Extension.extension",
          "sliceName" : "method",
          "short" : "haploid-method",
          "definition" : "haploid method.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:method.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:method.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "method"
        },
        {
          "id" : "Extension.extension:method.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/operationoutcome-authority",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "operationoutcome-authority",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/operationoutcome-authority",
      "version" : "4.0.1",
      "name" : "authority",
      "title" : "Rule Reference",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "A reference to where the rule is defined (based on the authoritative URLs in the applicable conformance resources).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "OperationOutcome.issue"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Reference to where the rule is defined",
          "definition" : "A reference to where the rule is defined (based on the authoritative URLs in the applicable conformance resources).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/operationoutcome-authority",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Reference to where the rule is defined",
          "definition" : "A reference to where the rule is defined (based on the authoritative URLs in the applicable conformance resources).",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/operationoutcome-authority"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/minValue",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "minValue",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/minValue",
      "version" : "4.0.1",
      "name" : "minValue",
      "status" : "draft",
      "date" : "2014-04-27",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "The inclusive lower bound on the range of allowed values for the data element.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Must be >= this value",
          "definition" : "The inclusive lower bound on the range of allowed values for the data element.",
          "comment" : "Data type specified must be the same as the data type for the data element.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/minValue",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "time"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "integer"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Must be >= this value",
          "definition" : "The inclusive lower bound on the range of allowed values for the data element.",
          "comment" : "Data type specified must be the same as the data type for the data element.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/minValue"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "time"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "integer"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "structuredefinition-table-name",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name",
      "version" : "4.0.1",
      "name" : "table-name",
      "title" : "table name",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "A name to use to show mappings of this type in the generated summary tables.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "StructureDefinition.mapping"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Show mappings in the summary table with this name",
          "definition" : "A name to use to show mappings of this type in the generated summary tables.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Show mappings in the summary table with this name",
          "definition" : "A name to use to show mappings of this type in the generated summary tables.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "capabilitystatement-supported-system",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system",
      "version" : "4.0.1",
      "name" : "supported-system",
      "title" : "Supported Code System",
      "status" : "draft",
      "date" : "2014-04-12",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fhir.htm"
        }]
      }],
      "description" : "A code system that is supported by the system that is not defined in a value set resource.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CapabilityStatement"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Code system not defined in a value set",
          "definition" : "A code system that is supported by the system that is not defined in a value set resource.",
          "comment" : "Typically, this is a large terminology such as LOINC, SNOMED CT.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Code system not defined in a value set",
          "definition" : "A code system that is supported by the system that is not defined in a value set resource.",
          "comment" : "Typically, this is a large terminology such as LOINC, SNOMED CT.",
          "min" : 0,
          "max" : "*",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaireresponse-reason",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason",
      "version" : "4.0.1",
      "name" : "reason",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "The factor(s) that caused the questionnaire to be answered.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "QuestionnaireResponse"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Why response was created",
          "definition" : "The factor(s) that caused the questionnaire to be answered.",
          "comment" : "The reason for completion is typically implicit in the form design or may be explicit as a question in the form itself.  This element exists when neither of these other two means suffice.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "QuestionnaireResponseReason"
            }],
            "strength" : "example",
            "description" : "Codes indicating why the response was captured.  For example, admitting, referral, insurance claim, etc."
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Why response was created",
          "definition" : "The factor(s) that caused the questionnaire to be answered.",
          "comment" : "The reason for completion is typically implicit in the form design or may be explicit as a question in the form itself.  This element exists when neither of these other two means suffice.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "QuestionnaireResponseReason"
            }],
            "strength" : "example",
            "description" : "Codes indicating why the response was captured.  For example, admitting, referral, insurance claim, etc."
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqf-receivingOrganization",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization",
      "version" : "4.0.1",
      "name" : "receivingOrganization",
      "title" : "receivingOrganization",
      "status" : "draft",
      "date" : "2015-05-30",
      "publisher" : "Health Level Seven, Inc. - CDS WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/dss"
        }]
      }],
      "description" : "The organization that will receive the response.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Basic"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Extension",
          "definition" : "The organization that will receive the response.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "definition" : "The organization that will receive the response.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "structuredefinition-explicit-type-name",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
      "version" : "4.0.1",
      "name" : "explicit-type-name",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "A name to use for the type, in implementations. This is a suggestion; it's not a normative part of the FHIR specification, but it does appear in the UML diagrams, and is used in generated code, schemas, etc.to identify the type.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ElementDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Advisory - name of Type for implementations",
          "definition" : "A name to use for the type, in implementations. This is a suggestion; it's not a normative part of the FHIR specification, but it does appear in the UML diagrams, and is used in generated code, schemas, etc.to identify the type.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Advisory - name of Type for implementations",
          "definition" : "A name to use for the type, in implementations. This is a suggestion; it's not a normative part of the FHIR specification, but it does appear in the UML diagrams, and is used in generated code, schemas, etc.to identify the type.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "composition-clinicaldocument-versionNumber",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "sd"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber",
      "version" : "4.0.1",
      "name" : "versionNumber",
      "status" : "draft",
      "date" : "2015-03-17",
      "publisher" : "Health Level Seven, Inc. - Structured Documents WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/structure"
        }]
      }],
      "description" : "Version specific identifier for the composition, assigned when each version is created/updated.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Composition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Version-specific identifier for composition",
          "definition" : "Version specific identifier for the composition, assigned when each version is created/updated.",
          "comment" : "While each resource, including the composition itself, has its own version identifier, this is a formal identifier for the logical version of the composition as a whole. It would remain constant if the resources were moved to a new server, and all got new individual resource versions, for example.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Version-specific identifier for composition",
          "definition" : "Version specific identifier for the composition, assigned when each version is created/updated.",
          "comment" : "While each resource, including the composition itself, has its own version identifier, this is a formal identifier for the logical version of the composition as a whole. It would remain constant if the resources were moved to a new server, and all got new individual resource versions, for example.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-EN-representation",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation",
      "version" : "4.0.1",
      "name" : "EN-representation",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "Name Representation.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "HumanName"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "ABC | IDE | SYL",
          "definition" : "Name Representation.",
          "comment" : "The transcription of the name - how it is represented (for e.g. Japanese names).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ENXP.use"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "NameRepresentationUse"
            }],
            "strength" : "required",
            "description" : "A set of codes for each different representation of a name.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/name-v3-representation|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "ABC | IDE | SYL",
          "definition" : "Name Representation.",
          "comment" : "The transcription of the name - how it is represented (for e.g. Japanese names).",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ENXP.use"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "NameRepresentationUse"
            }],
            "strength" : "required",
            "description" : "A set of codes for each different representation of a name.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/name-v3-representation|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-specimenCode",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-specimenCode",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-specimenCode",
      "version" : "4.0.1",
      "name" : "specimenCode",
      "title" : "Specimen Code",
      "status" : "draft",
      "date" : "2015-03-02",
      "publisher" : "Health Level Seven, Inc. - OO WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/orders"
        }]
      }],
      "description" : "A code representing the the type of specimen used for this observation.  Should only be used if not implicit in the code found in `Observation.code`.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A code representing the the type of specimen used for this observation.  Should only be used if not implicit in the code found in `Observation.code`",
          "definition" : "A code representing the the type of specimen used for this observation.  Should only be used if not implicit in the code found in `Observation.code`.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-specimenCode",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "SpecimenCode"
            }],
            "strength" : "example",
            "valueSet" : "http://terminology.hl7.org/ValueSet/v2-0487"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A code representing the the type of specimen used for this observation.  Should only be used if not implicit in the code found in `Observation.code`",
          "definition" : "A code representing the the type of specimen used for this observation.  Should only be used if not implicit in the code found in `Observation.code`.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-specimenCode"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "SpecimenCode"
            }],
            "strength" : "example",
            "valueSet" : "http://terminology.hl7.org/ValueSet/v2-0487"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "timing-daysOfCycle",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle",
      "version" : "4.0.1",
      "name" : "daysOfCycle",
      "title" : "Days of Cycle",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - MnM WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/MnM"
        }]
      }],
      "description" : "Days of a possibly repeating cycle on which the action is to be performed. The cycle is defined by the first action with a timing element that is a parent of the daysOfCycle.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "PlanDefinition.action"
      },
      {
        "type" : "element",
        "expression" : "RequestGroup.action"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Days on which the action should be performed",
          "definition" : "Days of a possibly repeating cycle on which the action is to be performed. The cycle is defined by the first action with a timing element that is a parent of the daysOfCycle.",
          "comment" : "The cycle is defined by a parent/containing action, and the daysOfCycle extension is used on individual actions within that cycle to indicate the days of the cycle on which the actions should be performed.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:day",
          "path" : "Extension.extension",
          "sliceName" : "day",
          "short" : "What day to perform",
          "definition" : "An integer that specifies a day on which the action is to be performed (starting at one).  In most cases, the first day of the first cycle will be day 1.",
          "min" : 1,
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:day.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:day.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:day.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "day",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:day.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "integer"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Days on which the action should be performed",
          "definition" : "Days of a possibly repeating cycle on which the action is to be performed. The cycle is defined by the first action with a timing element that is a parent of the daysOfCycle.",
          "comment" : "The cycle is defined by a parent/containing action, and the daysOfCycle extension is used on individual actions within that cycle to indicate the days of the cycle on which the actions should be performed.",
          "min" : 1,
          "max" : "1"
        },
        {
          "id" : "Extension.extension:day",
          "path" : "Extension.extension",
          "sliceName" : "day",
          "short" : "What day to perform",
          "definition" : "An integer that specifies a day on which the action is to be performed (starting at one).  In most cases, the first day of the first cycle will be day 1.",
          "min" : 1,
          "max" : "*",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:day.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:day.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "day"
        },
        {
          "id" : "Extension.extension:day.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "integer"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "consent-NotificationEndpoint",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "cbcc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint",
      "version" : "4.0.1",
      "name" : "NotificationEndpoint",
      "title" : "Disclosure Notification Endpoint",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "Health Level Seven, Inc. - CBCC WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/homehealth/index.cfm"
        }]
      }],
      "description" : "Endpoint for sending Disclosure notifications in the form of FHIR AuditEvent records.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Consent"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Notification Endpoint",
          "definition" : "Endpoint for sending Disclosure notifications in the form of FHIR AuditEvent records.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Notification Endpoint",
          "definition" : "Endpoint for sending Disclosure notifications in the form of FHIR AuditEvent records.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "auditevent-Encrypted",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "sec"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted",
      "version" : "4.0.1",
      "name" : "Encrypted",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "Health Level Seven, Inc. - Security WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/security/index.cfm"
        }]
      }],
      "description" : "True or False indicating whether the data was encrypted.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "dicom",
        "uri" : "http://nema.org/dicom",
        "name" : "DICOM Tag Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "AuditEvent.entity"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Encrypted state",
          "definition" : "True or False indicating whether the data was encrypted.",
          "comment" : "If there was a mix of encrypted and non-encrypted data, then create two AuditEvents.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "dicom",
            "map" : "Encrypted"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Encrypted state",
          "definition" : "True or False indicating whether the data was encrypted.",
          "comment" : "If there was a mix of encrypted and non-encrypted data, then create two AuditEvents.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "dicom",
            "map" : "Encrypted"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqf-measureInfo",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqf-measureInfo",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-measureInfo",
      "version" : "4.0.1",
      "name" : "measureInfo",
      "status" : "draft",
      "date" : "2015-05-30",
      "publisher" : "Health Level Seven, Inc. - CDS WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/dss"
        }]
      }],
      "description" : "The measure criteria that resulted in the resource being included in a particular evaluatedResources bundle.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Element"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Measure criteria for the resource",
          "definition" : "The measure criteria that resulted in the resource being included in a particular evaluatedResources bundle.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:measure",
          "path" : "Extension.extension",
          "sliceName" : "measure",
          "short" : "The measure being calculated",
          "definition" : "The measure that resulted in this resource being included in the measure report.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:measure.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:measure.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:measure.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "measure",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:measure.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Measure"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:groupId",
          "path" : "Extension.extension",
          "sliceName" : "groupId",
          "short" : "The group identifier",
          "definition" : "The group within the measure that resulted in this resource being included in the measure report.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:groupId.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:groupId.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:groupId.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "groupId",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:groupId.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:populationId",
          "path" : "Extension.extension",
          "sliceName" : "populationId",
          "short" : "The population identifier",
          "definition" : "The population within the measure that resulted in this resource being included in the measure report.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:populationId.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:populationId.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:populationId.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "populationId",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:populationId.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-measureInfo",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Measure criteria for the resource",
          "definition" : "The measure criteria that resulted in the resource being included in a particular evaluatedResources bundle.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension:measure",
          "path" : "Extension.extension",
          "sliceName" : "measure",
          "short" : "The measure being calculated",
          "definition" : "The measure that resulted in this resource being included in the measure report.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:measure.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:measure.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "measure"
        },
        {
          "id" : "Extension.extension:measure.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Measure"]
          }]
        },
        {
          "id" : "Extension.extension:groupId",
          "path" : "Extension.extension",
          "sliceName" : "groupId",
          "short" : "The group identifier",
          "definition" : "The group within the measure that resulted in this resource being included in the measure report.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:groupId.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:groupId.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "groupId"
        },
        {
          "id" : "Extension.extension:groupId.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.extension:populationId",
          "path" : "Extension.extension",
          "sliceName" : "populationId",
          "short" : "The population identifier",
          "definition" : "The population within the measure that resulted in this resource being included in the measure report.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:populationId.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:populationId.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "populationId"
        },
        {
          "id" : "Extension.extension:populationId.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-measureInfo"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-geneticsAncestry",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry",
      "version" : "4.0.1",
      "name" : "Ancestry",
      "status" : "draft",
      "date" : "2016-03-14",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "Ancestry information.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Ancestry",
          "definition" : "Ancestry information.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:Name",
          "path" : "Extension.extension",
          "sliceName" : "Name",
          "short" : "Ancestry name",
          "definition" : "A definition that describes the geographical origin of a patient.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:Name.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:Name.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:Name.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Name",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Name.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Percentage",
          "path" : "Extension.extension",
          "sliceName" : "Percentage",
          "short" : "Ancestry percentage",
          "definition" : "The ratio of this ancestry to all of the patient's ancestry.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:Percentage.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:Percentage.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:Percentage.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Percentage",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Percentage.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "decimal"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Source",
          "path" : "Extension.extension",
          "sliceName" : "Source",
          "short" : "Source of ancestry report",
          "definition" : "In what way the ancestry is reported (e.g. Patient reported, Genetic test, Other, Unknown).",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:Source.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:Source.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:Source.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Source",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Source.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Ancestry",
          "definition" : "Ancestry information.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension:Name",
          "path" : "Extension.extension",
          "sliceName" : "Name",
          "short" : "Ancestry name",
          "definition" : "A definition that describes the geographical origin of a patient.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:Name.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:Name.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Name"
        },
        {
          "id" : "Extension.extension:Name.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        },
        {
          "id" : "Extension.extension:Percentage",
          "path" : "Extension.extension",
          "sliceName" : "Percentage",
          "short" : "Ancestry percentage",
          "definition" : "The ratio of this ancestry to all of the patient's ancestry.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:Percentage.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:Percentage.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Percentage"
        },
        {
          "id" : "Extension.extension:Percentage.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "decimal"
          }]
        },
        {
          "id" : "Extension.extension:Source",
          "path" : "Extension.extension",
          "sliceName" : "Source",
          "short" : "Source of ancestry report",
          "definition" : "In what way the ancestry is reported (e.g. Patient reported, Genetic test, Other, Unknown).",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:Source.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:Source.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Source"
        },
        {
          "id" : "Extension.extension:Source.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-houseNumberNumeric",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric",
      "version" : "4.0.1",
      "name" : "ADXP-houseNumberNumeric",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "The numeric portion of a building number.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address.line"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "houseNumberNumeric",
          "definition" : "The numeric portion of a building number.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=BNN]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "houseNumberNumeric",
          "definition" : "The numeric portion of a building number.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=BNN]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "structuredefinition-xml-no-order",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order",
      "version" : "4.0.1",
      "name" : "xml-no-order",
      "title" : "No Order in XML",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "Whether elements can come in any order in XML.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "StructureDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Whether elements can come in any order (XML)",
          "definition" : "Whether elements can come in any order in XML.",
          "comment" : "This is never set in FHIR Resources or Data types, but may be encountered in other structure definitions.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Whether elements can come in any order (XML)",
          "definition" : "Whether elements can come in any order in XML.",
          "comment" : "This is never set in FHIR Resources or Data types, but may be encountered in other structure definitions.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-bodyPosition",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition",
      "version" : "4.0.1",
      "name" : "bodyPosition",
      "title" : "bodyPosition",
      "status" : "draft",
      "date" : "2015-03-02",
      "publisher" : "Health Level Seven, Inc. - OO WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/orders"
        }]
      }],
      "description" : "The position of the body when the observation was done, e.g. standing, sitting. To be used only when the body position in not precoordinated in the observation code.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      },
      {
        "type" : "element",
        "expression" : "Specimen.collection"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The body position during the observation",
          "definition" : "The position of the body when the observation was done, e.g. standing, sitting. To be used only when the body position in not precoordinated in the observation code.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The body position during the observation",
          "definition" : "The position of the body when the observation was done, e.g. standing, sitting. To be used only when the body position in not precoordinated in the observation code.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-streetNameType",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType",
      "version" : "4.0.1",
      "name" : "ADXP-streetNameType",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "The designation given to the street. (e.g. Street, Avenue, Crescent, etc.).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address.line"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "streetNameType",
          "definition" : "The designation given to the street. (e.g. Street, Avenue, Crescent, etc.).",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=STTYP]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "streetNameType",
          "definition" : "The designation given to the street. (e.g. Street, Avenue, Crescent, etc.).",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=STTYP]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "structuredefinition-applicable-version",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version",
      "version" : "4.0.1",
      "name" : "applicable-version",
      "title" : "Applicable Version",
      "status" : "draft",
      "date" : "2014-01-31",
      "publisher" : "Health Level Seven, Inc. - [WG Name] WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "An additional version that this profile apples to, other than the version explicitly stated in StructureDefinition.fhirVersion.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "StructureDefinition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Another Version this applies to",
          "definition" : "An additional version that this profile apples to, other than the version explicitly stated in StructureDefinition.fhirVersion.",
          "comment" : "This is typically only used where derivation = constraint. As the underlying resources become more stable, profiles on one version become applicable to other versions as well. It's possible to calculate automatically with the strutural features of a profile apply to a given version, but just because it's structurally ok doesn't mean that the meaning is correct. This extension allows a positive statement that the profile applies.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "FHIRVersion"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "required",
            "description" : "All published FHIR Versions.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/FHIR-version|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Another Version this applies to",
          "definition" : "An additional version that this profile apples to, other than the version explicitly stated in StructureDefinition.fhirVersion.",
          "comment" : "This is typically only used where derivation = constraint. As the underlying resources become more stable, profiles on one version become applicable to other versions as well. It's possible to calculate automatically with the strutural features of a profile apply to a given version, but just because it's structurally ok doesn't mean that the meaning is correct. This extension allows a positive statement that the profile applies.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "FHIRVersion"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }],
            "strength" : "required",
            "description" : "All published FHIR Versions.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/FHIR-version|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-ADXP-censusTract",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract",
      "version" : "4.0.1",
      "name" : "ADXP-censusTract",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "A geographic sub-unit delineated for demographic purposes.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address.line"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "censusTract",
          "definition" : "A geographic sub-unit delineated for demographic purposes.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=CEN]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "censusTract",
          "definition" : "A geographic sub-unit delineated for demographic purposes.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "ADXP[partType=CEN]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/event-partOf",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "event-partOf",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/event-partOf",
      "version" : "4.0.1",
      "name" : "partOf",
      "title" : "Part Of",
      "status" : "draft",
      "date" : "2017-12-06",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fwg"
        }]
      }],
      "description" : "A larger event of which this particular event is a component or step.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "workflow",
        "uri" : "http://hl7.org/fhir/workflow",
        "name" : "Workflow Pattern"
      },
      {
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "DiagnosticReport"
      },
      {
        "type" : "element",
        "expression" : "Condition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Part of referenced event",
          "definition" : "A larger event of which this particular event is a component or step.",
          "comment" : "Not to be used to link an event to an Encounter - use Event.context for that.\r\r[The allowed reference resources may be adjusted as appropriate for the event resource].",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.partOf"
          },
          {
            "identity" : "v2",
            "map" : "Varies by domain"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/event-partOf",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Part of referenced event",
          "definition" : "A larger event of which this particular event is a component or step.",
          "comment" : "Not to be used to link an event to an Encounter - use Event.context for that.\r\r[The allowed reference resources may be adjusted as appropriate for the event resource].",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.partOf"
          },
          {
            "identity" : "v2",
            "map" : "Varies by domain"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/event-partOf"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-reagent",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-reagent",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-reagent",
      "version" : "4.0.1",
      "name" : "reagent",
      "title" : "Reagent",
      "status" : "draft",
      "date" : "2015-03-02",
      "publisher" : "Health Level Seven, Inc. - OO WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/orders"
        }]
      }],
      "description" : "Reference to reagents used to generate this observation.  This is intended for this for in-lab transactions between instruments and Laboratory Information Systems (LIS).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Reference to reagents used to generate this observation.",
          "definition" : "Reference to reagents used to generate this observation.  This is intended for this for in-lab transactions between instruments and Laboratory Information Systems (LIS).",
          "comment" : "Note this extension may be superseded by elements in planned instrumentation management resource elements.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-reagent",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Substance"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Reference to reagents used to generate this observation.",
          "definition" : "Reference to reagents used to generate this observation.  This is intended for this for in-lab transactions between instruments and Laboratory Information Systems (LIS).",
          "comment" : "Note this extension may be superseded by elements in planned instrumentation management resource elements.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-reagent"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Substance"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqf-systemUserType",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqf-systemUserType",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-systemUserType",
      "version" : "4.0.1",
      "name" : "systemUserType",
      "title" : "systemUserType",
      "status" : "draft",
      "date" : "2015-05-30",
      "publisher" : "Health Level Seven, Inc. - CDS WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/dss"
        }]
      }],
      "description" : "The type of user initiating the request, e.g. patient, healthcare provider, or specific type of healthcare provider (physician, nurse, etc.).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Basic"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The type of user initiating the request",
          "definition" : "The type of user initiating the request, e.g. patient, healthcare provider, or specific type of healthcare provider (physician, nurse, etc.).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-systemUserType",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The type of user initiating the request",
          "definition" : "The type of user initiating the request, e.g. patient, healthcare provider, or specific type of healthcare provider (physician, nurse, etc.).",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-systemUserType"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "hla-genotyping-results-allele-database",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database",
      "version" : "4.0.1",
      "name" : "allele-database",
      "status" : "draft",
      "date" : "2015-10-09",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "Allele Database.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "DiagnosticReport"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Allele Database",
          "definition" : "Allele Database.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Allele Database",
          "definition" : "Allele Database.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "patient-birthTime",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
      "version" : "4.0.1",
      "name" : "birthTime",
      "title" : "Birth Time",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "The time of day that the Patient was born. This includes the date to ensure that the timezone information can be communicated effectively.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Patient.birthDate"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Time of day of birth",
          "definition" : "The time of day that the Patient was born. This includes the date to ensure that the timezone information can be communicated effectively.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "dateTime"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Time of day of birth",
          "definition" : "The time of day that the Patient was born. This includes the date to ensure that the timezone information can be communicated effectively.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-birthTime"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "dateTime"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaire-hidden",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden",
      "version" : "4.0.1",
      "name" : "hidden",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "If true, indicates that the extended item should not be displayed to the user.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.item"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Don't display to user",
          "definition" : "If true, indicates that the extended item should not be displayed to the user.",
          "comment" : "If an item is hidden, all descendant items are hidden as well.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Don't display to user",
          "definition" : "If true, indicates that the extended item should not be displayed to the user.",
          "comment" : "If an item is hidden, all descendant items are hidden as well.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaire-unitOption",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption",
      "version" : "4.0.1",
      "name" : "unitOption",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "A unit that the user may choose when providing a quantity value.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.item"
      }],
      "contextInvariant" : ["type='quantity'"],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Unit choice",
          "definition" : "A unit that the user may choose when providing a quantity value.",
          "comment" : "Provide either unit-option(s) or unit-valueSet. In the absence of either, any unit is valid.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Coding"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Unit choice",
          "definition" : "A unit that the user may choose when providing a quantity value.",
          "comment" : "Provide either unit-option(s) or unit-valueSet. In the absence of either, any unit is valid.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A (MIF-level)"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Coding"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/procedure-progressStatus",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "procedure-progressStatus",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/procedure-progressStatus",
      "version" : "4.0.1",
      "name" : "progressStatus",
      "title" : "progressStatus",
      "status" : "draft",
      "date" : "2015-02-12",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "A code to track a detailed progress of  a procedure (e.g. In Recovery, Prepared for Surgery).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Procedure"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A details procedure progress",
          "definition" : "A code to track a detailed progress of  a procedure (e.g. In Recovery, Prepared for Surgery).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/procedure-progressStatus",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ProcedureProgress"
            }],
            "strength" : "example",
            "description" : "A code to describe a detailed status/stage of the procedure.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/procedure-progress-status-codes"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A details procedure progress",
          "definition" : "A code to track a detailed progress of  a procedure (e.g. In Recovery, Prepared for Surgery).",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/procedure-progressStatus"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ProcedureProgress"
            }],
            "strength" : "example",
            "description" : "A code to describe a detailed status/stage of the procedure.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/procedure-progress-status-codes"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "familymemberhistory-severity",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity",
      "version" : "4.0.1",
      "name" : "severity",
      "title" : "severity",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "A qualification of the seriousness or impact on health of the family member condition.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "FamilyMemberHistory.condition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The seriousness of the family member condition",
          "definition" : "A qualification of the seriousness or impact on health of the family member condition.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConditionSeverity"
            }],
            "strength" : "example",
            "description" : "A subjective assessment of the severity of the condition as evaluated by the clinician.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/condition-severity"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The seriousness of the family member condition",
          "definition" : "A qualification of the seriousness or impact on health of the family member condition.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ConditionSeverity"
            }],
            "strength" : "example",
            "description" : "A subjective assessment of the severity of the condition as evaluated by the clinician.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/condition-severity"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/request-relevantHistory",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "request-relevantHistory",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/request-relevantHistory",
      "version" : "4.0.1",
      "name" : "relevantHistory",
      "title" : "Relevant History",
      "status" : "draft",
      "date" : "2017-12-06",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fwg"
        }]
      }],
      "description" : "Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "NutritionOrder"
      },
      {
        "type" : "element",
        "expression" : "CommunicationRequest"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Key events in history of request",
          "definition" : "Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.",
          "comment" : "This element does not point to the Provenance associated with the *current* version of the resource - as it would be created after this version existed.  The Provenance for the current version can be retrieved with a _revinclude.  Referenced provenances should adhere to the provenance-relevant-history profile.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/request-relevantHistory",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Provenance"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Key events in history of request",
          "definition" : "Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.",
          "comment" : "This element does not point to the Provenance associated with the *current* version of the resource - as it would be created after this version existed.  The Provenance for the current version can be retrieved with a _revinclude.  Referenced provenances should adhere to the provenance-relevant-history profile.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/request-relevantHistory"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Provenance"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/familymemberhistory-type",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "familymemberhistory-type",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/familymemberhistory-type",
      "version" : "4.0.1",
      "name" : "type",
      "title" : "type",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "Purpose of the family member history or why it was created, such as when family member history is targeted for cardiovascular health, mental health, or genetic counseling.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "FamilyMemberHistory"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Purpose of the family member history",
          "definition" : "Purpose of the family member history or why it was created, such as when family member history is targeted for cardiovascular health, mental health, or genetic counseling.",
          "comment" : "List.code can be used to capture the type across a list of family members' histories.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/familymemberhistory-type",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Purpose of the family member history",
          "definition" : "Purpose of the family member history or why it was created, such as when family member history is targeted for cardiovascular health, mental health, or genetic counseling.",
          "comment" : "List.code can be used to capture the type across a list of family members' histories.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/familymemberhistory-type"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqf-library",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqf-library",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-library",
      "version" : "4.0.1",
      "name" : "library",
      "title" : "library",
      "status" : "draft",
      "date" : "2015-05-30",
      "publisher" : "Health Level Seven, Inc. - CDS WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/dss"
        }]
      }],
      "description" : "A reference to a Library containing the formal logic used by the artifact.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Element"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A library containing logic used by the artifact",
          "definition" : "A reference to a Library containing the formal logic used by the artifact.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-library",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Library"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A library containing logic used by the artifact",
          "definition" : "A reference to a Library containing the formal logic used by the artifact.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-library"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "canonical",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Library"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/resource-approvalDate",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "resource-approvalDate",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/resource-approvalDate",
      "version" : "4.0.1",
      "name" : "approvalDate",
      "title" : "Approval Date",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "StructureDefinition"
      },
      {
        "type" : "element",
        "expression" : "StructureMap"
      },
      {
        "type" : "element",
        "expression" : "CapabilityStatement"
      },
      {
        "type" : "element",
        "expression" : "OperationDefinition"
      },
      {
        "type" : "element",
        "expression" : "SearchParameter"
      },
      {
        "type" : "element",
        "expression" : "CompartmentDefinition"
      },
      {
        "type" : "element",
        "expression" : "ImplementationGuide"
      },
      {
        "type" : "element",
        "expression" : "CodeSystem"
      },
      {
        "type" : "element",
        "expression" : "ValueSet"
      },
      {
        "type" : "element",
        "expression" : "ConceptMap"
      },
      {
        "type" : "element",
        "expression" : "NamingSystem"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "When resource approved by publisher",
          "definition" : "The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage.",
          "comment" : "The date may be more recent than the approval date because of minor changes / editorial corrections.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/resource-approvalDate",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "date"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "When resource approved by publisher",
          "definition" : "The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage.",
          "comment" : "The date may be more recent than the approval date because of minor changes / editorial corrections.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/resource-approvalDate"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "date"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-steward",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-steward",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-steward",
      "version" : "4.0.1",
      "name" : "steward",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "The entity that is responsible for the content of the Value Set Definition. This is a textual description of the organizational entity responsible for the content and maintenance.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Entity responsible for Value Set",
          "definition" : "The entity that is responsible for the content of the Value Set Definition. This is a textual description of the organizational entity responsible for the content and maintenance.",
          "comment" : "The information included should include contact information.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-steward",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "ContactDetail"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Entity responsible for Value Set",
          "definition" : "The entity that is responsible for the content of the Value Set Definition. This is a textual description of the organizational entity responsible for the content and maintenance.",
          "comment" : "The information included should include contact information.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-steward"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "ContactDetail"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/cqf-recipientType",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "cqf-recipientType",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-recipientType",
      "version" : "4.0.1",
      "name" : "recipientType",
      "title" : "recipientType",
      "status" : "draft",
      "date" : "2015-05-30",
      "publisher" : "Health Level Seven, Inc. - CDS WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/dss"
        }]
      }],
      "description" : "The type of individual that will consume the response content. This may be different from the requesting user type (e.g. if a clinician is getting disease management guidance for provision to a patient). E.g. patient, healthcare provider or specific type of healthcare provider (physician, nurse, etc.).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Basic"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Extension",
          "definition" : "The type of individual that will consume the response content. This may be different from the requesting user type (e.g. if a clinician is getting disease management guidance for provision to a patient). E.g. patient, healthcare provider or specific type of healthcare provider (physician, nurse, etc.).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-recipientType",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "definition" : "The type of individual that will consume the response content. This may be different from the requesting user type (e.g. if a clinician is getting disease management guidance for provision to a patient). E.g. patient, healthcare provider or specific type of healthcare provider (physician, nurse, etc.).",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/cqf-recipientType"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/geolocation",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "geolocation",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/geolocation",
      "version" : "4.0.1",
      "name" : "Geolocation",
      "title" : "Geolocation",
      "status" : "draft",
      "date" : "2013-12-05",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Address"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The absolute geographic location",
          "definition" : "The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML).",
          "comment" : "The extension can be further extended to include unique geolocation identifiers, confidence, altitude, etc.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:latitude",
          "path" : "Extension.extension",
          "sliceName" : "latitude",
          "short" : "Latitude with WGS84 datum",
          "definition" : "Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below).",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:latitude.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:latitude.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:latitude.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "latitude",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:latitude.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "decimal"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:longitude",
          "path" : "Extension.extension",
          "sliceName" : "longitude",
          "short" : "Longitude with WGS84 datum",
          "definition" : "Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below).",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:longitude.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:longitude.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:longitude.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "longitude",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:longitude.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "decimal"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/geolocation",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The absolute geographic location",
          "definition" : "The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML).",
          "comment" : "The extension can be further extended to include unique geolocation identifiers, confidence, altitude, etc.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension:latitude",
          "path" : "Extension.extension",
          "sliceName" : "latitude",
          "short" : "Latitude with WGS84 datum",
          "definition" : "Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below).",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:latitude.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:latitude.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "latitude"
        },
        {
          "id" : "Extension.extension:latitude.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "decimal"
          }]
        },
        {
          "id" : "Extension.extension:longitude",
          "path" : "Extension.extension",
          "sliceName" : "longitude",
          "short" : "Longitude with WGS84 datum",
          "definition" : "Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below).",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:longitude.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:longitude.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "longitude"
        },
        {
          "id" : "Extension.extension:longitude.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "decimal"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/geolocation"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/valueset-special-status",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "valueset-special-status",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/valueset-special-status",
      "version" : "4.0.1",
      "name" : "special-status",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "A special note for implementers about the status of the resource.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ValueSet"
      },
      {
        "type" : "element",
        "expression" : "CodeSystem"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Special note about status for implementers",
          "definition" : "A special note for implementers about the status of the resource.",
          "comment" : "This is used in the build to mark that though a resource is normative, it changes with the build.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-special-status",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Special note about status for implementers",
          "definition" : "A special note for implementers about the status of the resource.",
          "comment" : "This is used in the build to mark that though a resource is normative, it changes with the build.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/valueset-special-status"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/contactpoint-area",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "contactpoint-area",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-area",
      "version" : "4.0.1",
      "name" : "area",
      "title" : "Area Code",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The area/zone/city code that, in some areas, may be omitted when dialing locally within the zone. This extension is used when a system wishes to designate specific parts of a phone number (and potentially place constraints on which components must be present and how they're filled in).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ContactPoint"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Area/zone/city code",
          "definition" : "The area/zone/city code that, in some areas, may be omitted when dialing locally within the zone. This extension is used when a system wishes to designate specific parts of a phone number (and potentially place constraints on which components must be present and how they're filled in).",
          "comment" : "The ContactPoint.value element SHOULD still be populated even if the extension is present.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/contactpoint-area",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Area/zone/city code",
          "definition" : "The area/zone/city code that, in some areas, may be omitted when dialing locally within the zone. This extension is used when a system wishes to designate specific parts of a phone number (and potentially place constraints on which components must be present and how they're filled in).",
          "comment" : "The ContactPoint.value element SHOULD still be populated even if the extension is present.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/contactpoint-area"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/event-basedOn",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "event-basedOn",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/event-basedOn",
      "version" : "4.0.1",
      "name" : "basedOn",
      "title" : "Based On",
      "status" : "draft",
      "date" : "2017-12-06",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fwg"
        }]
      }],
      "description" : "A plan, proposal or order that is fulfilled in whole or in part by this event.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "workflow",
        "uri" : "http://hl7.org/fhir/workflow",
        "name" : "Workflow Pattern"
      },
      {
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Condition"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Fulfills plan, proposal or order",
          "definition" : "A plan, proposal or order that is fulfilled in whole or in part by this event.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.basedOn"
          },
          {
            "identity" : "v2",
            "map" : "ORC in proximity to EVN segment"
          },
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=FLFS].target"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/event-basedOn",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Fulfills plan, proposal or order",
          "definition" : "A plan, proposal or order that is fulfilled in whole or in part by this event.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.basedOn"
          },
          {
            "identity" : "v2",
            "map" : "ORC in proximity to EVN segment"
          },
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=FLFS].target"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/event-basedOn"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/event-location",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "event-location",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/event-location",
      "version" : "4.0.1",
      "name" : "location",
      "title" : "Event Location",
      "status" : "draft",
      "date" : "2017-12-06",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fwg"
        }]
      }],
      "description" : "The principal physical location where the {{title}} was performed.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "workflow",
        "uri" : "http://hl7.org/fhir/workflow",
        "name" : "Workflow Pattern"
      },
      {
        "identity" : "v2",
        "uri" : "http://hl7.org/v2",
        "name" : "HL7 v2 Mapping"
      },
      {
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      },
      {
        "type" : "element",
        "expression" : "DiagnosticReport"
      },
      {
        "type" : "element",
        "expression" : "Media"
      },
      {
        "type" : "element",
        "expression" : "SupplyDelivery"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Where event occurred",
          "definition" : "The principal physical location where the {{title}} was performed.",
          "comment" : "May reference only *Provenance* resources deemed “relevant” or important. This element does not point to the Provenance associated with the current version of the resource - as it would be created after this version existed. The Provenance for the current version can be retrieved with a [` _revinclude`](search.html#revinclude).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.location"
          },
          {
            "identity" : "v2",
            "map" : "EVN.7"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=LOC].role"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/event-location",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Location"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Where event occurred",
          "definition" : "The principal physical location where the {{title}} was performed.",
          "comment" : "May reference only *Provenance* resources deemed “relevant” or important. This element does not point to the Provenance associated with the current version of the resource - as it would be created after this version existed. The Provenance for the current version can be retrieved with a [` _revinclude`](search.html#revinclude).",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "workflow",
            "map" : "Event.location"
          },
          {
            "identity" : "v2",
            "map" : "EVN.7"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=LOC].role"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/event-location"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Location"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-gatewayDevice",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice",
      "version" : "4.0.1",
      "name" : "gatewayDevice",
      "title" : "Gateway Device",
      "status" : "draft",
      "date" : "2015-03-02",
      "publisher" : "Health Level Seven, Inc. - OO WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/orders"
        }]
      }],
      "description" : "The Provenance/AuditEvent resources can represent the same information.  Note that the Provenance/AuditEvent resources can represent the same information.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Gateway Device",
          "definition" : "The Provenance/AuditEvent resources can represent the same information.  Note that the Provenance/AuditEvent resources can represent the same information.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Device"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Gateway Device",
          "definition" : "The Provenance/AuditEvent resources can represent the same information.  Note that the Provenance/AuditEvent resources can represent the same information.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Device"]
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/goal-acceptance",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "goal-acceptance",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/goal-acceptance",
      "version" : "4.0.1",
      "name" : "acceptance",
      "title" : "Goal acceptance",
      "status" : "draft",
      "date" : "2014-12-07",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/fhir"
        }]
      }],
      "description" : "Information about the acceptance and relative priority assigned to the goal by the patient, practitioners and other stake-holders.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Goal"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Individual acceptance of goal",
          "definition" : "Information about the acceptance and relative priority assigned to the goal by the patient, practitioners and other stake-holders.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:individual",
          "path" : "Extension.extension",
          "sliceName" : "individual",
          "short" : "Individual whose acceptance is reflected",
          "definition" : "The person whose acceptance/priority is being reflected.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:individual.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:individual.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:individual.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "individual",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:individual.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient",
            "http://hl7.org/fhir/StructureDefinition/Practitioner",
            "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:status",
          "path" : "Extension.extension",
          "sliceName" : "status",
          "short" : "agree | disagree | pending",
          "definition" : "Indicates whether the specified individual has accepted the goal or not.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:status.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:status.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:status.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "status",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:status.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "GoalAcceptanceStatus"
            }],
            "strength" : "required",
            "description" : "Codes indicating whether the goal has been accepted by a stakeholder.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/goal-acceptance-status|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:priority",
          "path" : "Extension.extension",
          "sliceName" : "priority",
          "short" : "Priority of goal for individual",
          "definition" : "Indicates the relative priority assigned to the resource by the stakeholder.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:priority.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:priority.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:priority.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "priority",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:priority.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "GoalAcceptancePriority"
            }],
            "strength" : "example",
            "description" : "Codes indicating the relative priority assigned to a goal by a stakeholder.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/goal-priority"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/goal-acceptance",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Individual acceptance of goal",
          "definition" : "Information about the acceptance and relative priority assigned to the goal by the patient, practitioners and other stake-holders.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension:individual",
          "path" : "Extension.extension",
          "sliceName" : "individual",
          "short" : "Individual whose acceptance is reflected",
          "definition" : "The person whose acceptance/priority is being reflected.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:individual.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:individual.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "individual"
        },
        {
          "id" : "Extension.extension:individual.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient",
            "http://hl7.org/fhir/StructureDefinition/Practitioner",
            "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
          }]
        },
        {
          "id" : "Extension.extension:status",
          "path" : "Extension.extension",
          "sliceName" : "status",
          "short" : "agree | disagree | pending",
          "definition" : "Indicates whether the specified individual has accepted the goal or not.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:status.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:status.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "status"
        },
        {
          "id" : "Extension.extension:status.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "GoalAcceptanceStatus"
            }],
            "strength" : "required",
            "description" : "Codes indicating whether the goal has been accepted by a stakeholder.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/goal-acceptance-status|4.0.1"
          }
        },
        {
          "id" : "Extension.extension:priority",
          "path" : "Extension.extension",
          "sliceName" : "priority",
          "short" : "Priority of goal for individual",
          "definition" : "Indicates the relative priority assigned to the resource by the stakeholder.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:priority.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:priority.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "priority"
        },
        {
          "id" : "Extension.extension:priority.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "GoalAcceptancePriority"
            }],
            "strength" : "example",
            "description" : "Codes indicating the relative priority assigned to a goal by a stakeholder.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/goal-priority"
          }
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/goal-acceptance"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/tz-code",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "tz-code",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/tz-code",
      "version" : "4.0.1",
      "name" : "Timezone Code",
      "title" : "An IANA timezone code for  the timezone offset per BCP 175",
      "status" : "draft",
      "date" : "2013-12-05",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "An IANA timezone code for  the timezone offset per [BCP 175](https://www.iana.org/go/rfc6557). The offset is specified as part of a dateTime/instant (or using the tzOffset extension on a date if necessary). The timezone code may also be provided to allow for human display of the location associated with the offset.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "date"
      },
      {
        "type" : "element",
        "expression" : "dateTime"
      },
      {
        "type" : "element",
        "expression" : "instant"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "IANA Timezone Code per BCP 175",
          "definition" : "An IANA timezone code for  the timezone offset per [BCP 175](https://www.iana.org/go/rfc6557). The offset is specified as part of a dateTime/instant (or using the tzOffset extension on a date if necessary). The timezone code may also be provided to allow for human display of the location associated with the offset.",
          "comment" : "See [https://www.iana.org/time-zones](https://www.iana.org/time-zones).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/tz-code",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "IANATimezone"
            }],
            "strength" : "required",
            "description" : "IANA Timezones (BCP 175).",
            "valueSet" : "http://hl7.org/fhir/ValueSet/timezones|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "IANA Timezone Code per BCP 175",
          "definition" : "An IANA timezone code for  the timezone offset per [BCP 175](https://www.iana.org/go/rfc6557). The offset is specified as part of a dateTime/instant (or using the tzOffset extension on a date if necessary). The timezone code may also be provided to allow for human display of the location associated with the offset.",
          "comment" : "See [https://www.iana.org/time-zones](https://www.iana.org/time-zones).",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/tz-code"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "IANATimezone"
            }],
            "strength" : "required",
            "description" : "IANA Timezones (BCP 175).",
            "valueSet" : "http://hl7.org/fhir/ValueSet/timezones|4.0.1"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/patient-preferenceType",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "patient-preferenceType",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/patient-preferenceType",
      "version" : "4.0.1",
      "name" : "preferenceType",
      "title" : "preferenceType",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "Indicates what mode of communication the patient prefers to use for the indicated language.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Patient.communication.preferred"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The type of the patient's preferred language.",
          "definition" : "Indicates what mode of communication the patient prefers to use for the indicated language.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-preferenceType",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Coding"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "LanguagePreferenceType"
            }],
            "strength" : "extensible",
            "valueSet" : "http://hl7.org/fhir/ValueSet/language-preference-type"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "The type of the patient's preferred language.",
          "definition" : "Indicates what mode of communication the patient prefers to use for the indicated language.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-preferenceType"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Coding"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "LanguagePreferenceType"
            }],
            "strength" : "extensible",
            "valueSet" : "http://hl7.org/fhir/ValueSet/language-preference-type"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/variable",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "variable",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/variable",
      "version" : "4.0.1",
      "name" : "Variable",
      "status" : "draft",
      "date" : "2013-12-05",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "Variable specifying a logic to generate a variable for use in subsequent logic.  The name of the variable will be added to FHIRPath's context when processing descendants of the element that contains this extension.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.item"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Variable for processing",
          "definition" : "Variable specifying a logic to generate a variable for use in subsequent logic.  The name of the variable will be added to FHIRPath's context when processing descendants of the element that contains this extension.",
          "comment" : "Ordering of variable extension declarations is significant as variables declared in one repetition of this extension might be used in subsequent extension repetitions.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/variable",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Expression"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Variable for processing",
          "definition" : "Variable specifying a logic to generate a variable for use in subsequent logic.  The name of the variable will be added to FHIRPath's context when processing descendants of the element that contains this extension.",
          "comment" : "Ordering of variable extension declarations is significant as variables declared in one repetition of this extension might be used in subsequent extension repetitions.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/variable"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Expression"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "nutritionorder-adaptiveFeedingDevice",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice",
      "version" : "4.0.1",
      "name" : "adaptiveFeedingDevice",
      "title" : "Adaptive Feeding Device",
      "status" : "draft",
      "date" : "2017-10-18",
      "publisher" : "Health Level Seven, Inc. - Orders and Observations WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/orders"
        }]
      }],
      "description" : "Materials used or needed to feed the patient.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "NutritionOrder.oralDiet"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Adaptive Feeding Device",
          "definition" : "Materials used or needed to feed the patient.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "FeedingDevice"
            }],
            "strength" : "example",
            "description" : "Materials used or needed to feed the patient.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/feeding-device"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Adaptive Feeding Device",
          "definition" : "Materials used or needed to feed the patient.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "FeedingDevice"
            }],
            "strength" : "example",
            "description" : "Materials used or needed to feed the patient.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/feeding-device"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-deviceCode",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-deviceCode",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-deviceCode",
      "version" : "4.0.1",
      "name" : "deviceCode",
      "title" : "Device Code",
      "status" : "draft",
      "date" : "2015-03-02",
      "publisher" : "Health Level Seven, Inc. - OO WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/orders"
        }]
      }],
      "description" : "A code representing the the type of device used for this observation.  Should only be used if not implicit in the code found in `Observation.code`.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A code representing the the type of device used for this observation.  Should only be used if not implicit in the code found in `Observation.code`",
          "definition" : "A code representing the the type of device used for this observation.  Should only be used if not implicit in the code found in `Observation.code`.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-deviceCode",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "DeviceCode"
            }],
            "strength" : "example",
            "valueSet" : "http://hl7.org/fhir/ValueSet/device-kind"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "A code representing the the type of device used for this observation.  Should only be used if not implicit in the code found in `Observation.code`",
          "definition" : "A code representing the the type of device used for this observation.  Should only be used if not implicit in the code found in `Observation.code`.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-deviceCode"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "DeviceCode"
            }],
            "strength" : "example",
            "valueSet" : "http://hl7.org/fhir/ValueSet/device-kind"
          }
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/careplan-activity-title",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "careplan-activity-title",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/careplan-activity-title",
      "version" : "4.0.1",
      "name" : "activity-title",
      "title" : "Title",
      "status" : "draft",
      "date" : "2015-03-27",
      "publisher" : "Health Level Seven, Inc. - Patient Care WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/patientcare.html"
        }]
      }],
      "description" : "Human-friendly name for the activity.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CarePlan.activity"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Label for activity",
          "definition" : "Human-friendly name for the activity.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/careplan-activity-title",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Label for activity",
          "definition" : "Human-friendly name for the activity.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/careplan-activity-title"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "iso21090-PQ-translation",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation",
      "version" : "4.0.1",
      "name" : "PQ-translation",
      "status" : "draft",
      "date" : "2012-06-24",
      "publisher" : "Health Level Seven International (Modeling and Methodology)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/mnm"
        }]
      }],
      "description" : "An alternative representation of the same physical quantity expressed in a different unit from a different unit code system and possibly with a different value.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Quantity"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Same quantity with different units",
          "definition" : "An alternative representation of the same physical quantity expressed in a different unit from a different unit code system and possibly with a different value.",
          "comment" : "It is not necessary for information processing entities to check and enforce that the translations are valid translations of the base unit, but they are allowed to do so, and to reject instances where the translations are not valid. \nNOTE Translations are allowed to contain other representations in UCUM units, but there is generally no point to this as it is possible to convert from one UCUM form to another.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "PQ.translation"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Quantity"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Same quantity with different units",
          "definition" : "An alternative representation of the same physical quantity expressed in a different unit from a different unit code system and possibly with a different value.",
          "comment" : "It is not necessary for information processing entities to check and enforce that the translations are valid translations of the base unit, but they are allowed to do so, and to reject instances where the translations are not valid. \nNOTE Translations are allowed to contain other representations in UCUM units, but there is generally no point to this as it is possible to convert from one UCUM form to another.",
          "min" : 0,
          "max" : "*",
          "mapping" : [{
            "identity" : "rim",
            "map" : "PQ.translation"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Quantity"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "ordinalValue",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
      "version" : "4.0.1",
      "name" : "Ordinal Value",
      "status" : "draft",
      "date" : "2013-12-05",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "A numeric value that allows the comparison (less than, greater than) or other numerical \nmanipulation of a concept (e.g. Adding up components of a score). Scores are usually a whole number, but occasionally decimals are encountered in scores.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Coding"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.answerOption"
      },
      {
        "type" : "element",
        "expression" : "CodeSystem.concept"
      },
      {
        "type" : "element",
        "expression" : "ValueSet.compose.include.concept"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Assigned Ordinal Value",
          "definition" : "A numeric value that allows the comparison (less than, greater than) or other numerical \nmanipulation of a concept (e.g. Adding up components of a score). Scores are usually a whole number, but occasionally decimals are encountered in scores.",
          "comment" : "Scores are commonly encountered in various clinical assessment scales. Assigning a value to a concept should generally be done in a formal code system that defines the value, or in an applicable value set for the concept, but some concepts do not have a formal definition (or are not even represented as a concept formally, especially in [Questionnaires](questionnaire.html), \nso this extension is allowed to appear ouside those preferred contexts.  Scores may even be assigned arbitrarily during use (hence, on Coding). The value may be constrained to an integer in some contexts of use. Todo: Scoring algorithms may also be defined directly, but how this is done is not yet defined.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "decimal"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Assigned Ordinal Value",
          "definition" : "A numeric value that allows the comparison (less than, greater than) or other numerical \nmanipulation of a concept (e.g. Adding up components of a score). Scores are usually a whole number, but occasionally decimals are encountered in scores.",
          "comment" : "Scores are commonly encountered in various clinical assessment scales. Assigning a value to a concept should generally be done in a formal code system that defines the value, or in an applicable value set for the concept, but some concepts do not have a formal definition (or are not even represented as a concept formally, especially in [Questionnaires](questionnaire.html), \nso this extension is allowed to appear ouside those preferred contexts.  Scores may even be assigned arbitrarily during use (hence, on Coding). The value may be constrained to an integer in some contexts of use. Todo: Scoring algorithms may also be defined directly, but how this is done is not yet defined.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/ordinalValue"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "decimal"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/relative-date",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "relative-date",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/relative-date",
      "version" : "4.0.1",
      "name" : "Relative Date Criteria",
      "title" : "Relative Date Criteria",
      "status" : "draft",
      "date" : "2013-12-05",
      "publisher" : "Health Level Seven International (FHIR Infrastructure)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }]
      }],
      "description" : "Specifies that a date is relative to some event. The event happens [Duration] after [Event].",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "date"
      },
      {
        "type" : "element",
        "expression" : "dateTime"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Relative Date Criteria",
          "definition" : "Specifies that a date is relative to some event. The event happens [Duration] after [Event].",
          "comment" : "This extension is used when a precise date is not known, but rather, the date will be relative to some future event (e.g. Do this 2 weeks after an operation).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:event",
          "path" : "Extension.extension",
          "sliceName" : "event",
          "short" : "Event that the date is relative to",
          "definition" : "The event that the date(time) is relative to.",
          "comment" : "This can be a reference to a particular event, or a kind of event (usually where the kind would not happen very frequently).",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:event.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:event.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:event.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "event",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:event.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
          },
          {
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:relationship",
          "path" : "Extension.extension",
          "sliceName" : "relationship",
          "short" : "before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end",
          "definition" : "Defines the relationship between the event and the date.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:relationship.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:relationship.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:relationship.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "relationship",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:relationship.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "code"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ActionRelationshipType"
            }],
            "strength" : "required",
            "description" : "Defines the types of relationships between actions.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/action-relationship-type|4.0.1"
          },
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:offset",
          "path" : "Extension.extension",
          "sliceName" : "offset",
          "short" : "Duration after the event",
          "definition" : "The duration after the event that the date(time) will happen.",
          "min" : 1,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:offset.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:offset.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:offset.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "offset",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:offset.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Duration"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/relative-date",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Relative Date Criteria",
          "definition" : "Specifies that a date is relative to some event. The event happens [Duration] after [Event].",
          "comment" : "This extension is used when a precise date is not known, but rather, the date will be relative to some future event (e.g. Do this 2 weeks after an operation).",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension:event",
          "path" : "Extension.extension",
          "sliceName" : "event",
          "short" : "Event that the date is relative to",
          "definition" : "The event that the date(time) is relative to.",
          "comment" : "This can be a reference to a particular event, or a kind of event (usually where the kind would not happen very frequently).",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:event.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:event.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "event"
        },
        {
          "id" : "Extension.extension:event.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
          },
          {
            "code" : "CodeableConcept"
          }]
        },
        {
          "id" : "Extension.extension:relationship",
          "path" : "Extension.extension",
          "sliceName" : "relationship",
          "short" : "before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end",
          "definition" : "Defines the relationship between the event and the date.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:relationship.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:relationship.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "relationship"
        },
        {
          "id" : "Extension.extension:relationship.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "code"
          }],
          "binding" : {
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "ActionRelationshipType"
            }],
            "strength" : "required",
            "description" : "Defines the types of relationships between actions.",
            "valueSet" : "http://hl7.org/fhir/ValueSet/action-relationship-type|4.0.1"
          }
        },
        {
          "id" : "Extension.extension:offset",
          "path" : "Extension.extension",
          "sliceName" : "offset",
          "short" : "Duration after the event",
          "definition" : "The duration after the event that the date(time) will happen.",
          "min" : 1,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:offset.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:offset.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "offset"
        },
        {
          "id" : "Extension.extension:offset.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Duration"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/relative-date"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/codesystem-effectiveDate",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "codesystem-effectiveDate",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/codesystem-effectiveDate",
      "version" : "4.0.1",
      "name" : "effectiveDate",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "This is the first date-time when the value set version becomes active, so this value is present on Inactive value set versions as well. The start Date_time is expected to be as of 0001 UTC of the Effective Date.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CodeSystem"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "When the value set version becomes Active and is available for use",
          "definition" : "This is the first date-time when the value set version becomes active, so this value is present on Inactive value set versions as well. The start Date_time is expected to be as of 0001 UTC of the Effective Date.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-effectiveDate",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "date"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "When the value set version becomes Active and is available for use",
          "definition" : "This is the first date-time when the value set version becomes active, so this value is present on Inactive value set versions as well. The start Date_time is expected to be as of 0001 UTC of the Effective Date.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-effectiveDate"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "date"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/parameters-fullUrl",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "parameters-fullUrl",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/parameters-fullUrl",
      "version" : "4.0.1",
      "name" : "fullUrl",
      "title" : "fullUrl for resource",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "This specifies the fullUrl for the resource in parameters.resource, if there is one. When fullUrl is provided, ithe [resource resolution method described for Bundle](bundle.html#references).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Parameters.parameter"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "fullUrl for resource",
          "definition" : "This specifies the fullUrl for the resource in parameters.resource, if there is one. When fullUrl is provided, ithe [resource resolution method described for Bundle](bundle.html#references).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/parameters-fullUrl",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "fullUrl for resource",
          "definition" : "This specifies the fullUrl for the resource in parameters.resource, if there is one. When fullUrl is provided, ithe [resource resolution method described for Bundle](bundle.html#references).",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/parameters-fullUrl"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/communication-media",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "communication-media",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pc"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/communication-media",
      "version" : "4.0.1",
      "name" : "media",
      "title" : "media",
      "status" : "draft",
      "date" : "2015-02-21",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "It contains enriched media representation of the alert message, such as a voice recording.  This may be used, for example for compliance with jurisdictional accessibility requirements, literacy issues, or translations of the unstructured text content in other languages.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Communication"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Attached media",
          "definition" : "It contains enriched media representation of the alert message, such as a voice recording.  This may be used, for example for compliance with jurisdictional accessibility requirements, literacy issues, or translations of the unstructured text content in other languages.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/communication-media",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Attachment"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Attached media",
          "definition" : "It contains enriched media representation of the alert message, such as a voice recording.  This may be used, for example for compliance with jurisdictional accessibility requirements, literacy issues, or translations of the unstructured text content in other languages.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/communication-media"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Attachment"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "specimen-isDryWeight",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight",
      "version" : "4.0.1",
      "name" : "isDryWeight",
      "title" : "Is Dry Weight",
      "status" : "draft",
      "date" : "2015-02-19",
      "publisher" : "Health Level Seven, Inc. - FHIR WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "HL7"
        }]
      }],
      "description" : "If the recorded quantity of the specimen is reported as a weight, if it is a dry weight.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Specimen.collection.quantity"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Whether quantity is a dry weight",
          "definition" : "If the recorded quantity of the specimen is reported as a weight, if it is a dry weight.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "boolean"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Whether quantity is a dry weight",
          "definition" : "If the recorded quantity of the specimen is reported as a weight, if it is a dry weight.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "boolean"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/patient-importance",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "patient-importance",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "pa"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/patient-importance",
      "version" : "4.0.1",
      "name" : "importance",
      "title" : "importance",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "The importance of the patient (e.g. VIP).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Patient"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Special status given the patient",
          "definition" : "The importance of the patient (e.g. VIP).",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-importance",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "CodeableConcept"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Special status given the patient",
          "definition" : "The importance of the patient (e.g. VIP).",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/patient-importance"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "CodeableConcept"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "observation-geneticsPhaseSet",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "oo"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet",
      "version" : "4.0.1",
      "name" : "PhaseSet",
      "status" : "draft",
      "date" : "2016-03-14",
      "publisher" : "Health Level Seven International (Clinical Genomics)",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/clingenomics"
        }]
      }],
      "description" : "Phase set information.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Observation"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Phase set",
          "definition" : "Phase set information.",
          "min" : 0,
          "max" : "*",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.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 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"
          }],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:Id",
          "path" : "Extension.extension",
          "sliceName" : "Id",
          "short" : "Phase set ID",
          "definition" : "This is a globally unique phaseSet id.",
          "min" : 0,
          "max" : "1",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:Id.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:Id.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:Id.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Id",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:Id.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:MolecularSequence",
          "path" : "Extension.extension",
          "sliceName" : "MolecularSequence",
          "short" : "Phase set sequence",
          "definition" : "MolecularSequence pointed to phase set (from: https://www.hl7.org/fhir/STU3/extension-observation-geneticssequence.html).",
          "min" : 1,
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:MolecularSequence.id",
          "path" : "Extension.extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension:MolecularSequence.extension",
          "path" : "Extension.extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.extension:MolecularSequence.url",
          "path" : "Extension.extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "MolecularSequence",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.extension:MolecularSequence.value[x]",
          "path" : "Extension.extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/MolecularSequence"]
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 0,
          "max" : "0",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "base64Binary"
          },
          {
            "code" : "boolean"
          },
          {
            "code" : "canonical"
          },
          {
            "code" : "code"
          },
          {
            "code" : "date"
          },
          {
            "code" : "dateTime"
          },
          {
            "code" : "decimal"
          },
          {
            "code" : "id"
          },
          {
            "code" : "instant"
          },
          {
            "code" : "integer"
          },
          {
            "code" : "markdown"
          },
          {
            "code" : "oid"
          },
          {
            "code" : "positiveInt"
          },
          {
            "code" : "string"
          },
          {
            "code" : "time"
          },
          {
            "code" : "unsignedInt"
          },
          {
            "code" : "uri"
          },
          {
            "code" : "url"
          },
          {
            "code" : "uuid"
          },
          {
            "code" : "Address"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Annotation"
          },
          {
            "code" : "Attachment"
          },
          {
            "code" : "CodeableConcept"
          },
          {
            "code" : "Coding"
          },
          {
            "code" : "ContactPoint"
          },
          {
            "code" : "Count"
          },
          {
            "code" : "Distance"
          },
          {
            "code" : "Duration"
          },
          {
            "code" : "HumanName"
          },
          {
            "code" : "Identifier"
          },
          {
            "code" : "Money"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Quantity"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "Ratio"
          },
          {
            "code" : "Reference"
          },
          {
            "code" : "SampledData"
          },
          {
            "code" : "Signature"
          },
          {
            "code" : "Timing"
          },
          {
            "code" : "ContactDetail"
          },
          {
            "code" : "Contributor"
          },
          {
            "code" : "DataRequirement"
          },
          {
            "code" : "Expression"
          },
          {
            "code" : "ParameterDefinition"
          },
          {
            "code" : "RelatedArtifact"
          },
          {
            "code" : "TriggerDefinition"
          },
          {
            "code" : "UsageContext"
          },
          {
            "code" : "Dosage"
          },
          {
            "code" : "Meta"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Phase set",
          "definition" : "Phase set information.",
          "min" : 0,
          "max" : "*"
        },
        {
          "id" : "Extension.extension:Id",
          "path" : "Extension.extension",
          "sliceName" : "Id",
          "short" : "Phase set ID",
          "definition" : "This is a globally unique phaseSet id.",
          "min" : 0,
          "max" : "1",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:Id.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:Id.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "Id"
        },
        {
          "id" : "Extension.extension:Id.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "uri"
          }]
        },
        {
          "id" : "Extension.extension:MolecularSequence",
          "path" : "Extension.extension",
          "sliceName" : "MolecularSequence",
          "short" : "Phase set sequence",
          "definition" : "MolecularSequence pointed to phase set (from: https://www.hl7.org/fhir/STU3/extension-observation-geneticssequence.html).",
          "min" : 1,
          "max" : "*",
          "type" : [{
            "code" : "Extension"
          }]
        },
        {
          "id" : "Extension.extension:MolecularSequence.extension",
          "path" : "Extension.extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.extension:MolecularSequence.url",
          "path" : "Extension.extension.url",
          "type" : [{
            "code" : "uri"
          }],
          "fixedUri" : "MolecularSequence"
        },
        {
          "id" : "Extension.extension:MolecularSequence.value[x]",
          "path" : "Extension.extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "Reference",
            "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/MolecularSequence"]
          }]
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 0,
          "max" : "0"
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/codesystem-expirationDate",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "codesystem-expirationDate",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "vocab"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/codesystem-expirationDate",
      "version" : "4.0.1",
      "name" : "expirationDate",
      "status" : "draft",
      "date" : "2019-11-01T09:29:23+11:00",
      "publisher" : "HL7",
      "description" : "The date when the value set version is no longer expected to be used to create new content. This is the first date-time when the value set version becomes Inactive, so this value MUST present on all Inactive value set versions. The start Date_time is expected to be as of 0001 UTC of the Expiration Date.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "CodeSystem"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "When the value set version should no longer be used",
          "definition" : "The date when the value set version is no longer expected to be used to create new content. This is the first date-time when the value set version becomes Inactive, so this value MUST present on all Inactive value set versions. The start Date_time is expected to be as of 0001 UTC of the Expiration Date.",
          "comment" : "Upon reaching the Expiration Date, the value set Activity Status should be consdiered as inactive. An Inactive value set version may no longer be used to create new content, but it may be used to evaluate content created prior to the Expiration Date.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-expirationDate",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "date"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "When the value set version should no longer be used",
          "definition" : "The date when the value set version is no longer expected to be used to create new content. This is the first date-time when the value set version becomes Inactive, so this value MUST present on all Inactive value set versions. The start Date_time is expected to be as of 0001 UTC of the Expiration Date.",
          "comment" : "Upon reaching the Expiration Date, the value set Activity Status should be consdiered as inactive. An Inactive value set version may no longer be used to create new content, but it may be used to evaluate content created prior to the Expiration Date.",
          "min" : 0,
          "max" : "1",
          "isModifier" : false
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/codesystem-expirationDate"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "date"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/contactpoint-extension",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "contactpoint-extension",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-extension",
      "version" : "4.0.1",
      "name" : "extension",
      "title" : "Extension",
      "status" : "draft",
      "date" : "2015-02-28",
      "publisher" : "Health Level Seven, Inc. - FHIR Core WG",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://hl7.org/special/committees/FHIR"
        }]
      }],
      "description" : "The number that may be dialed within a private phone network or after successfully connecting to a private phone network. This extension is used when a system wishes to designate specific parts of a phone number (and potentially place constraints on which components must be present and how they're filled in).",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "ContactPoint"
      }],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Number within private network",
          "definition" : "The number that may be dialed within a private phone network or after successfully connecting to a private phone network. This extension is used when a system wishes to designate specific parts of a phone number (and potentially place constraints on which components must be present and how they're filled in).",
          "comment" : "The ContactPoint.value element SHOULD still be populated even if the extension is present.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/contactpoint-extension",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "string"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Number within private network",
          "definition" : "The number that may be dialed within a private phone network or after successfully connecting to a private phone network. This extension is used when a system wishes to designate specific parts of a phone number (and potentially place constraints on which components must be present and how they're filled in).",
          "comment" : "The ContactPoint.value element SHOULD still be populated even if the extension is present.",
          "min" : 0,
          "max" : "1"
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/contactpoint-extension"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "string"
          }]
        }]
      }
    }
  },
  {
    "fullUrl" : "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
    "resource" : {
      "resourceType" : "StructureDefinition",
      "id" : "questionnaire-maxOccurs",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
        "valueCode" : "fhir"
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
        "valueInteger" : 1
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
      "version" : "4.0.1",
      "name" : "maxOccurs",
      "status" : "draft",
      "date" : "2013-07-04",
      "publisher" : "HL7",
      "contact" : [{
        "telecom" : [{
          "system" : "url",
          "value" : "http://www.hl7.org"
        }]
      }],
      "description" : "The maximum number of times the group must appear, or the maximum number of answers for a question - when greater than 1 and not unlimited.",
      "fhirVersion" : "4.0.1",
      "mapping" : [{
        "identity" : "rim",
        "uri" : "http://hl7.org/v3",
        "name" : "RIM Mapping"
      }],
      "kind" : "complex-type",
      "abstract" : false,
      "context" : [{
        "type" : "element",
        "expression" : "Questionnaire.item"
      },
      {
        "type" : "element",
        "expression" : "Questionnaire.item.item"
      }],
      "contextInvariant" : ["type!='display' and (repeats=true or %extension.valueInteger=1)"],
      "type" : "Extension",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
      "derivation" : "constraint",
      "snapshot" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Maximum repetitions",
          "definition" : "The maximum number of times the group must appear, or the maximum number of answers for a question - when greater than 1 and not unlimited.",
          "comment" : "Only relevant if the element has repeats=true and there's a need to constrain the number of allowed repetitions.",
          "min" : 0,
          "max" : "1",
          "base" : {
            "path" : "Extension",
            "min" : 0,
            "max" : "*"
          },
          "condition" : ["ele-1"],
          "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" : "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A - MIF rather than RIM level"
          }]
        },
        {
          "id" : "Extension.id",
          "path" : "Extension.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" : "string"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "n/a"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "slicing" : {
            "discriminator" : [{
              "type" : "value",
              "path" : "url"
            }],
            "description" : "Extensions are always sliced by (at least) url",
            "rules" : "open"
          },
          "short" : "Extension",
          "definition" : "An Extension",
          "min" : 0,
          "max" : "0",
          "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())",
            "xpath" : "@value|f:*|h:div",
            "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()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }],
          "isModifier" : false,
          "isSummary" : false
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "representation" : ["xmlAttr"],
          "short" : "identifies the meaning of the extension",
          "definition" : "Source of the definition for the extension code - a logical name or a URL.",
          "comment" : "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.url",
            "min" : 1,
            "max" : "1"
          },
          "type" : [{
            "extension" : [{
              "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
              "valueUrl" : "uri"
            }],
            "code" : "http://hl7.org/fhirpath/System.String"
          }],
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "short" : "Value of extension",
          "definition" : "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
          "min" : 1,
          "max" : "1",
          "base" : {
            "path" : "Extension.value[x]",
            "min" : 0,
            "max" : "1"
          },
          "type" : [{
            "code" : "integer"
          }],
          "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" : "http://hl7.org/fhir/StructureDefinition/Element"
          }],
          "isModifier" : false,
          "isSummary" : false,
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A"
          }]
        }]
      },
      "differential" : {
        "element" : [{
          "id" : "Extension",
          "path" : "Extension",
          "short" : "Maximum repetitions",
          "definition" : "The maximum number of times the group must appear, or the maximum number of answers for a question - when greater than 1 and not unlimited.",
          "comment" : "Only relevant if the element has repeats=true and there's a need to constrain the number of allowed repetitions.",
          "min" : 0,
          "max" : "1",
          "mapping" : [{
            "identity" : "rim",
            "map" : "N/A - MIF rather than RIM level"
          }]
        },
        {
          "id" : "Extension.extension",
          "path" : "Extension.extension",
          "max" : "0"
        },
        {
          "id" : "Extension.url",
          "path" : "Extension.url",
          "fixedUri" : "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs"
        },
        {
          "id" : "Extension.value[x]",
          "path" : "Extension.value[x]",
          "min" : 1,
          "type" : [{
            "code" : "integer"
          }]
        }]
      }
    }
  }]
}