### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/ImplementationGuide.json
### ----------------------------------------------------
### -- Chunk 15 of 16
 : "ImplementationGuide.manifest.page.id",
      "path" : "ImplementationGuide.manifest.page.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ImplementationGuide.manifest.page.extension",
      "path" : "ImplementationGuide.manifest.page.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ImplementationGuide.manifest.page.modifierExtension",
      "path" : "ImplementationGuide.manifest.page.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ImplementationGuide.manifest.page.name",
      "path" : "ImplementationGuide.manifest.page.name",
      "short" : "HTML page name",
      "definition" : "Relative path to the page.",
      "comment" : "Appending 'rendering' + \"/\" + this should resolve to the page.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "ImplementationGuide.manifest.page.name",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ImplementationGuide.manifest.page.title",
      "path" : "ImplementationGuide.manifest.page.title",
      "short" : "Title of the page, for references",
      "definition" : "Label for the page intended for human display.",
      "requirements" : "Allows generation of labels for markdown-generated hyperlinks.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "ImplementationGuide.manifest.page.title",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ImplementationGuide.manifest.page.anchor",
      "path" : "ImplementationGuide.manifest.page.anchor",
      "short" : "Anchor available on the page",
      "definition" : "The name of an anchor available on the page.",
      "comment" : "Appending 'rendering' + \"/\" + page.name + \"#\" + page.anchor should resolve to the anchor.",
      "requirements" : "Allows validation of hyperlinks from a derived IG to this IG without a local copy of the IG.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ImplementationGuide.manifest.page.anchor",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ImplementationGuide.manifest.image",
      "path" : "ImplementationGuide.manifest.image",
      "short" : "Image within the IG",
      "definition" : "Indicates a relative path to an image that exists within the IG.",
      "requirements" : "Allows validation of image links from a derived IG to this IG without a local copy of the IG.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ImplementationGuide.manifest.image",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "ImplementationGuide.manifest.other",
      "path" : "ImplementationGuide.manifest.other",
      "short" : "Additional linkable file in IG",
      "definition" : "Indicates the relative path of an additional non-page, non-image file that is part of the IG - e.g. zip, jar and similar files that could be the target of a hyperlink in a derived IG.",
      "requirements" : "Allows validation of links from a derived IG to this IG without a local copy of the IG.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "ImplementationGuide.manifest.other",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    }]
  },
  "differential" : {
    "element" : [{
      "id" : "ImplementationGuide",
      "path" : "ImplementationGuide",
      "short" : "A set of rules about how FHIR is used",
      "definition" : "A set of rules of how a particular interoperability or standards problem is solved - typically through the use of FHIR resources. This resource is used to gather all the parts of an implementation guide into a logical whole and to publish a computable definition of all the parts.",
      "min" : 0,
      "max" : "*",
      "constraint" : [{
        "key" : "ig-0",
        "severity" : "warning",
        "human" : "Name should be usable as an identifier for the module by machine processing applications such as code generation",
        "expression" : "name.matches('[A-Z]([A-Za-z0-9_]){0,254}')",
        "xpath" : "not(exists(f:name/@value)) or matches(f:name/@value, '[A-Z]([A-Za-z0-9_]){0,254}')"
      },
      {
        "key" : "ig-2",
        "severity" : "error",
        "human" : "If a resource has a fhirVersion, it must be oe of the versions defined for the Implementation Guide",
        "expression" : "definition.resource.fhirVersion.all(%context.fhirVersion contains $this)",
        "xpath" : "count(for $id in (f:resource/f:fhirVersion) return $id[not(ancestor::f:fhirVersion/@value=$id/@value)])=0"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "ImplementationGuide.url",
      "path" : "ImplementationGuide.url",
      "short" : "Canonical identifier for this implementation guide, represented as a URI (globally unique)",
      "definition" : "An absolute URI that is used to identify this implementation guide when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this implementation guide is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the implementation guide is stored on different servers.",
      "comment" : "Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred.  Multiple instances may share the same URL if they have a distinct version.\n\nThe determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author.  Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). \n\nIn some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found.",
      "requirements" : "Allows the implementation guide to be referenced by a single globally unique identifier. This is required to allow hosting Implementation Guides on multiple different servers, and to allow for the editorial process.",
      "alias" : ["url",
      "authoritative-url",
      "destination",
      "identity"],
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "uri"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Definition.url"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.identifier"
      }]
    },
    {
      "id" : "ImplementationGuide.version",
      "path" : "ImplementationGuide.version",
      "short" : "Business version of the implementation guide",
      "definition" : "The identifier that is used to identify this version of the implementation guide when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the implementation guide author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.",
      "comment" : "There may be different implementation guide instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the implementation guide with the format [url]|[version].",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Definition.version"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.version"
      }]
    },
    {
      "id" : "ImplementationGuide.name",
      "path" : "ImplementationGuide.name",
      "short" : "Name for this implementation guide (computer friendly)",
      "definition" : "A natural language name identifying the implementation guide. This name should be usable as an identifier for the module by machine processing applications such as code generation.",
      "comment" : "The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.",
      "requirements" : "Support human navigation and code generation.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "condition" : ["inv-0"],
      "isSummary" : true
    },
    {
      "id" : "ImplementationGuide.title",
      "path" : "ImplementationGuide.title",
      "short" : "Name for this implementation guide (human friendly)",
      "definition" : "A short, descriptive, user-friendly title for the implementation guide.",
      "comment" : "This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Definition.title"
      }]
    },
    {
      "id" : "ImplementationGuide.status",
      "path" : "ImplementationGuide.status",
      "short" : "draft | active | retired | unknown",
      "definition" : "The status of this implementation guide. Enables tracking the life-cycle of the content.",
      "comment" : "Allows filtering of implementation guides that are appropriate for use versus not.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : true,
      "isModifierReason" : "This is labeled as \"Is Modifier\" because applications should not use a retired {{title}} without due consideration",
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "PublicationStatus"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "required",
        "description" : "The lifecycle status of an artifact.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/publication-status|4.0.0"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Definition.status"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.status"
      }]
    },
    {
      "id" : "ImplementationGuide.experimental",
      "path" : "ImplementationGuide.experimental",
      "short" : "For testing purposes, not real usage",
      "definition" : "A Boolean value to indicate that this implementation guide is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.",
      "comment" : "Allows filtering of implementation guides that are appropriate for use versus not.",
      "requirements" : "Enables experimental content to be developed following the same lifecycle that would be used for a production-level implementation guide.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "boolean"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Definition.experimental"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.class"
      }]
    },
    {
      "id" : "ImplementationGuide.date",
      "path" : "ImplementationGuide.date",
      "short" : "Date last changed",
      "definition" : "The date  (and optionally time) when the implementation guide was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the implementation guide changes.",
      "comment" : "Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the implementation guide. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.",
      "alias" : ["Revision Date"],
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Definition.date"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.recorded"
      }]
    },
    {
      "id" : "ImplementationGuide.publisher",
      "path" : "ImplementationGuide.publisher",
      "short" : "Name of the publisher (organization or individual)",
      "definition" : "The name of the organization or individual that published the implementation guide.",
      "comment" : "Usually an organization but may be an individual. The publisher (or steward) of the implementation guide is the organization or individual primarily responsible for the maintenance and upkeep of the implementation guide. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the implementation guide. This item SHOULD be populated unless the information is available from context.",
      "requirements" : "Helps establish the \"authority/credibility\" of the implementation guide.  May also allow for contact.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Definition.publisher"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.witness"
      }]
    },
    {
      "id" : "ImplementationGuide.contact",
      "path" : "ImplementationGuide.contact",
      "short" : "Contact details for the publisher",
      "definition" : "Contact details to assist a user in finding and communicating with the publisher.",
      "comment" : "May be a web site, an email address, a telephone number, etc.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "ContactDetail"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Definition.contact"
      }]
    },
    {
      "id" : "ImplementationGuide.description",
      "path" : "ImplementationGuide.description",
      "short" : "Natural language description of the implementation guide",
      "definition" : "A free text natural language description of the implementation guide from a consumer's perspective.",
      "comment" : "This description can be used to capture details such as why the implementation guide was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the implementation guide as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the implementation guide is presumed to be the predominant language in the place the implementation guide was created).",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "markdown"
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Definition.description"
      }]
    },
    {
      "id" : "ImplementationGuide.useContext",
      "path" : "ImplementationGuide.useContext",
      "short" : "The context that the content is intended to support",
      "definition" : "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate implementation guide instances.",
      "comment" : "When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.",
      "requirements" : "Assist in searching for appropriate content.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "UsageContext"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Definition.useContext"
      }]
    },
    {
      "id" : "ImplementationGuide.jurisdiction",
      "path" : "ImplementationGuide.jurisdiction",
      "short" : "Intended jurisdiction for implementation guide (if applicable)",
      "definition" : "A legal or geographic region in which the implementation guide is intended to be used.",
      "comment" : "It may be possible for the implementation guide to be used in jurisdictions other than those for which it was originally designed or intended.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "Jurisdiction"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "extensible",
        "description" : "Countries and regions within which this artifact is targeted for use.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/jurisdiction"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Definition.jurisdiction"
      }]
    },
    {
      "id" : "ImplementationGuide.copyright",
      "path" : "ImplementationGuide.copyright",
      "short" : "Use and/or publishing restrictions",
      "definition" : "A copyright statement relating to the implementation guide and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the implementation guide.",
      "requirements" : "Consumers must be able to determine any legal restrictions on the use of the implementation guide and/or its content.",
      "alias" : ["License",
      "Restrictions"],
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "markdown"
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Definition.copyright"
      },
      {
        "identity" : "objimpl",
        "map" : "no-gen-base"
      }]
    },
    {
      "id" : "ImplementationGuide.packageId",
      "path" : "ImplementationGuide.packageId",
      "short" : "NPM Package name for IG",
      "definition" : "The NPM package name for this Implementation Guide, used in the NPM package distribution, which is the primary mechanism by which FHIR based tooling manages IG dependencies. This value must be globally unique, and should be assigned with care.",
      "comment" : "Many (if not all) IG publishing tools will require that this element be present. For implementation guides published through HL7 or the FHIR foundation, the FHIR product director assigns package IDs.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "id"
      }],
      "isSummary" : true
    },
    {
      "id" : "ImplementationGuide.license",
      "path" : "ImplementationGuide.license",
      "short" : "SPDX license code for this IG (or not-open-source)",
      "definition" : "The license that applies to this Implementation Guide, using an SPDX license code, or 'not-open-source'.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "SPDXLicense"
        }],
        "strength" : "required",
        "description" : "The license that applies to an Implementation Guide (using an SPDX license Identifiers, or 'not-open-source'). The binding is required but new SPDX license Identifiers are allowed to be used (https://spdx.org/licenses/).",
        "valueSet" : "http://hl7.org/fhir/ValueSet/spdx-license|4.0.0"
      }
    },
    {
      "id" : "ImplementationGuide.fhirVersion",
      "path" : "ImplementationGuide.fhirVersion",
      "short" : "FHIR Version(s) this Implementation Guide targets",
      "definition" : "The version(s) of the FHIR specification that this ImplementationGuide targets - e.g. describes how to use. The value of this element is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 4.0.0. for this version.",
      "comment" : "Most implementation guides target a single version - e.g. they describe how to use a particular version, and the profiles and examples etc are valid for that version. But some implementation guides describe how to use multiple different versions of FHIR to solve the same problem, or in concert with each other. Typically, the requirement to support multiple versions arises as implementation matures and different implementation communities are stuck at different versions by regulation or market dynamics.",
      "min" : 1,
      "max" : "*",
      "type" : [{
        "code" : "code"
      }],
      "isSummary" : true,
      "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.0"
      }
    },
    {
      "id" : "ImplementationGuide.dependsOn",
      "path" : "ImplementationGuide.dependsOn",
      "short" : "Another Implementation guide this depends on",
      "definition" : "Another implementation guide that this implementation depends on. Typically, an implementation guide uses value sets, profiles etc.defined in other implementation guides.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "isSummary" : true
    },
    {
      "id" : "ImplementationGuide.dependsOn.uri",
      "path" : "ImplementationGuide.dependsOn.uri",
      "short" : "Identity of the IG that this depends on",
      "definition" : "A canonical reference to the Implementation guide for the dependency.",
      "comment" : "Usually, A canonical reference to the implementation guide is the same as the master location at which the implementation guide is published.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "canonical",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ImplementationGuide"]
      }],
      "isSummary" : true
    },
    {
      "id" : "ImplementationGuide.dependsOn.packageId",
      "path" : "ImplementationGuide.dependsOn.packageId",
      "short" : "NPM Package name for IG this depends on",
      "definition" : "The NPM package name for the Implementation Guide that this IG depends on.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "id"
      }],
      "isSummary" : true
    },
    {
      "id" : "ImplementationGuide.dependsOn.version",
      "path" : "ImplementationGuide.dependsOn.version",
      "short" : "Version of the IG",
      "definition" : "The version of the IG that is depended on, when the correct version is required to understand the IG correctly.",
      "comment" : "This follows the syntax of the NPM packaging version field - see [[reference]].",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "isSummary" : true
    },
    {
      "id" : "ImplementationGuide.global",
      "path" : "ImplementationGuide.global",
      "short" : "Profiles that apply globally",
      "definition" : "A set of profiles that all resources covered by this implementation guide must conform to.",
      "comment" : "See [Default Profiles](implementationguide.html#default) for a discussion of which resources are 'covered' by an implementation guide.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "isSummary" : true
    },
    {
      "id" : "ImplementationGuide.global.type",
      "path" : "ImplementationGuide.global.type",
      "short" : "Type this profile applies to",
      "definition" : "The type of resource that all instances must conform to.",
      "comment" : "The type must match that of the profile that is referred to but is made explicit here as a denormalization so that a system processing the implementation guide resource knows which resources the profile applies to even if the profile itself is not available.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "isSummary" : true,
      "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.0"
      }
    },
    {
      "id" : "ImplementationGuide.global.profile",
      "path" : "ImplementationGuide.global.profile",
      "short" : "Profile that all resources must conform to",
      "definition" : "A reference to the profile that all instances must conform to.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "canonical",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/StructureDefinition"]
      }],
      "isSummary" : true
    },
    {
      "id" : "ImplementationGuide.definition",
      "path" : "ImplementationGuide.definition",
      "short" : "Information needed to build the IG",
      "definition" : "The information needed by an IG publisher tool to publish the whole implementation guide.",
      "comment" : "Principally, this consists of information abuot source resource and file locations, and build parameters and templates.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ig-1",
        "severity" : "error",
        "human" : "If a resource has a groupingId, it must refer to a grouping defined in the Implementation Guide",
        "expression" : "resource.groupingId.all(%context.grouping.id contains $this)",
        "xpath" : "count(for $id in (f:resource/f:groupingId) return $id[not(ancestor::f:grouping/@id=$id/@value)])=0"
      }]
    },
    {
      "id" : "ImplementationGuide.definition.grouping",
      "path" : "ImplementationGuide.definition.grouping",
      "short" : "Grouping used to present related resources in the IG",
      "definition" : "A logical group of resources. Logical groups can be used when building pages.",
      "comment" : "Groupings are arbitrary sub-divisions of content. Typically, they are used to help build Table of Contents automatically.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "ImplementationGuide.definition.grouping.name",
      "path" : "ImplementationGuide.definition.grouping.name",
      "short" : "Descriptive name for the package",
      "definition" : "The human-readable title to display for the package of resources when rendering the implementation guide.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }]
    },
    {
      "id" : "ImplementationGuide.definition.grouping.description",
      "path" : "ImplementationGuide.definition.grouping.description",
      "short" : "Human readable text describing the package",
      "definition" : "Human readable text describing the package.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }]
    },
    {
      "id" : "ImplementationGuide.definition.resource",
      "path" : "ImplementationGuide.definition.resource",
      "short" : "Resource in the implementation guide",
      "definition" : "A resource that is part of the implementation guide. Conformance resources (value set, structure definition, capability statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource.",
      "min" : 1,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "ImplementationGuide.definition.resource.reference",
      "path" : "ImplementationGuide.definition.resource.reference",
      "short" : "Location of the resource",
      "definition" : "Where this resource is found.",
      "comment" : "Usually this is a relative URL that locates the resource within the implementation guide. If you authoring an implementation guide, and will publish it using the FHIR publication tooling, use a URI that may point to a resource, or to one of various alternative representations (e.g. spreadsheet). The tooling will convert this when it publishes it.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
      }]
    },
    {
      "id" : "ImplementationGuide.definition.resource.fhirVersion",
      "path" : "ImplementationGuide.definition.resource.fhirVersion",
      "short" : "Versions this applies to (if different to